Class GeneratedSingleCodeCoupon

    • Field Detail

      • MAXREDEMPTIONSPERCUSTOMER

        public static final java.lang.String MAXREDEMPTIONSPERCUSTOMER
        Qualifier of the SingleCodeCoupon.maxRedemptionsPerCustomer attribute
        See Also:
        Constant Field Values
      • MAXTOTALREDEMPTIONS

        public static final java.lang.String MAXTOTALREDEMPTIONS
        Qualifier of the SingleCodeCoupon.maxTotalRedemptions attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedSingleCodeCoupon

        public GeneratedSingleCodeCoupon()
    • Method Detail

      • getMaxRedemptionsPerCustomer

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

        public java.lang.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,
                                                 java.lang.Integer value)
        Generated method - Setter of the SingleCodeCoupon.maxRedemptionsPerCustomer attribute.
        Parameters:
        value - the maxRedemptionsPerCustomer
      • setMaxRedemptionsPerCustomer

        public void setMaxRedemptionsPerCustomer​(java.lang.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 java.lang.Integer getMaxTotalRedemptions​(SessionContext ctx)
        Generated method - Getter of the SingleCodeCoupon.maxTotalRedemptions attribute.
        Returns:
        the maxTotalRedemptions
      • getMaxTotalRedemptions

        public java.lang.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,
                                           java.lang.Integer value)
        Generated method - Setter of the SingleCodeCoupon.maxTotalRedemptions attribute.
        Parameters:
        value - the maxTotalRedemptions
      • setMaxTotalRedemptions

        public void setMaxTotalRedemptions​(java.lang.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