Class ExternalDiscountValueModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.sap.c4c.quote.model.ExternalDiscountValueModel
-
- All Implemented Interfaces:
java.io.Serializable
public class ExternalDiscountValueModel extends ItemModel
Generated model class for type ExternalDiscountValue first defined at extension c4cquote.- 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
_ABSTRACTORDER2EXTERNALDISCOUNTVALUE
Generated relation code constant for relationAbstractOrder2ExternalDiscountValue
defining source attributeorder
in extensionc4cquote
.static java.lang.String
_ABSTRACTORDERENTRY2EXTERNALDISCOUNTVALUE
Generated relation code constant for relationAbstractOrderEntry2ExternalDiscountValue
defining source attributeorderEntry
in extensionc4cquote
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
CODE
Generated constant - Attribute key ofExternalDiscountValue.code
attribute defined at extensionc4cquote
.static java.lang.String
LEVEL
Generated constant - Attribute key ofExternalDiscountValue.level
attribute defined at extensionc4cquote
.static java.lang.String
ORDER
Generated constant - Attribute key ofExternalDiscountValue.order
attribute defined at extensionc4cquote
.static java.lang.String
ORDERENTRY
Generated constant - Attribute key ofExternalDiscountValue.orderEntry
attribute defined at extensionc4cquote
.static java.lang.String
TYPE
Generated constant - Attribute key ofExternalDiscountValue.type
attribute defined at extensionc4cquote
.static java.lang.String
VALUE
Generated constant - Attribute key ofExternalDiscountValue.value
attribute defined at extensionc4cquote
.-
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 ExternalDiscountValueModel()
Generated constructor - Default constructor for generic creation.ExternalDiscountValueModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextExternalDiscountValueModel(java.lang.String _code)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersExternalDiscountValueModel(java.lang.String _code, ItemModel _owner)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCode()
Generated method - Getter of theExternalDiscountValue.code
attribute defined at extensionc4cquote
.java.lang.Integer
getLevel()
Generated method - Getter of theExternalDiscountValue.level
attribute defined at extensionc4cquote
.AbstractOrderModel
getOrder()
Generated method - Getter of theExternalDiscountValue.order
attribute defined at extensionc4cquote
.AbstractOrderEntryModel
getOrderEntry()
Generated method - Getter of theExternalDiscountValue.orderEntry
attribute defined at extensionc4cquote
.java.lang.String
getType()
Generated method - Getter of theExternalDiscountValue.type
attribute defined at extensionc4cquote
.java.lang.Double
getValue()
Generated method - Getter of theExternalDiscountValue.value
attribute defined at extensionc4cquote
.void
setCode(java.lang.String value)
Generated method - Setter ofExternalDiscountValue.code
attribute defined at extensionc4cquote
.void
setLevel(java.lang.Integer value)
Generated method - Setter ofExternalDiscountValue.level
attribute defined at extensionc4cquote
.void
setOrder(AbstractOrderModel value)
Generated method - Setter ofExternalDiscountValue.order
attribute defined at extensionc4cquote
.void
setOrderEntry(AbstractOrderEntryModel value)
Generated method - Setter ofExternalDiscountValue.orderEntry
attribute defined at extensionc4cquote
.void
setType(java.lang.String value)
Generated method - Setter ofExternalDiscountValue.type
attribute defined at extensionc4cquote
.void
setValue(java.lang.Double value)
Generated method - Setter ofExternalDiscountValue.value
attribute defined at extensionc4cquote
.-
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
-
_ABSTRACTORDER2EXTERNALDISCOUNTVALUE
public static final java.lang.String _ABSTRACTORDER2EXTERNALDISCOUNTVALUE
Generated relation code constant for relationAbstractOrder2ExternalDiscountValue
defining source attributeorder
in extensionc4cquote
.- See Also:
- Constant Field Values
-
_ABSTRACTORDERENTRY2EXTERNALDISCOUNTVALUE
public static final java.lang.String _ABSTRACTORDERENTRY2EXTERNALDISCOUNTVALUE
Generated relation code constant for relationAbstractOrderEntry2ExternalDiscountValue
defining source attributeorderEntry
in extensionc4cquote
.- See Also:
- Constant Field Values
-
VALUE
public static final java.lang.String VALUE
Generated constant - Attribute key ofExternalDiscountValue.value
attribute defined at extensionc4cquote
.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofExternalDiscountValue.code
attribute defined at extensionc4cquote
.- See Also:
- Constant Field Values
-
TYPE
public static final java.lang.String TYPE
Generated constant - Attribute key ofExternalDiscountValue.type
attribute defined at extensionc4cquote
.- See Also:
- Constant Field Values
-
LEVEL
public static final java.lang.String LEVEL
Generated constant - Attribute key ofExternalDiscountValue.level
attribute defined at extensionc4cquote
.- See Also:
- Constant Field Values
-
ORDER
public static final java.lang.String ORDER
Generated constant - Attribute key ofExternalDiscountValue.order
attribute defined at extensionc4cquote
.- See Also:
- Constant Field Values
-
ORDERENTRY
public static final java.lang.String ORDERENTRY
Generated constant - Attribute key ofExternalDiscountValue.orderEntry
attribute defined at extensionc4cquote
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ExternalDiscountValueModel
public ExternalDiscountValueModel()
Generated constructor - Default constructor for generic creation.
-
ExternalDiscountValueModel
public ExternalDiscountValueModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
ExternalDiscountValueModel
@Deprecated(since="4.1.1", forRemoval=true) public ExternalDiscountValueModel(java.lang.String _code)
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:
_code
- initial attribute declared by typeExternalDiscountValue
at extensionc4cquote
-
ExternalDiscountValueModel
@Deprecated(since="4.1.1", forRemoval=true) public ExternalDiscountValueModel(java.lang.String _code, ItemModel _owner)
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:
_code
- initial attribute declared by typeExternalDiscountValue
at extensionc4cquote
_owner
- initial attribute declared by typeItem
at extensioncore
-
-
Method Detail
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theExternalDiscountValue.code
attribute defined at extensionc4cquote
.- Returns:
- the code - Discount code
-
getLevel
@Accessor(qualifier="level", type=GETTER) public java.lang.Integer getLevel()
Generated method - Getter of theExternalDiscountValue.level
attribute defined at extensionc4cquote
.- Returns:
- the level - Discount level
-
getOrder
@Accessor(qualifier="order", type=GETTER) public AbstractOrderModel getOrder()
Generated method - Getter of theExternalDiscountValue.order
attribute defined at extensionc4cquote
.- Returns:
- the order
-
getOrderEntry
@Accessor(qualifier="orderEntry", type=GETTER) public AbstractOrderEntryModel getOrderEntry()
Generated method - Getter of theExternalDiscountValue.orderEntry
attribute defined at extensionc4cquote
.- Returns:
- the orderEntry
-
getType
@Accessor(qualifier="type", type=GETTER) public java.lang.String getType()
Generated method - Getter of theExternalDiscountValue.type
attribute defined at extensionc4cquote
.- Returns:
- the type - Discount type
-
getValue
@Accessor(qualifier="value", type=GETTER) public java.lang.Double getValue()
Generated method - Getter of theExternalDiscountValue.value
attribute defined at extensionc4cquote
.- Returns:
- the value - External Discount Value
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofExternalDiscountValue.code
attribute defined at extensionc4cquote
.- Parameters:
value
- the code - Discount code
-
setLevel
@Accessor(qualifier="level", type=SETTER) public void setLevel(java.lang.Integer value)
Generated method - Setter ofExternalDiscountValue.level
attribute defined at extensionc4cquote
.- Parameters:
value
- the level - Discount level
-
setOrder
@Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)
Generated method - Setter ofExternalDiscountValue.order
attribute defined at extensionc4cquote
.- Parameters:
value
- the order
-
setOrderEntry
@Accessor(qualifier="orderEntry", type=SETTER) public void setOrderEntry(AbstractOrderEntryModel value)
Generated method - Setter ofExternalDiscountValue.orderEntry
attribute defined at extensionc4cquote
.- Parameters:
value
- the orderEntry
-
setType
@Accessor(qualifier="type", type=SETTER) public void setType(java.lang.String value)
Generated method - Setter ofExternalDiscountValue.type
attribute defined at extensionc4cquote
.- Parameters:
value
- the type - Discount type
-
-