Class QuoteEntryModel
- 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.QuoteEntryModel
-
- All Implemented Interfaces:
java.io.Serializable
public class QuoteEntryModel extends AbstractOrderEntryModel
Generated model class for type QuoteEntry 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.static java.lang.StringENTRYDISCOUNTGenerated constant - Attribute key ofQuoteEntry.entryDiscountattribute defined at extensionsapquoteintegration.static java.lang.StringEXTERNALQUOTEENTRYIDGenerated constant - Attribute key ofQuoteEntry.externalQuoteEntryIdattribute defined at extensionsapquoteintegration.static java.lang.StringITEMIDGenerated constant - Attribute key ofQuoteEntry.itemIdattribute defined at extensionsapquoteintegration.static java.lang.StringRANKGenerated constant - Attribute key ofQuoteEntry.rankattribute defined at extensionsapquoteintegration.-
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 QuoteEntryModel()Generated constructor - Default constructor for generic creation.QuoteEntryModel(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 parametersQuoteEntryModel(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 parametersQuoteEntryModel(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.lang.DoublegetEntryDiscount()Generated method - Getter of theQuoteEntry.entryDiscountattribute defined at extensionsapquoteintegration.java.lang.StringgetExternalQuoteEntryId()Generated method - Getter of theQuoteEntry.externalQuoteEntryIdattribute defined at extensionsapquoteintegration.java.lang.StringgetItemId()Generated method - Getter of theQuoteEntry.itemIdattribute defined at extensionsapquoteintegration.QuoteModelgetOrder()Generated method - Getter of theAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore.java.lang.StringgetRank()Generated method - Getter of theQuoteEntry.rankattribute defined at extensionsapquoteintegration.voidsetEntryDiscount(java.lang.Double value)Generated method - Setter ofQuoteEntry.entryDiscountattribute defined at extensionsapquoteintegration.voidsetExternalQuoteEntryId(java.lang.String value)Generated method - Setter ofQuoteEntry.externalQuoteEntryIdattribute defined at extensionsapquoteintegration.voidsetItemId(java.lang.String value)Generated method - Setter ofQuoteEntry.itemIdattribute defined at extensionsapquoteintegration.voidsetOrder(AbstractOrderModel value)Generated method - Initial setter ofAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore.voidsetRank(java.lang.String value)Generated method - Setter ofQuoteEntry.rankattribute defined at extensionsapquoteintegration.-
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
-
ENTRYDISCOUNT
public static final java.lang.String ENTRYDISCOUNT
Generated constant - Attribute key ofQuoteEntry.entryDiscountattribute defined at extensionsapquoteintegration.- See Also:
- Constant Field Values
-
EXTERNALQUOTEENTRYID
public static final java.lang.String EXTERNALQUOTEENTRYID
Generated constant - Attribute key ofQuoteEntry.externalQuoteEntryIdattribute defined at extensionsapquoteintegration.- See Also:
- Constant Field Values
-
RANK
public static final java.lang.String RANK
Generated constant - Attribute key ofQuoteEntry.rankattribute defined at extensionsapquoteintegration.- See Also:
- Constant Field Values
-
ITEMID
public static final java.lang.String ITEMID
Generated constant - Attribute key ofQuoteEntry.itemIdattribute defined at extensionsapquoteintegration.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
QuoteEntryModel
public QuoteEntryModel()
Generated constructor - Default constructor for generic creation.
-
QuoteEntryModel
public QuoteEntryModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
QuoteEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public QuoteEntryModel(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
-
QuoteEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public QuoteEntryModel(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
-
getEntryDiscount
@Accessor(qualifier="entryDiscount", type=GETTER) public java.lang.Double getEntryDiscount()
Generated method - Getter of theQuoteEntry.entryDiscountattribute defined at extensionsapquoteintegration.- Returns:
- the entryDiscount
-
getExternalQuoteEntryId
@Accessor(qualifier="externalQuoteEntryId", type=GETTER) public java.lang.String getExternalQuoteEntryId()
Generated method - Getter of theQuoteEntry.externalQuoteEntryIdattribute defined at extensionsapquoteintegration.- Returns:
- the externalQuoteEntryId - Unique identifier of QuoteEntry in the External Integrated System, eg. Callidus CPQ
-
getItemId
@Accessor(qualifier="itemId", type=GETTER) public java.lang.String getItemId()
Generated method - Getter of theQuoteEntry.itemIdattribute defined at extensionsapquoteintegration.- Returns:
- the itemId - Unique identifier of Product. Used to map this Quote Entry to a specific product in Commerce
-
getOrder
@Accessor(qualifier="order", type=GETTER) public QuoteModel getOrder()
Generated method - Getter of theAbstractOrderEntry.orderattribute defined at extensioncoreand redeclared at extensioncore.- Overrides:
getOrderin classAbstractOrderEntryModel- Returns:
- the order
-
getRank
@Accessor(qualifier="rank", type=GETTER) public java.lang.String getRank()
Generated method - Getter of theQuoteEntry.rankattribute defined at extensionsapquoteintegration.- Returns:
- the rank - Unique rank of QuoteEntry in the External Integrated System, eg. Callidus CPQ
-
setEntryDiscount
@Accessor(qualifier="entryDiscount", type=SETTER) public void setEntryDiscount(java.lang.Double value)
Generated method - Setter ofQuoteEntry.entryDiscountattribute defined at extensionsapquoteintegration.- Parameters:
value- the entryDiscount
-
setExternalQuoteEntryId
@Accessor(qualifier="externalQuoteEntryId", type=SETTER) public void setExternalQuoteEntryId(java.lang.String value)
Generated method - Setter ofQuoteEntry.externalQuoteEntryIdattribute defined at extensionsapquoteintegration.- Parameters:
value- the externalQuoteEntryId - Unique identifier of QuoteEntry in the External Integrated System, eg. Callidus CPQ
-
setItemId
@Accessor(qualifier="itemId", type=SETTER) public void setItemId(java.lang.String value)
Generated method - Setter ofQuoteEntry.itemIdattribute defined at extensionsapquoteintegration.- Parameters:
value- the itemId - Unique identifier of Product. Used to map this Quote Entry to a specific product in Commerce
-
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 typeQuoteModel.- Overrides:
setOrderin classAbstractOrderEntryModel- Parameters:
value- the order
-
-