Class PromotionOrderEntryAdjustActionModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CachedPromotionOrderEntryAdjustActionModel

public class PromotionOrderEntryAdjustActionModel extends AbstractPromotionActionModel
Generated model class for type PromotionOrderEntryAdjustAction first defined at extension promotions.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • AMOUNT

      public static final String AMOUNT
      Generated constant - Attribute key of PromotionOrderEntryAdjustAction.amount attribute defined at extension promotions.
      See Also:
    • ORDERENTRYPRODUCT

      public static final String ORDERENTRYPRODUCT
      Generated constant - Attribute key of PromotionOrderEntryAdjustAction.orderEntryProduct attribute defined at extension promotions.
      See Also:
    • ORDERENTRYQUANTITY

      public static final String ORDERENTRYQUANTITY
      Generated constant - Attribute key of PromotionOrderEntryAdjustAction.orderEntryQuantity attribute defined at extension promotions.
      See Also:
    • ORDERENTRYNUMBER

      public static final String ORDERENTRYNUMBER
      Generated constant - Attribute key of PromotionOrderEntryAdjustAction.orderEntryNumber attribute defined at extension promotions.
      See Also:
  • Constructor Details

    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getAmount

      @Accessor(qualifier="amount", type=GETTER) public Double getAmount()
      Generated method - Getter of the PromotionOrderEntryAdjustAction.amount attribute defined at extension promotions.
      Returns:
      the amount - The amount to adjust the order entry by.
    • getOrderEntryNumber

      @Accessor(qualifier="orderEntryNumber", type=GETTER) public Integer getOrderEntryNumber()
      Generated method - Getter of the PromotionOrderEntryAdjustAction.orderEntryNumber attribute defined at extension promotions.
      Returns:
      the orderEntryNumber - The entry number in the order
    • getOrderEntryProduct

      @Accessor(qualifier="orderEntryProduct", type=GETTER) public ProductModel getOrderEntryProduct()
      Generated method - Getter of the PromotionOrderEntryAdjustAction.orderEntryProduct attribute defined at extension promotions.
      Returns:
      the orderEntryProduct - The product of the order entry to adjust
    • getOrderEntryQuantity

      @Accessor(qualifier="orderEntryQuantity", type=GETTER) public Long getOrderEntryQuantity()
      Generated method - Getter of the PromotionOrderEntryAdjustAction.orderEntryQuantity attribute defined at extension promotions.
      Returns:
      the orderEntryQuantity - The quantity of the order entry to adjust
    • setAmount

      @Accessor(qualifier="amount", type=SETTER) public void setAmount(Double value)
      Generated method - Setter of PromotionOrderEntryAdjustAction.amount attribute defined at extension promotions.
      Parameters:
      value - the amount - The amount to adjust the order entry by.
    • setOrderEntryNumber

      @Accessor(qualifier="orderEntryNumber", type=SETTER) public void setOrderEntryNumber(Integer value)
      Generated method - Setter of PromotionOrderEntryAdjustAction.orderEntryNumber attribute defined at extension promotions.
      Parameters:
      value - the orderEntryNumber - The entry number in the order
    • setOrderEntryProduct

      @Accessor(qualifier="orderEntryProduct", type=SETTER) public void setOrderEntryProduct(ProductModel value)
      Generated method - Setter of PromotionOrderEntryAdjustAction.orderEntryProduct attribute defined at extension promotions.
      Parameters:
      value - the orderEntryProduct - The product of the order entry to adjust
    • setOrderEntryQuantity

      @Accessor(qualifier="orderEntryQuantity", type=SETTER) public void setOrderEntryQuantity(Long value)
      Generated method - Setter of PromotionOrderEntryAdjustAction.orderEntryQuantity attribute defined at extension promotions.
      Parameters:
      value - the orderEntryQuantity - The quantity of the order entry to adjust