Class CartEntryModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.core.model.order.AbstractOrderEntryModel
-
- de.hybris.platform.core.model.order.CartEntryModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
InMemoryCartEntryModel
public class CartEntryModel extends AbstractOrderEntryModel
Generated model class for type CartEntry 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_ABSTRACTORDER2ABSTRACTORDERENTRYGenerated relation code constant for relationAbstractOrder2AbstractOrderEntrydefining source attributeorderin extensioncore.static java.lang.String_LASTMODIFIEDENTRIESRELATIONGenerated relation code constant for relationLastModifiedEntriesRelationdefining source attributelastModifiedMasterCartin extensionconfigurablebundleservices.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringLASTMODIFIEDMASTERCARTGenerated constant - Attribute key ofCartEntry.lastModifiedMasterCartattribute defined at extensionconfigurablebundleservices.-
Fields inherited from class de.hybris.platform.core.model.order.AbstractOrderEntryModel
_CONSIGNMENTENTRYORDERENTRYRELATION, _MASTERABSTRACTORDERENTRY2CHILDABSTRACTORDERENTRIESRELATION, ADDTOCARTTIME, BASEPRICE, CALCULATED, CHILDENTRIES, CHOSENVENDOR, CONSIGNMENTENTRIES, COSTCENTER, CPQSTATUSSUMMARYMAP, DELIVERYADDRESS, DELIVERYMODE, DELIVERYPOINTOFSERVICE, DISCOUNTVALUES, DISCOUNTVALUESINTERNAL, ENTRYDISCOUNTINTERNAL, ENTRYGROUPNUMBERS, ENTRYNUMBER, EUROPE1PRICEFACTORY_PDG, EUROPE1PRICEFACTORY_PPG, EUROPE1PRICEFACTORY_PTG, EXTERNALCONFIGURATION, EXTERNALDISCOUNTVALUES, GIVEAWAY, INFO, MASTERENTRY, NAMEDDELIVERYDATE, ORDER, ORIGINALORDERENTRY, ORIGINALSUBSCRIPTIONID, PRODUCT, PRODUCTCONFIGURATION, PRODUCTCONFIGURATIONDRAFT, PRODUCTINFOS, QUANTITY, QUANTITYSTATUS, REJECTED, SAPPRICINGCONDITIONS, TAXVALUES, TAXVALUESINTERNAL, TOTALPRICE, UNIT, XMLPRODUCT
-
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 CartEntryModel()Generated constructor - Default constructor for generic creation.CartEntryModel(ItemModel _owner, ProductModel _product, java.lang.Long _quantity, UnitModel _unit)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCartEntryModel(ProductModel _product, java.lang.Long _quantity, UnitModel _unit)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCartEntryModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CartModelgetLastModifiedMasterCart()Generated method - Getter of theCartEntry.lastModifiedMasterCartattribute defined at extensionconfigurablebundleservices.CartModelgetOrder()Generated method - Getter of theAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore.voidsetLastModifiedMasterCart(CartModel value)Generated method - Setter ofCartEntry.lastModifiedMasterCartattribute defined at extensionconfigurablebundleservices.voidsetOrder(AbstractOrderModel value)Generated method - Initial setter ofAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore.-
Methods inherited from class de.hybris.platform.core.model.order.AbstractOrderEntryModel
getAddToCartTime, getBasePrice, getCalculated, getChildEntries, getChosenVendor, getConsignmentEntries, getCostCenter, getCpqStatusSummaryMap, getDeliveryAddress, getDeliveryMode, getDeliveryPointOfService, getDiscountValues, getDiscountValuesInternal, getEntryDiscountInternal, getEntryGroupNumbers, getEntryNumber, getEurope1PriceFactory_PDG, getEurope1PriceFactory_PPG, getEurope1PriceFactory_PTG, getExternalConfiguration, getExternalDiscountValues, getGiveAway, getInfo, getMasterEntry, getNamedDeliveryDate, getOriginalOrderEntry, getOriginalSubscriptionId, getProduct, getProductConfiguration, getProductConfigurationDraft, getProductInfos, getQuantity, getQuantityStatus, getRejected, getSapPricingConditions, getTaxValues, getTaxValuesInternal, getTotalPrice, getUnit, getXmlProduct, setAddToCartTime, setBasePrice, setCalculated, setChildEntries, setChosenVendor, setConsignmentEntries, setCostCenter, setCpqStatusSummaryMap, setDeliveryAddress, setDeliveryMode, setDeliveryPointOfService, setDiscountValues, setDiscountValuesInternal, setEntryDiscountInternal, setEntryGroupNumbers, setEntryNumber, setEurope1PriceFactory_PDG, setEurope1PriceFactory_PPG, setEurope1PriceFactory_PTG, setExternalConfiguration, setExternalDiscountValues, setGiveAway, setInfo, setMasterEntry, setNamedDeliveryDate, setOriginalOrderEntry, setOriginalSubscriptionId, setProduct, setProductConfiguration, setProductConfigurationDraft, setProductInfos, setQuantity, setQuantityStatus, setRejected, setSapPricingConditions, setTaxValues, setTaxValuesInternal, setTotalPrice, setUnit, setXmlProduct
-
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
-
_ABSTRACTORDER2ABSTRACTORDERENTRY
public static final java.lang.String _ABSTRACTORDER2ABSTRACTORDERENTRY
Generated relation code constant for relationAbstractOrder2AbstractOrderEntrydefining source attributeorderin extensioncore.- See Also:
- Constant Field Values
-
_LASTMODIFIEDENTRIESRELATION
public static final java.lang.String _LASTMODIFIEDENTRIESRELATION
Generated relation code constant for relationLastModifiedEntriesRelationdefining source attributelastModifiedMasterCartin extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
LASTMODIFIEDMASTERCART
public static final java.lang.String LASTMODIFIEDMASTERCART
Generated constant - Attribute key ofCartEntry.lastModifiedMasterCartattribute defined at extensionconfigurablebundleservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CartEntryModel
public CartEntryModel()
Generated constructor - Default constructor for generic creation.
-
CartEntryModel
public CartEntryModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CartEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public CartEntryModel(ProductModel _product, java.lang.Long _quantity, UnitModel _unit)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:
_product- initial attribute declared by typeAbstractOrderEntryat extensioncore_quantity- initial attribute declared by typeAbstractOrderEntryat extensioncore_unit- initial attribute declared by typeAbstractOrderEntryat extensioncore
-
CartEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public CartEntryModel(ItemModel _owner, ProductModel _product, java.lang.Long _quantity, UnitModel _unit)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:
_owner- initial attribute declared by typeItemat extensioncore_product- initial attribute declared by typeAbstractOrderEntryat extensioncore_quantity- initial attribute declared by typeAbstractOrderEntryat extensioncore_unit- initial attribute declared by typeAbstractOrderEntryat extensioncore
-
-
Method Detail
-
getLastModifiedMasterCart
@Accessor(qualifier="lastModifiedMasterCart", type=GETTER) public CartModel getLastModifiedMasterCart()
Generated method - Getter of theCartEntry.lastModifiedMasterCartattribute defined at extensionconfigurablebundleservices.- Returns:
- the lastModifiedMasterCart
-
getOrder
@Accessor(qualifier="order", type=GETTER) public CartModel getOrder()
Generated method - Getter of theAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore.- Overrides:
getOrderin classAbstractOrderEntryModel- Returns:
- the order
-
setLastModifiedMasterCart
@Accessor(qualifier="lastModifiedMasterCart", type=SETTER) public void setLastModifiedMasterCart(CartModel value)
Generated method - Setter ofCartEntry.lastModifiedMasterCartattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the lastModifiedMasterCart
-
setOrder
@Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)
Generated method - Initial setter ofAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore. Can only be used at creation of model - before first save. Will only accept values of typeCartModel.- Overrides:
setOrderin classAbstractOrderEntryModel- Parameters:
value- the order
-
-