Class GeneratedFlashBuyCoupon

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

public abstract class GeneratedFlashBuyCoupon extends SingleCodeCoupon
Generated class for type FlashBuyCoupon.
See Also:
  • Field Details

    • RULE

      public static final String RULE
      Qualifier of the FlashBuyCoupon.rule attribute
      See Also:
    • MAXPRODUCTQUANTITYPERORDER

      public static final String MAXPRODUCTQUANTITYPERORDER
      Qualifier of the FlashBuyCoupon.maxProductQuantityPerOrder attribute
      See Also:
    • PRODUCT

      public static final String PRODUCT
      Qualifier of the FlashBuyCoupon.product attribute
      See Also:
    • ORIGINALMAXORDERQUANTITY

      public static final String ORIGINALMAXORDERQUANTITY
      Qualifier of the FlashBuyCoupon.originalMaxOrderQuantity attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedFlashBuyCoupon

      public GeneratedFlashBuyCoupon()
  • Method Details

    • getDefaultAttributeModes

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

      public Integer getMaxProductQuantityPerOrder(SessionContext ctx)
      Generated method - Getter of the FlashBuyCoupon.maxProductQuantityPerOrder attribute.
      Returns:
      the maxProductQuantityPerOrder
    • getMaxProductQuantityPerOrder

      public Integer getMaxProductQuantityPerOrder()
      Generated method - Getter of the FlashBuyCoupon.maxProductQuantityPerOrder attribute.
      Returns:
      the maxProductQuantityPerOrder
    • getMaxProductQuantityPerOrderAsPrimitive

      public int getMaxProductQuantityPerOrderAsPrimitive(SessionContext ctx)
      Generated method - Getter of the FlashBuyCoupon.maxProductQuantityPerOrder attribute.
      Returns:
      the maxProductQuantityPerOrder
    • getMaxProductQuantityPerOrderAsPrimitive

      public int getMaxProductQuantityPerOrderAsPrimitive()
      Generated method - Getter of the FlashBuyCoupon.maxProductQuantityPerOrder attribute.
      Returns:
      the maxProductQuantityPerOrder
    • setMaxProductQuantityPerOrder

      public void setMaxProductQuantityPerOrder(SessionContext ctx, Integer value)
      Generated method - Setter of the FlashBuyCoupon.maxProductQuantityPerOrder attribute.
      Parameters:
      value - the maxProductQuantityPerOrder
    • setMaxProductQuantityPerOrder

      public void setMaxProductQuantityPerOrder(Integer value)
      Generated method - Setter of the FlashBuyCoupon.maxProductQuantityPerOrder attribute.
      Parameters:
      value - the maxProductQuantityPerOrder
    • setMaxProductQuantityPerOrder

      public void setMaxProductQuantityPerOrder(SessionContext ctx, int value)
      Generated method - Setter of the FlashBuyCoupon.maxProductQuantityPerOrder attribute.
      Parameters:
      value - the maxProductQuantityPerOrder
    • setMaxProductQuantityPerOrder

      public void setMaxProductQuantityPerOrder(int value)
      Generated method - Setter of the FlashBuyCoupon.maxProductQuantityPerOrder attribute.
      Parameters:
      value - the maxProductQuantityPerOrder
    • getOriginalMaxOrderQuantity

      public Integer getOriginalMaxOrderQuantity(SessionContext ctx)
      Generated method - Getter of the FlashBuyCoupon.originalMaxOrderQuantity attribute.
      Returns:
      the originalMaxOrderQuantity
    • getOriginalMaxOrderQuantity

      public Integer getOriginalMaxOrderQuantity()
      Generated method - Getter of the FlashBuyCoupon.originalMaxOrderQuantity attribute.
      Returns:
      the originalMaxOrderQuantity
    • getOriginalMaxOrderQuantityAsPrimitive

      public int getOriginalMaxOrderQuantityAsPrimitive(SessionContext ctx)
      Generated method - Getter of the FlashBuyCoupon.originalMaxOrderQuantity attribute.
      Returns:
      the originalMaxOrderQuantity
    • getOriginalMaxOrderQuantityAsPrimitive

      public int getOriginalMaxOrderQuantityAsPrimitive()
      Generated method - Getter of the FlashBuyCoupon.originalMaxOrderQuantity attribute.
      Returns:
      the originalMaxOrderQuantity
    • setOriginalMaxOrderQuantity

      public void setOriginalMaxOrderQuantity(SessionContext ctx, Integer value)
      Generated method - Setter of the FlashBuyCoupon.originalMaxOrderQuantity attribute.
      Parameters:
      value - the originalMaxOrderQuantity
    • setOriginalMaxOrderQuantity

      public void setOriginalMaxOrderQuantity(Integer value)
      Generated method - Setter of the FlashBuyCoupon.originalMaxOrderQuantity attribute.
      Parameters:
      value - the originalMaxOrderQuantity
    • setOriginalMaxOrderQuantity

      public void setOriginalMaxOrderQuantity(SessionContext ctx, int value)
      Generated method - Setter of the FlashBuyCoupon.originalMaxOrderQuantity attribute.
      Parameters:
      value - the originalMaxOrderQuantity
    • setOriginalMaxOrderQuantity

      public void setOriginalMaxOrderQuantity(int value)
      Generated method - Setter of the FlashBuyCoupon.originalMaxOrderQuantity attribute.
      Parameters:
      value - the originalMaxOrderQuantity
    • getProduct

      public Product getProduct(SessionContext ctx)
      Generated method - Getter of the FlashBuyCoupon.product attribute.
      Returns:
      the product
    • getProduct

      public Product getProduct()
      Generated method - Getter of the FlashBuyCoupon.product attribute.
      Returns:
      the product
    • setProduct

      public void setProduct(SessionContext ctx, Product value)
      Generated method - Setter of the FlashBuyCoupon.product attribute.
      Parameters:
      value - the product
    • setProduct

      public void setProduct(Product value)
      Generated method - Setter of the FlashBuyCoupon.product attribute.
      Parameters:
      value - the product
    • getRule

      public PromotionSourceRule getRule(SessionContext ctx)
      Generated method - Getter of the FlashBuyCoupon.rule attribute.
      Returns:
      the rule
    • getRule

      public PromotionSourceRule getRule()
      Generated method - Getter of the FlashBuyCoupon.rule attribute.
      Returns:
      the rule
    • setRule

      public void setRule(SessionContext ctx, PromotionSourceRule value)
      Generated method - Setter of the FlashBuyCoupon.rule attribute.
      Parameters:
      value - the rule
    • setRule

      public void setRule(PromotionSourceRule value)
      Generated method - Setter of the FlashBuyCoupon.rule attribute.
      Parameters:
      value - the rule