Class GeneratedRuleBasedOrderEntryAdjustAction

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
RuleBasedOrderEntryAdjustAction

public abstract class GeneratedRuleBasedOrderEntryAdjustAction extends AbstractRuleBasedPromotionAction
Generated class for type RuleBasedOrderEntryAdjustAction.
See Also:
  • Field Details

    • AMOUNT

      public static final String AMOUNT
      Qualifier of the RuleBasedOrderEntryAdjustAction.amount attribute
      See Also:
    • ORDERENTRYPRODUCT

      public static final String ORDERENTRYPRODUCT
      Qualifier of the RuleBasedOrderEntryAdjustAction.orderEntryProduct attribute
      See Also:
    • ORDERENTRYQUANTITY

      public static final String ORDERENTRYQUANTITY
      Qualifier of the RuleBasedOrderEntryAdjustAction.orderEntryQuantity attribute
      See Also:
    • ORDERENTRYNUMBER

      public static final String ORDERENTRYNUMBER
      Qualifier of the RuleBasedOrderEntryAdjustAction.orderEntryNumber attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedRuleBasedOrderEntryAdjustAction

      public GeneratedRuleBasedOrderEntryAdjustAction()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class GeneratedAbstractRuleBasedPromotionAction
    • getAmount

      public BigDecimal getAmount(SessionContext ctx)
      Generated method - Getter of the RuleBasedOrderEntryAdjustAction.amount attribute.
      Returns:
      the amount - The amount to adjust the order entry by.
    • getAmount

      public BigDecimal getAmount()
      Generated method - Getter of the RuleBasedOrderEntryAdjustAction.amount attribute.
      Returns:
      the amount - The amount to adjust the order entry by.
    • setAmount

      public void setAmount(SessionContext ctx, BigDecimal value)
      Generated method - Setter of the RuleBasedOrderEntryAdjustAction.amount attribute.
      Parameters:
      value - the amount - The amount to adjust the order entry by.
    • setAmount

      public void setAmount(BigDecimal value)
      Generated method - Setter of the RuleBasedOrderEntryAdjustAction.amount attribute.
      Parameters:
      value - the amount - The amount to adjust the order entry by.
    • getOrderEntryNumber

      public Integer getOrderEntryNumber(SessionContext ctx)
      Generated method - Getter of the RuleBasedOrderEntryAdjustAction.orderEntryNumber attribute.
      Returns:
      the orderEntryNumber - The entry number in the order
    • getOrderEntryNumber

      public Integer getOrderEntryNumber()
      Generated method - Getter of the RuleBasedOrderEntryAdjustAction.orderEntryNumber attribute.
      Returns:
      the orderEntryNumber - The entry number in the order
    • getOrderEntryNumberAsPrimitive

      public int getOrderEntryNumberAsPrimitive(SessionContext ctx)
      Generated method - Getter of the RuleBasedOrderEntryAdjustAction.orderEntryNumber attribute.
      Returns:
      the orderEntryNumber - The entry number in the order
    • getOrderEntryNumberAsPrimitive

      public int getOrderEntryNumberAsPrimitive()
      Generated method - Getter of the RuleBasedOrderEntryAdjustAction.orderEntryNumber attribute.
      Returns:
      the orderEntryNumber - The entry number in the order
    • setOrderEntryNumber

      public void setOrderEntryNumber(SessionContext ctx, Integer value)
      Generated method - Setter of the RuleBasedOrderEntryAdjustAction.orderEntryNumber attribute.
      Parameters:
      value - the orderEntryNumber - The entry number in the order
    • setOrderEntryNumber

      public void setOrderEntryNumber(Integer value)
      Generated method - Setter of the RuleBasedOrderEntryAdjustAction.orderEntryNumber attribute.
      Parameters:
      value - the orderEntryNumber - The entry number in the order
    • setOrderEntryNumber

      public void setOrderEntryNumber(SessionContext ctx, int value)
      Generated method - Setter of the RuleBasedOrderEntryAdjustAction.orderEntryNumber attribute.
      Parameters:
      value - the orderEntryNumber - The entry number in the order
    • setOrderEntryNumber

      public void setOrderEntryNumber(int value)
      Generated method - Setter of the RuleBasedOrderEntryAdjustAction.orderEntryNumber attribute.
      Parameters:
      value - the orderEntryNumber - The entry number in the order
    • getOrderEntryProduct

      public Product getOrderEntryProduct(SessionContext ctx)
      Generated method - Getter of the RuleBasedOrderEntryAdjustAction.orderEntryProduct attribute.
      Returns:
      the orderEntryProduct - The product of the order entry to adjust
    • getOrderEntryProduct

      public Product getOrderEntryProduct()
      Generated method - Getter of the RuleBasedOrderEntryAdjustAction.orderEntryProduct attribute.
      Returns:
      the orderEntryProduct - The product of the order entry to adjust
    • setOrderEntryProduct

      public void setOrderEntryProduct(SessionContext ctx, Product value)
      Generated method - Setter of the RuleBasedOrderEntryAdjustAction.orderEntryProduct attribute.
      Parameters:
      value - the orderEntryProduct - The product of the order entry to adjust
    • setOrderEntryProduct

      public void setOrderEntryProduct(Product value)
      Generated method - Setter of the RuleBasedOrderEntryAdjustAction.orderEntryProduct attribute.
      Parameters:
      value - the orderEntryProduct - The product of the order entry to adjust
    • getOrderEntryQuantity

      public Long getOrderEntryQuantity(SessionContext ctx)
      Generated method - Getter of the RuleBasedOrderEntryAdjustAction.orderEntryQuantity attribute.
      Returns:
      the orderEntryQuantity - The quantity of the order entry to adjust
    • getOrderEntryQuantity

      public Long getOrderEntryQuantity()
      Generated method - Getter of the RuleBasedOrderEntryAdjustAction.orderEntryQuantity attribute.
      Returns:
      the orderEntryQuantity - The quantity of the order entry to adjust
    • getOrderEntryQuantityAsPrimitive

      public long getOrderEntryQuantityAsPrimitive(SessionContext ctx)
      Generated method - Getter of the RuleBasedOrderEntryAdjustAction.orderEntryQuantity attribute.
      Returns:
      the orderEntryQuantity - The quantity of the order entry to adjust
    • getOrderEntryQuantityAsPrimitive

      public long getOrderEntryQuantityAsPrimitive()
      Generated method - Getter of the RuleBasedOrderEntryAdjustAction.orderEntryQuantity attribute.
      Returns:
      the orderEntryQuantity - The quantity of the order entry to adjust
    • setOrderEntryQuantity

      public void setOrderEntryQuantity(SessionContext ctx, Long value)
      Generated method - Setter of the RuleBasedOrderEntryAdjustAction.orderEntryQuantity attribute.
      Parameters:
      value - the orderEntryQuantity - The quantity of the order entry to adjust
    • setOrderEntryQuantity

      public void setOrderEntryQuantity(Long value)
      Generated method - Setter of the RuleBasedOrderEntryAdjustAction.orderEntryQuantity attribute.
      Parameters:
      value - the orderEntryQuantity - The quantity of the order entry to adjust
    • setOrderEntryQuantity

      public void setOrderEntryQuantity(SessionContext ctx, long value)
      Generated method - Setter of the RuleBasedOrderEntryAdjustAction.orderEntryQuantity attribute.
      Parameters:
      value - the orderEntryQuantity - The quantity of the order entry to adjust
    • setOrderEntryQuantity

      public void setOrderEntryQuantity(long value)
      Generated method - Setter of the RuleBasedOrderEntryAdjustAction.orderEntryQuantity attribute.
      Parameters:
      value - the orderEntryQuantity - The quantity of the order entry to adjust