Class GeneratedSingleCodeCoupon

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

public abstract class GeneratedSingleCodeCoupon extends AbstractCoupon
Generated class for type SingleCodeCoupon.
See Also:
  • Field Details

    • MAXREDEMPTIONSPERCUSTOMER

      public static final String MAXREDEMPTIONSPERCUSTOMER
      Qualifier of the SingleCodeCoupon.maxRedemptionsPerCustomer attribute
      See Also:
    • MAXTOTALREDEMPTIONS

      public static final String MAXTOTALREDEMPTIONS
      Qualifier of the SingleCodeCoupon.maxTotalRedemptions attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedSingleCodeCoupon

      public GeneratedSingleCodeCoupon()
  • Method Details

    • getDefaultAttributeModes

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

      public Integer getMaxRedemptionsPerCustomer(SessionContext ctx)
      Generated method - Getter of the SingleCodeCoupon.maxRedemptionsPerCustomer attribute.
      Returns:
      the maxRedemptionsPerCustomer
    • getMaxRedemptionsPerCustomer

      public Integer getMaxRedemptionsPerCustomer()
      Generated method - Getter of the SingleCodeCoupon.maxRedemptionsPerCustomer attribute.
      Returns:
      the maxRedemptionsPerCustomer
    • getMaxRedemptionsPerCustomerAsPrimitive

      public int getMaxRedemptionsPerCustomerAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SingleCodeCoupon.maxRedemptionsPerCustomer attribute.
      Returns:
      the maxRedemptionsPerCustomer
    • getMaxRedemptionsPerCustomerAsPrimitive

      public int getMaxRedemptionsPerCustomerAsPrimitive()
      Generated method - Getter of the SingleCodeCoupon.maxRedemptionsPerCustomer attribute.
      Returns:
      the maxRedemptionsPerCustomer
    • setMaxRedemptionsPerCustomer

      public void setMaxRedemptionsPerCustomer(SessionContext ctx, Integer value)
      Generated method - Setter of the SingleCodeCoupon.maxRedemptionsPerCustomer attribute.
      Parameters:
      value - the maxRedemptionsPerCustomer
    • setMaxRedemptionsPerCustomer

      public void setMaxRedemptionsPerCustomer(Integer value)
      Generated method - Setter of the SingleCodeCoupon.maxRedemptionsPerCustomer attribute.
      Parameters:
      value - the maxRedemptionsPerCustomer
    • setMaxRedemptionsPerCustomer

      public void setMaxRedemptionsPerCustomer(SessionContext ctx, int value)
      Generated method - Setter of the SingleCodeCoupon.maxRedemptionsPerCustomer attribute.
      Parameters:
      value - the maxRedemptionsPerCustomer
    • setMaxRedemptionsPerCustomer

      public void setMaxRedemptionsPerCustomer(int value)
      Generated method - Setter of the SingleCodeCoupon.maxRedemptionsPerCustomer attribute.
      Parameters:
      value - the maxRedemptionsPerCustomer
    • getMaxTotalRedemptions

      public Integer getMaxTotalRedemptions(SessionContext ctx)
      Generated method - Getter of the SingleCodeCoupon.maxTotalRedemptions attribute.
      Returns:
      the maxTotalRedemptions
    • getMaxTotalRedemptions

      public Integer getMaxTotalRedemptions()
      Generated method - Getter of the SingleCodeCoupon.maxTotalRedemptions attribute.
      Returns:
      the maxTotalRedemptions
    • getMaxTotalRedemptionsAsPrimitive

      public int getMaxTotalRedemptionsAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SingleCodeCoupon.maxTotalRedemptions attribute.
      Returns:
      the maxTotalRedemptions
    • getMaxTotalRedemptionsAsPrimitive

      public int getMaxTotalRedemptionsAsPrimitive()
      Generated method - Getter of the SingleCodeCoupon.maxTotalRedemptions attribute.
      Returns:
      the maxTotalRedemptions
    • setMaxTotalRedemptions

      public void setMaxTotalRedemptions(SessionContext ctx, Integer value)
      Generated method - Setter of the SingleCodeCoupon.maxTotalRedemptions attribute.
      Parameters:
      value - the maxTotalRedemptions
    • setMaxTotalRedemptions

      public void setMaxTotalRedemptions(Integer value)
      Generated method - Setter of the SingleCodeCoupon.maxTotalRedemptions attribute.
      Parameters:
      value - the maxTotalRedemptions
    • setMaxTotalRedemptions

      public void setMaxTotalRedemptions(SessionContext ctx, int value)
      Generated method - Setter of the SingleCodeCoupon.maxTotalRedemptions attribute.
      Parameters:
      value - the maxTotalRedemptions
    • setMaxTotalRedemptions

      public void setMaxTotalRedemptions(int value)
      Generated method - Setter of the SingleCodeCoupon.maxTotalRedemptions attribute.
      Parameters:
      value - the maxTotalRedemptions