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:
java.io.Serializable
- Direct Known Subclasses:
InMemoryCartModel,ProductConfigCloneAbstractOrderStrategyImplTest.CartModelSubClass
public class CartModel extends AbstractOrderModel
Generated model class for type Cart first defined at extension core.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCARTTOORDERCRONJOBGenerated constant - Attribute key ofCart.cartToOrderCronJobattribute defined at extensionbasecommerce.static java.lang.StringIMPORTSTATUSGenerated constant - Attribute key ofCart.importStatusattribute defined at extensionacceleratorservices.static java.lang.StringLASTMODIFIEDENTRIESGenerated constant - Attribute key ofCart.lastModifiedEntriesattribute defined at extensionconfigurablebundleservices.static java.lang.StringPROCESSINGFLASHBUYORDERGenerated constant - Attribute key ofCart.processingFlashBuyOrderattribute defined at extensiontimedaccesspromotionengineservices.static java.lang.StringQUOTEREFERENCEGenerated constant - Attribute key ofCart.quoteReferenceattribute defined at extensioncommerceservices.static java.lang.StringSAVEDBYGenerated constant - Attribute key ofCart.savedByattribute defined at extensioncommerceservices.static java.lang.StringSAVETIMEGenerated constant - Attribute key ofCart.saveTimeattribute defined at extensioncommerceservices.static java.lang.StringSESSIONIDGenerated constant - Attribute key ofCart.sessionIdattribute defined at extensioncore.static java.lang.StringVISIBLEGenerated 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, DELIVERYFROMADDRESS, DELIVERYMODE, DELIVERYSTATUS, DELIVERYTIMESLOT, DESCRIPTION, DISCOUNTS, DISCOUNTSINCLUDEDELIVERYCOST, DISCOUNTSINCLUDEPAYMENTCOST, DOCUMENT, ENTRIES, ENTRYGROUPS, EUROPE1PRICEFACTORY_UDG, EUROPE1PRICEFACTORY_UPG, EUROPE1PRICEFACTORY_UTG, EXPIRATIONTIME, EXPORTSTATUS, EXTERNALDISCOUNTVALUES, GLOBALDISCOUNTVALUES, GLOBALDISCOUNTVALUESINTERNAL, GUID, LOCALE, NAME, NET, PARENT, PAYMENTADDRESS, PAYMENTCOST, PAYMENTINFO, PAYMENTMODE, PAYMENTSTATUS, PAYMENTTRANSACTIONS, PAYMENTTYPE, PERMISSIONRESULTS, PREVIOUSDELIVERYMODE, PROMOTIONORDERRESTRICTIONS, PUNCHOUTORDER, PURCHASEORDERNUMBER, QUOTEDISCOUNTVALUESINTERNAL, QUOTEEXPIRATIONDATE, REVENUECLOUDORDERID, SITE, STATUS, STATUSINFO, STORE, SUBTOTAL, TAXINVOICE, TOTALDISCOUNTS, TOTALPRICE, TOTALTAX, TOTALTAXVALUES, TOTALTAXVALUESINTERNAL, UNIT, USER, WORKFLOW, YMKTTRACKINGID
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description CartModel()Generated constructor - Default constructor for generic creation.CartModel(CurrencyModel _currency, java.util.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, java.util.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 parametersCartModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<CartToOrderCronJobModel>getCartToOrderCronJob()Generated method - Getter of theCart.cartToOrderCronJobattribute defined at extensionbasecommerce.ImportStatusgetImportStatus()Generated method - Getter of theCart.importStatusattribute defined at extensionacceleratorservices.java.util.Collection<CartEntryModel>getLastModifiedEntries()Generated method - Getter of theCart.lastModifiedEntriesattribute defined at extensionconfigurablebundleservices.QuoteModelgetQuoteReference()Generated method - Getter of theCart.quoteReferenceattribute defined at extensioncommerceservices.UserModelgetSavedBy()Generated method - Getter of theCart.savedByattribute defined at extensioncommerceservices.java.util.DategetSaveTime()Generated method - Getter of theCart.saveTimeattribute defined at extensioncommerceservices.java.lang.StringgetSessionId()Generated method - Getter of theCart.sessionIdattribute defined at extensioncore.java.lang.BooleangetVisible()Generated method - Getter of theCart.visibleattribute defined at extensionselectivecartservices.booleanisProcessingFlashBuyOrder()Generated method - Getter of theCart.processingFlashBuyOrderattribute defined at extensiontimedaccesspromotionengineservices.voidsetCartToOrderCronJob(java.util.Collection<CartToOrderCronJobModel> value)Generated method - Setter ofCart.cartToOrderCronJobattribute defined at extensionbasecommerce.voidsetImportStatus(ImportStatus value)Generated method - Setter ofCart.importStatusattribute defined at extensionacceleratorservices.voidsetLastModifiedEntries(java.util.Collection<CartEntryModel> value)Generated 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(java.util.Date value)Generated method - Setter ofCart.saveTimeattribute defined at extensioncommerceservices.voidsetSessionId(java.lang.String value)Generated method - Setter ofCart.sessionIdattribute defined at extensioncore.voidsetVisible(java.lang.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, getDeliveryFromAddress, getDeliveryMode, getDeliveryStatus, getDeliveryTimeSlot, getDescription, getDiscounts, getDocument, getEntries, getEntryGroups, getEurope1PriceFactory_UDG, getEurope1PriceFactory_UPG, getEurope1PriceFactory_UTG, getExpirationTime, getExportStatus, getExternalDiscountValues, getGlobalDiscountValues, getGlobalDiscountValuesInternal, getGuid, getLocale, getName, getNet, getParent, getPaymentAddress, getPaymentCost, getPaymentInfo, getPaymentMode, getPaymentStatus, getPaymentTransactions, getPaymentType, getPermissionResults, getPreviousDeliveryMode, getPromotionOrderRestrictions, getPunchOutOrder, getPurchaseOrderNumber, getQuoteDiscountValuesInternal, getQuoteExpirationDate, getRevenueCloudOrderId, getSite, getStatus, getStatusInfo, getStore, getSubtotal, getTaxInvoice, getTotalDiscounts, getTotalPrice, getTotalTax, getTotalTaxValues, getTotalTaxValuesInternal, getUnit, getUser, getWorkflow, getYmktTrackingId, isDiscountsIncludeDeliveryCost, isDiscountsIncludePaymentCost, setAllPromotionResults, setAppliedCouponCodes, setB2bcomments, setBillingTime, setCalculated, setCartIdReference, setChildren, setChinesePaymentInfo, setCode, setConsentReference, setConsignments, setCurrency, setDate, setDeliveryAddress, setDeliveryCost, setDeliveryFromAddress, setDeliveryMode, setDeliveryStatus, setDeliveryTimeSlot, setDescription, setDiscounts, setDiscountsIncludeDeliveryCost, setDiscountsIncludePaymentCost, setDocument, setEntries, setEntryGroups, setEurope1PriceFactory_UDG, setEurope1PriceFactory_UPG, setEurope1PriceFactory_UTG, setExpirationTime, setExportStatus, setExternalDiscountValues, setGlobalDiscountValues, setGlobalDiscountValuesInternal, setGuid, setLocale, setName, setNet, setParent, setPaymentAddress, setPaymentCost, setPaymentInfo, setPaymentMode, setPaymentStatus, setPaymentTransactions, setPaymentType, setPermissionResults, setPreviousDeliveryMode, setPromotionOrderRestrictions, setPunchOutOrder, setPurchaseOrderNumber, setQuoteDiscountValuesInternal, setQuoteExpirationDate, setRevenueCloudOrderId, setSite, setStatus, setStatusInfo, setStore, setSubtotal, setTaxInvoice, setTotalDiscounts, setTotalPrice, setTotalTax, setTotalTaxValues, setTotalTaxValuesInternal, setUnit, setUser, setWorkflow, setYmktTrackingId
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods 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 Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
SESSIONID
public static final java.lang.String SESSIONID
Generated constant - Attribute key ofCart.sessionIdattribute defined at extensioncore.- See Also:
- Constant Field Values
-
CARTTOORDERCRONJOB
public static final java.lang.String CARTTOORDERCRONJOB
Generated constant - Attribute key ofCart.cartToOrderCronJobattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
SAVETIME
public static final java.lang.String SAVETIME
Generated constant - Attribute key ofCart.saveTimeattribute defined at extensioncommerceservices.- See Also:
- Constant Field Values
-
SAVEDBY
public static final java.lang.String SAVEDBY
Generated constant - Attribute key ofCart.savedByattribute defined at extensioncommerceservices.- See Also:
- Constant Field Values
-
QUOTEREFERENCE
public static final java.lang.String QUOTEREFERENCE
Generated constant - Attribute key ofCart.quoteReferenceattribute defined at extensioncommerceservices.- See Also:
- Constant Field Values
-
LASTMODIFIEDENTRIES
public static final java.lang.String LASTMODIFIEDENTRIES
Generated constant - Attribute key ofCart.lastModifiedEntriesattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
IMPORTSTATUS
public static final java.lang.String IMPORTSTATUS
Generated constant - Attribute key ofCart.importStatusattribute defined at extensionacceleratorservices.- See Also:
- Constant Field Values
-
PROCESSINGFLASHBUYORDER
public static final java.lang.String PROCESSINGFLASHBUYORDER
Generated constant - Attribute key ofCart.processingFlashBuyOrderattribute defined at extensiontimedaccesspromotionengineservices.- See Also:
- Constant Field Values
-
VISIBLE
public static final java.lang.String VISIBLE
Generated constant - Attribute key ofCart.visibleattribute defined at extensionselectivecartservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CartModel
public CartModel()
Generated constructor - Default constructor for generic creation.
-
CartModel
public CartModel(ItemModelContext ctx)
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, java.util.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, java.util.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 Detail
-
getCartToOrderCronJob
@Accessor(qualifier="cartToOrderCronJob", type=GETTER) public java.util.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
@Accessor(qualifier="importStatus", type=GETTER) public ImportStatus 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 java.util.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
@Accessor(qualifier="quoteReference", type=GETTER) public QuoteModel getQuoteReference()
Generated method - Getter of theCart.quoteReferenceattribute defined at extensioncommerceservices.- Returns:
- the quoteReference - The reference to quote from which the cart was created.
-
getSavedBy
@Accessor(qualifier="savedBy", type=GETTER) public UserModel getSavedBy()
Generated method - Getter of theCart.savedByattribute defined at extensioncommerceservices.- Returns:
- the savedBy - The user who saved the cart.
-
getSaveTime
@Accessor(qualifier="saveTime", type=GETTER) public java.util.Date getSaveTime()
Generated method - Getter of theCart.saveTimeattribute defined at extensioncommerceservices.- Returns:
- the saveTime - The date/time when the cart was saved.
-
getSessionId
@Accessor(qualifier="sessionId", type=GETTER) public java.lang.String getSessionId()
Generated method - Getter of theCart.sessionIdattribute defined at extensioncore.- Returns:
- the sessionId
-
getVisible
@Accessor(qualifier="visible", type=GETTER) public java.lang.Boolean 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(java.util.Collection<CartToOrderCronJobModel> value)
Generated method - Setter ofCart.cartToOrderCronJobattribute defined at extensionbasecommerce.- Parameters:
value- the cartToOrderCronJob
-
setImportStatus
@Accessor(qualifier="importStatus", type=SETTER) public void setImportStatus(ImportStatus value)
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(java.util.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
@Accessor(qualifier="quoteReference", type=SETTER) public void setQuoteReference(QuoteModel value)
Generated method - Setter ofCart.quoteReferenceattribute defined at extensioncommerceservices.- Parameters:
value- the quoteReference - The reference to quote from which the cart was created.
-
setSavedBy
@Accessor(qualifier="savedBy", type=SETTER) public void setSavedBy(UserModel value)
Generated method - Setter ofCart.savedByattribute defined at extensioncommerceservices.- Parameters:
value- the savedBy - The user who saved the cart.
-
setSaveTime
@Accessor(qualifier="saveTime", type=SETTER) public void setSaveTime(java.util.Date value)
Generated method - Setter ofCart.saveTimeattribute defined at extensioncommerceservices.- Parameters:
value- the saveTime - The date/time when the cart was saved.
-
setSessionId
@Accessor(qualifier="sessionId", type=SETTER) public void setSessionId(java.lang.String value)
Generated method - Setter ofCart.sessionIdattribute defined at extensioncore.- Parameters:
value- the sessionId
-
-