Class InMemoryCartEntryModel
- 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
-
- de.hybris.platform.servicelayer.internal.model.order.InMemoryCartEntryModel
-
- All Implemented Interfaces:
java.io.Serializable
public class InMemoryCartEntryModel extends CartEntryModel
Generated model class for type InMemoryCartEntry 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_TYPECODEGenerated model type code constant.-
Fields inherited from class de.hybris.platform.core.model.order.CartEntryModel
_LASTMODIFIEDENTRIESRELATION, LASTMODIFIEDMASTERCART
-
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 InMemoryCartEntryModel()Generated constructor - Default constructor for generic creation.InMemoryCartEntryModel(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 parametersInMemoryCartEntryModel(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 parametersInMemoryCartEntryModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InMemoryCartModelgetOrder()Generated method - Getter of theAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore.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.CartEntryModel
getLastModifiedMasterCart, setLastModifiedMasterCart
-
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
-
-
Constructor Detail
-
InMemoryCartEntryModel
public InMemoryCartEntryModel()
Generated constructor - Default constructor for generic creation.
-
InMemoryCartEntryModel
public InMemoryCartEntryModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
InMemoryCartEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public InMemoryCartEntryModel(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
-
InMemoryCartEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public InMemoryCartEntryModel(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
-
getOrder
@Accessor(qualifier="order", type=GETTER) public InMemoryCartModel getOrder()
Generated method - Getter of theAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore.- Overrides:
getOrderin classCartEntryModel- Returns:
- the order
-
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 typeInMemoryCartModel.- Overrides:
setOrderin classCartEntryModel- Parameters:
value- the order
-
-