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
_TYPECODE
Generated model type code constant.static java.lang.String
CARTTOORDERCRONJOB
Generated constant - Attribute key ofCart.cartToOrderCronJob
attribute defined at extensionbasecommerce
.static java.lang.String
IMPORTSTATUS
Generated constant - Attribute key ofCart.importStatus
attribute defined at extensionacceleratorservices
.static java.lang.String
LASTMODIFIEDENTRIES
Generated constant - Attribute key ofCart.lastModifiedEntries
attribute defined at extensionconfigurablebundleservices
.static java.lang.String
PROCESSINGFLASHBUYORDER
Generated constant - Attribute key ofCart.processingFlashBuyOrder
attribute defined at extensiontimedaccesspromotionengineservices
.static java.lang.String
QUOTEREFERENCE
Generated constant - Attribute key ofCart.quoteReference
attribute defined at extensioncommerceservices
.static java.lang.String
SAVEDBY
Generated constant - Attribute key ofCart.savedBy
attribute defined at extensioncommerceservices
.static java.lang.String
SAVETIME
Generated constant - Attribute key ofCart.saveTime
attribute defined at extensioncommerceservices
.static java.lang.String
SESSIONID
Generated constant - Attribute key ofCart.sessionId
attribute defined at extensioncore
.static java.lang.String
VISIBLE
Generated constant - Attribute key ofCart.visible
attribute 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.cartToOrderCronJob
attribute defined at extensionbasecommerce
.ImportStatus
getImportStatus()
Generated method - Getter of theCart.importStatus
attribute defined at extensionacceleratorservices
.java.util.Collection<CartEntryModel>
getLastModifiedEntries()
Generated method - Getter of theCart.lastModifiedEntries
attribute defined at extensionconfigurablebundleservices
.QuoteModel
getQuoteReference()
Generated method - Getter of theCart.quoteReference
attribute defined at extensioncommerceservices
.UserModel
getSavedBy()
Generated method - Getter of theCart.savedBy
attribute defined at extensioncommerceservices
.java.util.Date
getSaveTime()
Generated method - Getter of theCart.saveTime
attribute defined at extensioncommerceservices
.java.lang.String
getSessionId()
Generated method - Getter of theCart.sessionId
attribute defined at extensioncore
.java.lang.Boolean
getVisible()
Generated method - Getter of theCart.visible
attribute defined at extensionselectivecartservices
.boolean
isProcessingFlashBuyOrder()
Generated method - Getter of theCart.processingFlashBuyOrder
attribute defined at extensiontimedaccesspromotionengineservices
.void
setCartToOrderCronJob(java.util.Collection<CartToOrderCronJobModel> value)
Generated method - Setter ofCart.cartToOrderCronJob
attribute defined at extensionbasecommerce
.void
setImportStatus(ImportStatus value)
Generated method - Setter ofCart.importStatus
attribute defined at extensionacceleratorservices
.void
setLastModifiedEntries(java.util.Collection<CartEntryModel> value)
Generated method - Setter ofCart.lastModifiedEntries
attribute defined at extensionconfigurablebundleservices
.void
setProcessingFlashBuyOrder(boolean value)
Generated method - Setter ofCart.processingFlashBuyOrder
attribute defined at extensiontimedaccesspromotionengineservices
.void
setQuoteReference(QuoteModel value)
Generated method - Setter ofCart.quoteReference
attribute defined at extensioncommerceservices
.void
setSavedBy(UserModel value)
Generated method - Setter ofCart.savedBy
attribute defined at extensioncommerceservices
.void
setSaveTime(java.util.Date value)
Generated method - Setter ofCart.saveTime
attribute defined at extensioncommerceservices
.void
setSessionId(java.lang.String value)
Generated method - Setter ofCart.sessionId
attribute defined at extensioncore
.void
setVisible(java.lang.Boolean value)
Generated method - Setter ofCart.visible
attribute 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.sessionId
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
CARTTOORDERCRONJOB
public static final java.lang.String CARTTOORDERCRONJOB
Generated constant - Attribute key ofCart.cartToOrderCronJob
attribute defined at extensionbasecommerce
.- See Also:
- Constant Field Values
-
SAVETIME
public static final java.lang.String SAVETIME
Generated constant - Attribute key ofCart.saveTime
attribute defined at extensioncommerceservices
.- See Also:
- Constant Field Values
-
SAVEDBY
public static final java.lang.String SAVEDBY
Generated constant - Attribute key ofCart.savedBy
attribute defined at extensioncommerceservices
.- See Also:
- Constant Field Values
-
QUOTEREFERENCE
public static final java.lang.String QUOTEREFERENCE
Generated constant - Attribute key ofCart.quoteReference
attribute defined at extensioncommerceservices
.- See Also:
- Constant Field Values
-
LASTMODIFIEDENTRIES
public static final java.lang.String LASTMODIFIEDENTRIES
Generated constant - Attribute key ofCart.lastModifiedEntries
attribute defined at extensionconfigurablebundleservices
.- See Also:
- Constant Field Values
-
IMPORTSTATUS
public static final java.lang.String IMPORTSTATUS
Generated constant - Attribute key ofCart.importStatus
attribute defined at extensionacceleratorservices
.- See Also:
- Constant Field Values
-
PROCESSINGFLASHBUYORDER
public static final java.lang.String PROCESSINGFLASHBUYORDER
Generated constant - Attribute key ofCart.processingFlashBuyOrder
attribute defined at extensiontimedaccesspromotionengineservices
.- See Also:
- Constant Field Values
-
VISIBLE
public static final java.lang.String VISIBLE
Generated constant - Attribute key ofCart.visible
attribute 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 typeAbstractOrder
at extensioncore
_date
- initial attribute declared by typeAbstractOrder
at extensioncore
_user
- initial attribute declared by typeCart
at 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 typeAbstractOrder
at extensioncore
_date
- initial attribute declared by typeAbstractOrder
at extensioncore
_owner
- initial attribute declared by typeItem
at extensioncore
_user
- initial attribute declared by typeCart
at extensioncore
-
-
Method Detail
-
getCartToOrderCronJob
@Accessor(qualifier="cartToOrderCronJob", type=GETTER) public java.util.Collection<CartToOrderCronJobModel> getCartToOrderCronJob()
Generated method - Getter of theCart.cartToOrderCronJob
attribute 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.importStatus
attribute 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.lastModifiedEntries
attribute 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.quoteReference
attribute 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.savedBy
attribute 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.saveTime
attribute 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.sessionId
attribute defined at extensioncore
.- Returns:
- the sessionId
-
getVisible
@Accessor(qualifier="visible", type=GETTER) public java.lang.Boolean getVisible()
Generated method - Getter of theCart.visible
attribute 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.processingFlashBuyOrder
attribute 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.cartToOrderCronJob
attribute defined at extensionbasecommerce
.- Parameters:
value
- the cartToOrderCronJob
-
setImportStatus
@Accessor(qualifier="importStatus", type=SETTER) public void setImportStatus(ImportStatus value)
Generated method - Setter ofCart.importStatus
attribute 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.lastModifiedEntries
attribute defined at extensionconfigurablebundleservices
.- Parameters:
value
- the lastModifiedEntries
-
setProcessingFlashBuyOrder
@Accessor(qualifier="processingFlashBuyOrder", type=SETTER) public void setProcessingFlashBuyOrder(boolean value)
Generated method - Setter ofCart.processingFlashBuyOrder
attribute 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.quoteReference
attribute 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.savedBy
attribute 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.saveTime
attribute 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.sessionId
attribute defined at extensioncore
.- Parameters:
value
- the sessionId
-
-