Class PromotionOrderEntryAdjustActionModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.promotions.model.AbstractPromotionActionModel
-
- de.hybris.platform.promotions.model.PromotionOrderEntryAdjustActionModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CachedPromotionOrderEntryAdjustActionModel
public class PromotionOrderEntryAdjustActionModel extends AbstractPromotionActionModel
Generated model class for type PromotionOrderEntryAdjustAction first defined at extension promotions.- 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_TYPECODEGenerated model type code constant.static java.lang.StringAMOUNTGenerated constant - Attribute key ofPromotionOrderEntryAdjustAction.amountattribute defined at extensionpromotions.static java.lang.StringORDERENTRYNUMBERGenerated constant - Attribute key ofPromotionOrderEntryAdjustAction.orderEntryNumberattribute defined at extensionpromotions.static java.lang.StringORDERENTRYPRODUCTGenerated constant - Attribute key ofPromotionOrderEntryAdjustAction.orderEntryProductattribute defined at extensionpromotions.static java.lang.StringORDERENTRYQUANTITYGenerated constant - Attribute key ofPromotionOrderEntryAdjustAction.orderEntryQuantityattribute defined at extensionpromotions.-
Fields inherited from class de.hybris.platform.promotions.model.AbstractPromotionActionModel
_PROMOTIONRESULT2PROMOTIONACTIONSRELATION, GUID, MARKEDAPPLIED, PROMOTIONRESULT
-
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 PromotionOrderEntryAdjustActionModel()Generated constructor - Default constructor for generic creation.PromotionOrderEntryAdjustActionModel(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 parametersPromotionOrderEntryAdjustActionModel(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.DoublegetAmount()Generated method - Getter of thePromotionOrderEntryAdjustAction.amountattribute defined at extensionpromotions.java.lang.IntegergetOrderEntryNumber()Generated method - Getter of thePromotionOrderEntryAdjustAction.orderEntryNumberattribute defined at extensionpromotions.ProductModelgetOrderEntryProduct()Generated method - Getter of thePromotionOrderEntryAdjustAction.orderEntryProductattribute defined at extensionpromotions.java.lang.LonggetOrderEntryQuantity()Generated method - Getter of thePromotionOrderEntryAdjustAction.orderEntryQuantityattribute defined at extensionpromotions.voidsetAmount(java.lang.Double value)Generated method - Setter ofPromotionOrderEntryAdjustAction.amountattribute defined at extensionpromotions.voidsetOrderEntryNumber(java.lang.Integer value)Generated method - Setter ofPromotionOrderEntryAdjustAction.orderEntryNumberattribute defined at extensionpromotions.voidsetOrderEntryProduct(ProductModel value)Generated method - Setter ofPromotionOrderEntryAdjustAction.orderEntryProductattribute defined at extensionpromotions.voidsetOrderEntryQuantity(java.lang.Long value)Generated method - Setter ofPromotionOrderEntryAdjustAction.orderEntryQuantityattribute defined at extensionpromotions.-
Methods inherited from class de.hybris.platform.promotions.model.AbstractPromotionActionModel
getGuid, getMarkedApplied, getPromotionResult, setGuid, setMarkedApplied, setPromotionResult
-
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
-
AMOUNT
public static final java.lang.String AMOUNT
Generated constant - Attribute key ofPromotionOrderEntryAdjustAction.amountattribute defined at extensionpromotions.- See Also:
- Constant Field Values
-
ORDERENTRYPRODUCT
public static final java.lang.String ORDERENTRYPRODUCT
Generated constant - Attribute key ofPromotionOrderEntryAdjustAction.orderEntryProductattribute defined at extensionpromotions.- See Also:
- Constant Field Values
-
ORDERENTRYQUANTITY
public static final java.lang.String ORDERENTRYQUANTITY
Generated constant - Attribute key ofPromotionOrderEntryAdjustAction.orderEntryQuantityattribute defined at extensionpromotions.- See Also:
- Constant Field Values
-
ORDERENTRYNUMBER
public static final java.lang.String ORDERENTRYNUMBER
Generated constant - Attribute key ofPromotionOrderEntryAdjustAction.orderEntryNumberattribute defined at extensionpromotions.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PromotionOrderEntryAdjustActionModel
public PromotionOrderEntryAdjustActionModel()
Generated constructor - Default constructor for generic creation.
-
PromotionOrderEntryAdjustActionModel
public PromotionOrderEntryAdjustActionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
PromotionOrderEntryAdjustActionModel
@Deprecated(since="4.1.1", forRemoval=true) public PromotionOrderEntryAdjustActionModel(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:
_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getAmount
@Accessor(qualifier="amount", type=GETTER) public java.lang.Double getAmount()
Generated method - Getter of thePromotionOrderEntryAdjustAction.amountattribute defined at extensionpromotions.- Returns:
- the amount - The amount to adjust the order entry by.
-
getOrderEntryNumber
@Accessor(qualifier="orderEntryNumber", type=GETTER) public java.lang.Integer getOrderEntryNumber()
Generated method - Getter of thePromotionOrderEntryAdjustAction.orderEntryNumberattribute defined at extensionpromotions.- Returns:
- the orderEntryNumber - The entry number in the order
-
getOrderEntryProduct
@Accessor(qualifier="orderEntryProduct", type=GETTER) public ProductModel getOrderEntryProduct()
Generated method - Getter of thePromotionOrderEntryAdjustAction.orderEntryProductattribute defined at extensionpromotions.- Returns:
- the orderEntryProduct - The product of the order entry to adjust
-
getOrderEntryQuantity
@Accessor(qualifier="orderEntryQuantity", type=GETTER) public java.lang.Long getOrderEntryQuantity()
Generated method - Getter of thePromotionOrderEntryAdjustAction.orderEntryQuantityattribute defined at extensionpromotions.- Returns:
- the orderEntryQuantity - The quantity of the order entry to adjust
-
setAmount
@Accessor(qualifier="amount", type=SETTER) public void setAmount(java.lang.Double value)
Generated method - Setter ofPromotionOrderEntryAdjustAction.amountattribute defined at extensionpromotions.- Parameters:
value- the amount - The amount to adjust the order entry by.
-
setOrderEntryNumber
@Accessor(qualifier="orderEntryNumber", type=SETTER) public void setOrderEntryNumber(java.lang.Integer value)
Generated method - Setter ofPromotionOrderEntryAdjustAction.orderEntryNumberattribute defined at extensionpromotions.- Parameters:
value- the orderEntryNumber - The entry number in the order
-
setOrderEntryProduct
@Accessor(qualifier="orderEntryProduct", type=SETTER) public void setOrderEntryProduct(ProductModel value)
Generated method - Setter ofPromotionOrderEntryAdjustAction.orderEntryProductattribute defined at extensionpromotions.- Parameters:
value- the orderEntryProduct - The product of the order entry to adjust
-
setOrderEntryQuantity
@Accessor(qualifier="orderEntryQuantity", type=SETTER) public void setOrderEntryQuantity(java.lang.Long value)
Generated method - Setter ofPromotionOrderEntryAdjustAction.orderEntryQuantityattribute defined at extensionpromotions.- Parameters:
value- the orderEntryQuantity - The quantity of the order entry to adjust
-
-