Class GeneratedRuleBasedOrderAddProductAction

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

public abstract class GeneratedRuleBasedOrderAddProductAction extends AbstractRuleBasedPromotionAction
Generated class for type RuleBasedOrderAddProductAction.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedRuleBasedOrderAddProductAction

      public GeneratedRuleBasedOrderAddProductAction()
  • Method Details

    • getDefaultAttributeModes

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

      public Product getProduct(SessionContext ctx)
      Generated method - Getter of the RuleBasedOrderAddProductAction.product attribute.
      Returns:
      the product - The product to be added
    • getProduct

      public Product getProduct()
      Generated method - Getter of the RuleBasedOrderAddProductAction.product attribute.
      Returns:
      the product - The product to be added
    • setProduct

      public void setProduct(SessionContext ctx, Product value)
      Generated method - Setter of the RuleBasedOrderAddProductAction.product attribute.
      Parameters:
      value - the product - The product to be added
    • setProduct

      public void setProduct(Product value)
      Generated method - Setter of the RuleBasedOrderAddProductAction.product attribute.
      Parameters:
      value - the product - The product to be added
    • getQuantity

      public Long getQuantity(SessionContext ctx)
      Generated method - Getter of the RuleBasedOrderAddProductAction.quantity attribute.
      Returns:
      the quantity - The quantity to be added
    • getQuantity

      public Long getQuantity()
      Generated method - Getter of the RuleBasedOrderAddProductAction.quantity attribute.
      Returns:
      the quantity - The quantity to be added
    • getQuantityAsPrimitive

      public long getQuantityAsPrimitive(SessionContext ctx)
      Generated method - Getter of the RuleBasedOrderAddProductAction.quantity attribute.
      Returns:
      the quantity - The quantity to be added
    • getQuantityAsPrimitive

      public long getQuantityAsPrimitive()
      Generated method - Getter of the RuleBasedOrderAddProductAction.quantity attribute.
      Returns:
      the quantity - The quantity to be added
    • setQuantity

      public void setQuantity(SessionContext ctx, Long value)
      Generated method - Setter of the RuleBasedOrderAddProductAction.quantity attribute.
      Parameters:
      value - the quantity - The quantity to be added
    • setQuantity

      public void setQuantity(Long value)
      Generated method - Setter of the RuleBasedOrderAddProductAction.quantity attribute.
      Parameters:
      value - the quantity - The quantity to be added
    • setQuantity

      public void setQuantity(SessionContext ctx, long value)
      Generated method - Setter of the RuleBasedOrderAddProductAction.quantity attribute.
      Parameters:
      value - the quantity - The quantity to be added
    • setQuantity

      public void setQuantity(long value)
      Generated method - Setter of the RuleBasedOrderAddProductAction.quantity attribute.
      Parameters:
      value - the quantity - The quantity to be added