Class CartModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.core.model.order.AbstractOrderModel
de.hybris.platform.core.model.order.CartModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DefaultProductConfigCloneAbstractOrderHookTest.CartModelSubClass,InMemoryCartModel
Generated model class for type Cart first defined at extension core.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofCart.cartToOrderCronJobattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofCart.importStatusattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofCart.lastModifiedEntriesattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofCart.processingFlashBuyOrderattribute defined at extensiontimedaccesspromotionengineservices.static final StringGenerated constant - Attribute key ofCart.quoteReferenceattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofCart.savedByattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofCart.saveTimeattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofCart.sessionIdattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofCart.visibleattribute defined at extensionselectivecartservices.Fields inherited from class de.hybris.platform.core.model.order.AbstractOrderModel
_ABSTRACTMASTERORDER2ABSTRACTCHILDORDERRELATION, _B2BDOCUMENT2ABSTRACTORDER, _B2BUNIT2ABSTRACTORDERS, _CONSIGNMENTORDERRELATION, ALLPROMOTIONRESULTS, APPLIEDCOUPONCODES, APPLIEDVOUCHERCODES, B2BCOMMENTS, BILLINGTIME, CALCULATED, CARTIDREFERENCE, CHILDREN, CHINESEPAYMENTINFO, CODE, CONSENTREFERENCE, CONSIGNMENTS, CURRENCY, DATE, DELIVERYADDRESS, DELIVERYCOST, DELIVERYMODE, DELIVERYSTATUS, DELIVERYTIMESLOT, DESCRIPTION, DISCOUNTS, DISCOUNTSINCLUDEDELIVERYCOST, DISCOUNTSINCLUDEPAYMENTCOST, DOCUMENT, ENTRIES, ENTRYGROUPS, EUROPE1PRICEFACTORY_UDG, EUROPE1PRICEFACTORY_UPG, EUROPE1PRICEFACTORY_UTG, EXPIRATIONTIME, EXPORTSTATUS, GLOBALDISCOUNTVALUES, GLOBALDISCOUNTVALUESINTERNAL, GUID, LOCALE, NAME, NET, PARENT, PAYMENTADDRESS, PAYMENTCOST, PAYMENTINFO, PAYMENTMODE, PAYMENTSTATUS, PAYMENTTRANSACTIONS, PAYMENTTYPE, PERMISSIONRESULTS, PREVIOUSDELIVERYMODE, PROMOTIONORDERRESTRICTIONS, PUNCHOUTORDER, PURCHASEORDERNUMBER, QUOTEDISCOUNTVALUESINTERNAL, QUOTEEXPIRATIONDATE, SITE, STATUS, STATUSINFO, STORE, SUBTOTAL, TAXINVOICE, TOTALDISCOUNTS, TOTALPRICE, TOTALTAX, TOTALTAXVALUES, TOTALTAXVALUESINTERNAL, UNIT, USER, WORKFLOWFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.CartModel(CurrencyModel _currency, Date _date, ItemModel _owner, UserModel _user) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCartModel(CurrencyModel _currency, Date _date, UserModel _user) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theCart.cartToOrderCronJobattribute defined at extensionbasecommerce.Generated method - Getter of theCart.importStatusattribute defined at extensionacceleratorservices.Generated method - Getter of theCart.lastModifiedEntriesattribute defined at extensionconfigurablebundleservices.Generated method - Getter of theCart.quoteReferenceattribute defined at extensioncommerceservices.Generated method - Getter of theCart.savedByattribute defined at extensioncommerceservices.Generated method - Getter of theCart.saveTimeattribute defined at extensioncommerceservices.Generated method - Getter of theCart.sessionIdattribute defined at extensioncore.Generated method - Getter of theCart.visibleattribute defined at extensionselectivecartservices.booleanGenerated method - Getter of theCart.processingFlashBuyOrderattribute defined at extensiontimedaccesspromotionengineservices.voidGenerated method - Setter ofCart.cartToOrderCronJobattribute defined at extensionbasecommerce.voidsetImportStatus(ImportStatus value) Generated method - Setter ofCart.importStatusattribute defined at extensionacceleratorservices.voidGenerated method - Setter ofCart.lastModifiedEntriesattribute defined at extensionconfigurablebundleservices.voidsetProcessingFlashBuyOrder(boolean value) Generated method - Setter ofCart.processingFlashBuyOrderattribute defined at extensiontimedaccesspromotionengineservices.voidsetQuoteReference(QuoteModel value) Generated method - Setter ofCart.quoteReferenceattribute defined at extensioncommerceservices.voidsetSavedBy(UserModel value) Generated method - Setter ofCart.savedByattribute defined at extensioncommerceservices.voidsetSaveTime(Date value) Generated method - Setter ofCart.saveTimeattribute defined at extensioncommerceservices.voidsetSessionId(String value) Generated method - Setter ofCart.sessionIdattribute defined at extensioncore.voidsetVisible(Boolean value) Generated method - Setter ofCart.visibleattribute defined at extensionselectivecartservices.Methods inherited from class de.hybris.platform.core.model.order.AbstractOrderModel
getAllPromotionResults, getAppliedCouponCodes, getB2bcomments, getBillingTime, getCalculated, getCartIdReference, getChildren, getChinesePaymentInfo, getCode, getConsentReference, getConsignments, getCurrency, getDate, getDeliveryAddress, getDeliveryCost, getDeliveryMode, getDeliveryStatus, getDeliveryTimeSlot, getDescription, getDiscounts, getDocument, getEntries, getEntryGroups, getEurope1PriceFactory_UDG, getEurope1PriceFactory_UPG, getEurope1PriceFactory_UTG, getExpirationTime, getExportStatus, getGlobalDiscountValues, getGlobalDiscountValuesInternal, getGuid, getLocale, getName, getNet, getParent, getPaymentAddress, getPaymentCost, getPaymentInfo, getPaymentMode, getPaymentStatus, getPaymentTransactions, getPaymentType, getPermissionResults, getPreviousDeliveryMode, getPromotionOrderRestrictions, getPunchOutOrder, getPurchaseOrderNumber, getQuoteDiscountValuesInternal, getQuoteExpirationDate, getSite, getStatus, getStatusInfo, getStore, getSubtotal, getTaxInvoice, getTotalDiscounts, getTotalPrice, getTotalTax, getTotalTaxValues, getTotalTaxValuesInternal, getUnit, getUser, getWorkflow, isDiscountsIncludeDeliveryCost, isDiscountsIncludePaymentCost, setAllPromotionResults, setAppliedCouponCodes, setB2bcomments, setBillingTime, setCalculated, setCartIdReference, setChildren, setChinesePaymentInfo, setCode, setConsentReference, setConsignments, setCurrency, setDate, setDeliveryAddress, setDeliveryCost, setDeliveryMode, setDeliveryStatus, setDeliveryTimeSlot, setDescription, setDiscounts, setDiscountsIncludeDeliveryCost, setDiscountsIncludePaymentCost, setDocument, setEntries, setEntryGroups, setEurope1PriceFactory_UDG, setEurope1PriceFactory_UPG, setEurope1PriceFactory_UTG, setExpirationTime, setExportStatus, setGlobalDiscountValues, setGlobalDiscountValuesInternal, setGuid, setLocale, setName, setNet, setParent, setPaymentAddress, setPaymentCost, setPaymentInfo, setPaymentMode, setPaymentStatus, setPaymentTransactions, setPaymentType, setPermissionResults, setPreviousDeliveryMode, setPromotionOrderRestrictions, setPunchOutOrder, setPurchaseOrderNumber, setQuoteDiscountValuesInternal, setQuoteExpirationDate, setSite, setStatus, setStatusInfo, setStore, setSubtotal, setTaxInvoice, setTotalDiscounts, setTotalPrice, setTotalTax, setTotalTaxValues, setTotalTaxValuesInternal, setUnit, setUser, setWorkflowMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
SESSIONID
Generated constant - Attribute key ofCart.sessionIdattribute defined at extensioncore.- See Also:
-
CARTTOORDERCRONJOB
Generated constant - Attribute key ofCart.cartToOrderCronJobattribute defined at extensionbasecommerce.- See Also:
-
SAVETIME
Generated constant - Attribute key ofCart.saveTimeattribute defined at extensioncommerceservices.- See Also:
-
SAVEDBY
Generated constant - Attribute key ofCart.savedByattribute defined at extensioncommerceservices.- See Also:
-
QUOTEREFERENCE
Generated constant - Attribute key ofCart.quoteReferenceattribute defined at extensioncommerceservices.- See Also:
-
LASTMODIFIEDENTRIES
Generated constant - Attribute key ofCart.lastModifiedEntriesattribute defined at extensionconfigurablebundleservices.- See Also:
-
IMPORTSTATUS
Generated constant - Attribute key ofCart.importStatusattribute defined at extensionacceleratorservices.- See Also:
-
PROCESSINGFLASHBUYORDER
Generated constant - Attribute key ofCart.processingFlashBuyOrderattribute defined at extensiontimedaccesspromotionengineservices.- See Also:
-
VISIBLE
Generated constant - Attribute key ofCart.visibleattribute defined at extensionselectivecartservices.- See Also:
-
-
Constructor Details
-
CartModel
public CartModel()Generated constructor - Default constructor for generic creation. -
CartModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CartModel
@Deprecated(since="4.1.1", forRemoval=true) public CartModel(CurrencyModel _currency, Date _date, UserModel _user) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_currency- initial attribute declared by typeAbstractOrderat extensioncore_date- initial attribute declared by typeAbstractOrderat extensioncore_user- initial attribute declared by typeCartat extensioncore
-
CartModel
@Deprecated(since="4.1.1", forRemoval=true) public CartModel(CurrencyModel _currency, Date _date, ItemModel _owner, UserModel _user) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_currency- initial attribute declared by typeAbstractOrderat extensioncore_date- initial attribute declared by typeAbstractOrderat extensioncore_owner- initial attribute declared by typeItemat extensioncore_user- initial attribute declared by typeCartat extensioncore
-
-
Method Details
-
getCartToOrderCronJob
@Accessor(qualifier="cartToOrderCronJob", type=GETTER) public Collection<CartToOrderCronJobModel> getCartToOrderCronJob()Generated method - Getter of theCart.cartToOrderCronJobattribute defined at extensionbasecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the cartToOrderCronJob
-
getImportStatus
Generated method - Getter of theCart.importStatusattribute defined at extensionacceleratorservices.- Returns:
- the importStatus - set the status of the import cart process
-
getLastModifiedEntries
@Accessor(qualifier="lastModifiedEntries", type=GETTER) public Collection<CartEntryModel> getLastModifiedEntries()Generated method - Getter of theCart.lastModifiedEntriesattribute defined at extensionconfigurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the lastModifiedEntries
-
getQuoteReference
Generated method - Getter of theCart.quoteReferenceattribute defined at extensioncommerceservices.- Returns:
- the quoteReference - The reference to quote from which the cart was created.
-
getSavedBy
Generated method - Getter of theCart.savedByattribute defined at extensioncommerceservices.- Returns:
- the savedBy - The user who saved the cart.
-
getSaveTime
Generated method - Getter of theCart.saveTimeattribute defined at extensioncommerceservices.- Returns:
- the saveTime - The date/time when the cart was saved.
-
getSessionId
Generated method - Getter of theCart.sessionIdattribute defined at extensioncore.- Returns:
- the sessionId
-
getVisible
Generated method - Getter of theCart.visibleattribute defined at extensionselectivecartservices.- Returns:
- the visible - set the status of the cart visible
-
isProcessingFlashBuyOrder
@Accessor(qualifier="processingFlashBuyOrder", type=GETTER) public boolean isProcessingFlashBuyOrder()Generated method - Getter of theCart.processingFlashBuyOrderattribute defined at extensiontimedaccesspromotionengineservices.- Returns:
- the processingFlashBuyOrder - set the status for the flashbuy
-
setCartToOrderCronJob
@Accessor(qualifier="cartToOrderCronJob", type=SETTER) public void setCartToOrderCronJob(Collection<CartToOrderCronJobModel> value) Generated method - Setter ofCart.cartToOrderCronJobattribute defined at extensionbasecommerce.- Parameters:
value- the cartToOrderCronJob
-
setImportStatus
Generated method - Setter ofCart.importStatusattribute defined at extensionacceleratorservices.- Parameters:
value- the importStatus - set the status of the import cart process
-
setLastModifiedEntries
@Accessor(qualifier="lastModifiedEntries", type=SETTER) public void setLastModifiedEntries(Collection<CartEntryModel> value) Generated method - Setter ofCart.lastModifiedEntriesattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the lastModifiedEntries
-
setProcessingFlashBuyOrder
@Accessor(qualifier="processingFlashBuyOrder", type=SETTER) public void setProcessingFlashBuyOrder(boolean value) Generated method - Setter ofCart.processingFlashBuyOrderattribute defined at extensiontimedaccesspromotionengineservices.- Parameters:
value- the processingFlashBuyOrder - set the status for the flashbuy
-
setQuoteReference
Generated method - Setter ofCart.quoteReferenceattribute defined at extensioncommerceservices.- Parameters:
value- the quoteReference - The reference to quote from which the cart was created.
-
setSavedBy
Generated method - Setter ofCart.savedByattribute defined at extensioncommerceservices.- Parameters:
value- the savedBy - The user who saved the cart.
-
setSaveTime
Generated method - Setter ofCart.saveTimeattribute defined at extensioncommerceservices.- Parameters:
value- the saveTime - The date/time when the cart was saved.
-
setSessionId
Generated method - Setter ofCart.sessionIdattribute defined at extensioncore.- Parameters:
value- the sessionId
-
setVisible
Generated method - Setter ofCart.visibleattribute defined at extensionselectivecartservices.- Parameters:
value- the visible - set the status of the cart visible
-