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:
Serializable
Generated model class for type ExternalDiscountValue first defined at extension c4cquote.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationAbstractOrder2ExternalDiscountValuedefining source attributeorderin extensionc4cquote.static final StringGenerated relation code constant for relationAbstractOrderEntry2ExternalDiscountValuedefining source attributeorderEntryin extensionc4cquote.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofExternalDiscountValue.codeattribute defined at extensionc4cquote.static final StringGenerated constant - Attribute key ofExternalDiscountValue.levelattribute defined at extensionc4cquote.static final StringGenerated constant - Attribute key ofExternalDiscountValue.orderattribute defined at extensionc4cquote.static final StringGenerated constant - Attribute key ofExternalDiscountValue.orderEntryattribute defined at extensionc4cquote.static final StringGenerated constant - Attribute key ofExternalDiscountValue.typeattribute defined at extensionc4cquote.static final StringGenerated constant - Attribute key ofExternalDiscountValue.valueattribute defined at extensionc4cquote.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.ExternalDiscountValueModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextExternalDiscountValueModel(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(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
Modifier and TypeMethodDescriptiongetCode()Generated method - Getter of theExternalDiscountValue.codeattribute defined at extensionc4cquote.getLevel()Generated method - Getter of theExternalDiscountValue.levelattribute defined at extensionc4cquote.getOrder()Generated method - Getter of theExternalDiscountValue.orderattribute defined at extensionc4cquote.Generated method - Getter of theExternalDiscountValue.orderEntryattribute defined at extensionc4cquote.getType()Generated method - Getter of theExternalDiscountValue.typeattribute defined at extensionc4cquote.getValue()Generated method - Getter of theExternalDiscountValue.valueattribute defined at extensionc4cquote.voidGenerated method - Setter ofExternalDiscountValue.codeattribute defined at extensionc4cquote.voidGenerated method - Setter ofExternalDiscountValue.levelattribute defined at extensionc4cquote.voidsetOrder(AbstractOrderModel value) Generated method - Setter ofExternalDiscountValue.orderattribute defined at extensionc4cquote.voidGenerated method - Setter ofExternalDiscountValue.orderEntryattribute defined at extensionc4cquote.voidGenerated method - Setter ofExternalDiscountValue.typeattribute defined at extensionc4cquote.voidGenerated method - Setter ofExternalDiscountValue.valueattribute defined at extensionc4cquote.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_ABSTRACTORDER2EXTERNALDISCOUNTVALUE
Generated relation code constant for relationAbstractOrder2ExternalDiscountValuedefining source attributeorderin extensionc4cquote.- See Also:
-
_ABSTRACTORDERENTRY2EXTERNALDISCOUNTVALUE
Generated relation code constant for relationAbstractOrderEntry2ExternalDiscountValuedefining source attributeorderEntryin extensionc4cquote.- See Also:
-
VALUE
Generated constant - Attribute key ofExternalDiscountValue.valueattribute defined at extensionc4cquote.- See Also:
-
CODE
Generated constant - Attribute key ofExternalDiscountValue.codeattribute defined at extensionc4cquote.- See Also:
-
TYPE
Generated constant - Attribute key ofExternalDiscountValue.typeattribute defined at extensionc4cquote.- See Also:
-
LEVEL
Generated constant - Attribute key ofExternalDiscountValue.levelattribute defined at extensionc4cquote.- See Also:
-
ORDER
Generated constant - Attribute key ofExternalDiscountValue.orderattribute defined at extensionc4cquote.- See Also:
-
ORDERENTRY
Generated constant - Attribute key ofExternalDiscountValue.orderEntryattribute defined at extensionc4cquote.- See Also:
-
-
Constructor Details
-
ExternalDiscountValueModel
public ExternalDiscountValueModel()Generated constructor - Default constructor for generic creation. -
ExternalDiscountValueModel
public ExternalDiscountValueModel(de.hybris.platform.servicelayer.model.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, 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 typeExternalDiscountValueat extensionc4cquote
-
ExternalDiscountValueModel
@Deprecated(since="4.1.1", forRemoval=true) public ExternalDiscountValueModel(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 typeExternalDiscountValueat extensionc4cquote_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCode
Generated method - Getter of theExternalDiscountValue.codeattribute defined at extensionc4cquote.- Returns:
- the code - Discount code
-
getLevel
Generated method - Getter of theExternalDiscountValue.levelattribute defined at extensionc4cquote.- Returns:
- the level - Discount level
-
getOrder
Generated method - Getter of theExternalDiscountValue.orderattribute defined at extensionc4cquote.- Returns:
- the order
-
getOrderEntry
Generated method - Getter of theExternalDiscountValue.orderEntryattribute defined at extensionc4cquote.- Returns:
- the orderEntry
-
getType
Generated method - Getter of theExternalDiscountValue.typeattribute defined at extensionc4cquote.- Returns:
- the type - Discount type
-
getValue
Generated method - Getter of theExternalDiscountValue.valueattribute defined at extensionc4cquote.- Returns:
- the value - External Discount Value
-
setCode
Generated method - Setter ofExternalDiscountValue.codeattribute defined at extensionc4cquote.- Parameters:
value- the code - Discount code
-
setLevel
Generated method - Setter ofExternalDiscountValue.levelattribute defined at extensionc4cquote.- Parameters:
value- the level - Discount level
-
setOrder
Generated method - Setter ofExternalDiscountValue.orderattribute defined at extensionc4cquote.- Parameters:
value- the order
-
setOrderEntry
@Accessor(qualifier="orderEntry", type=SETTER) public void setOrderEntry(AbstractOrderEntryModel value) Generated method - Setter ofExternalDiscountValue.orderEntryattribute defined at extensionc4cquote.- Parameters:
value- the orderEntry
-
setType
Generated method - Setter ofExternalDiscountValue.typeattribute defined at extensionc4cquote.- Parameters:
value- the type - Discount type
-
setValue
Generated method - Setter ofExternalDiscountValue.valueattribute defined at extensionc4cquote.- Parameters:
value- the value - External Discount Value
-