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
_ABSTRACTORDER2ABSTRACTORDERENTRY
Generated relation code constant for relationAbstractOrder2AbstractOrderEntry
defining source attributeorder
in extensioncore
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
ENTRYDISCOUNT
Generated constant - Attribute key ofQuoteEntry.entryDiscount
attribute defined at extensionsapquoteintegration
.static java.lang.String
EXTERNALQUOTEENTRYID
Generated constant - Attribute key ofQuoteEntry.externalQuoteEntryId
attribute defined at extensionsapquoteintegration
.static java.lang.String
ITEMID
Generated constant - Attribute key ofQuoteEntry.itemId
attribute defined at extensionsapquoteintegration
.static java.lang.String
RANK
Generated constant - Attribute key ofQuoteEntry.rank
attribute 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.Double
getEntryDiscount()
Generated method - Getter of theQuoteEntry.entryDiscount
attribute defined at extensionsapquoteintegration
.java.lang.String
getExternalQuoteEntryId()
Generated method - Getter of theQuoteEntry.externalQuoteEntryId
attribute defined at extensionsapquoteintegration
.java.lang.String
getItemId()
Generated method - Getter of theQuoteEntry.itemId
attribute defined at extensionsapquoteintegration
.QuoteModel
getOrder()
Generated method - Getter of theAbstractOrderEntry.order
attribute defined at extensioncore
and redeclared at extensioncore
.java.lang.String
getRank()
Generated method - Getter of theQuoteEntry.rank
attribute defined at extensionsapquoteintegration
.void
setEntryDiscount(java.lang.Double value)
Generated method - Setter ofQuoteEntry.entryDiscount
attribute defined at extensionsapquoteintegration
.void
setExternalQuoteEntryId(java.lang.String value)
Generated method - Setter ofQuoteEntry.externalQuoteEntryId
attribute defined at extensionsapquoteintegration
.void
setItemId(java.lang.String value)
Generated method - Setter ofQuoteEntry.itemId
attribute defined at extensionsapquoteintegration
.void
setOrder(AbstractOrderModel value)
Generated method - Initial setter ofAbstractOrderEntry.order
attribute defined at extensioncore
and redeclared at extensioncore
.void
setRank(java.lang.String value)
Generated method - Setter ofQuoteEntry.rank
attribute 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 relationAbstractOrder2AbstractOrderEntry
defining source attributeorder
in extensioncore
.- See Also:
- Constant Field Values
-
ENTRYDISCOUNT
public static final java.lang.String ENTRYDISCOUNT
Generated constant - Attribute key ofQuoteEntry.entryDiscount
attribute defined at extensionsapquoteintegration
.- See Also:
- Constant Field Values
-
EXTERNALQUOTEENTRYID
public static final java.lang.String EXTERNALQUOTEENTRYID
Generated constant - Attribute key ofQuoteEntry.externalQuoteEntryId
attribute defined at extensionsapquoteintegration
.- See Also:
- Constant Field Values
-
RANK
public static final java.lang.String RANK
Generated constant - Attribute key ofQuoteEntry.rank
attribute defined at extensionsapquoteintegration
.- See Also:
- Constant Field Values
-
ITEMID
public static final java.lang.String ITEMID
Generated constant - Attribute key ofQuoteEntry.itemId
attribute 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 typeAbstractOrderEntry
at extensioncore
_quantity
- initial attribute declared by typeAbstractOrderEntry
at extensioncore
_unit
- initial attribute declared by typeAbstractOrderEntry
at 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 typeItem
at extensioncore
_product
- initial attribute declared by typeAbstractOrderEntry
at extensioncore
_quantity
- initial attribute declared by typeAbstractOrderEntry
at extensioncore
_unit
- initial attribute declared by typeAbstractOrderEntry
at extensioncore
-
-
Method Detail
-
getEntryDiscount
@Accessor(qualifier="entryDiscount", type=GETTER) public java.lang.Double getEntryDiscount()
Generated method - Getter of theQuoteEntry.entryDiscount
attribute defined at extensionsapquoteintegration
.- Returns:
- the entryDiscount
-
getExternalQuoteEntryId
@Accessor(qualifier="externalQuoteEntryId", type=GETTER) public java.lang.String getExternalQuoteEntryId()
Generated method - Getter of theQuoteEntry.externalQuoteEntryId
attribute 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.itemId
attribute 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.order
attribute defined at extensioncore
and redeclared at extensioncore
.- Overrides:
getOrder
in classAbstractOrderEntryModel
- Returns:
- the order
-
getRank
@Accessor(qualifier="rank", type=GETTER) public java.lang.String getRank()
Generated method - Getter of theQuoteEntry.rank
attribute 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.entryDiscount
attribute defined at extensionsapquoteintegration
.- Parameters:
value
- the entryDiscount
-
setExternalQuoteEntryId
@Accessor(qualifier="externalQuoteEntryId", type=SETTER) public void setExternalQuoteEntryId(java.lang.String value)
Generated method - Setter ofQuoteEntry.externalQuoteEntryId
attribute 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.itemId
attribute 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.order
attribute defined at extensioncore
and redeclared at extensioncore
. Can only be used at creation of model - before first save. Will only accept values of typeQuoteModel
.- Overrides:
setOrder
in classAbstractOrderEntryModel
- Parameters:
value
- the order
-
-