Class GeneratedPromotionOrderAddFreeGiftAction

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
PromotionOrderAddFreeGiftAction, TestAction

public abstract class GeneratedPromotionOrderAddFreeGiftAction extends AbstractPromotionAction
Generated class for type PromotionOrderAddFreeGiftAction.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedPromotionOrderAddFreeGiftAction

      public GeneratedPromotionOrderAddFreeGiftAction()
  • Method Details

    • getDefaultAttributeModes

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

      public Product getFreeProduct(SessionContext ctx)
      Generated method - Getter of the PromotionOrderAddFreeGiftAction.freeProduct attribute.
      Returns:
      the freeProduct - The product given away as a gift
    • getFreeProduct

      public Product getFreeProduct()
      Generated method - Getter of the PromotionOrderAddFreeGiftAction.freeProduct attribute.
      Returns:
      the freeProduct - The product given away as a gift
    • setFreeProduct

      public void setFreeProduct(SessionContext ctx, Product value)
      Generated method - Setter of the PromotionOrderAddFreeGiftAction.freeProduct attribute.
      Parameters:
      value - the freeProduct - The product given away as a gift
    • setFreeProduct

      public void setFreeProduct(Product value)
      Generated method - Setter of the PromotionOrderAddFreeGiftAction.freeProduct attribute.
      Parameters:
      value - the freeProduct - The product given away as a gift