Class GeneratedMultiCodeCoupon

    • Field Detail

      • CODEGENERATIONCONFIGURATION

        public static final java.lang.String CODEGENERATIONCONFIGURATION
        Qualifier of the MultiCodeCoupon.codeGenerationConfiguration attribute
        See Also:
        Constant Field Values
      • GENERATEDCODES

        public static final java.lang.String GENERATEDCODES
        Qualifier of the MultiCodeCoupon.generatedCodes attribute
        See Also:
        Constant Field Values
      • ALPHABET

        public static final java.lang.String ALPHABET
        Qualifier of the MultiCodeCoupon.alphabet attribute
        See Also:
        Constant Field Values
      • SIGNATURE

        public static final java.lang.String SIGNATURE
        Qualifier of the MultiCodeCoupon.signature attribute
        See Also:
        Constant Field Values
      • COUPONCODENUMBER

        public static final java.lang.String COUPONCODENUMBER
        Qualifier of the MultiCodeCoupon.couponCodeNumber 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

      • GeneratedMultiCodeCoupon

        public GeneratedMultiCodeCoupon()
    • Method Detail

      • getAlphabet

        public java.lang.String getAlphabet​(SessionContext ctx)
        Generated method - Getter of the MultiCodeCoupon.alphabet attribute.
        Returns:
        the alphabet - used for coupon code generation. The alphabet is a 16 character long distinct set of characters.
      • getAlphabet

        public java.lang.String getAlphabet()
        Generated method - Getter of the MultiCodeCoupon.alphabet attribute.
        Returns:
        the alphabet - used for coupon code generation. The alphabet is a 16 character long distinct set of characters.
      • setAlphabet

        protected void setAlphabet​(SessionContext ctx,
                                   java.lang.String value)
        Generated method - Setter of the MultiCodeCoupon.alphabet attribute.
        Parameters:
        value - the alphabet - used for coupon code generation. The alphabet is a 16 character long distinct set of characters.
      • setAlphabet

        protected void setAlphabet​(java.lang.String value)
        Generated method - Setter of the MultiCodeCoupon.alphabet attribute.
        Parameters:
        value - the alphabet - used for coupon code generation. The alphabet is a 16 character long distinct set of characters.
      • getCodeGenerationConfiguration

        public CodeGenerationConfiguration getCodeGenerationConfiguration​(SessionContext ctx)
        Generated method - Getter of the MultiCodeCoupon.codeGenerationConfiguration attribute.
        Returns:
        the codeGenerationConfiguration
      • getCodeGenerationConfiguration

        public CodeGenerationConfiguration getCodeGenerationConfiguration()
        Generated method - Getter of the MultiCodeCoupon.codeGenerationConfiguration attribute.
        Returns:
        the codeGenerationConfiguration
      • setCodeGenerationConfiguration

        public void setCodeGenerationConfiguration​(SessionContext ctx,
                                                   CodeGenerationConfiguration value)
        Generated method - Setter of the MultiCodeCoupon.codeGenerationConfiguration attribute.
        Parameters:
        value - the codeGenerationConfiguration
      • setCodeGenerationConfiguration

        public void setCodeGenerationConfiguration​(CodeGenerationConfiguration value)
        Generated method - Setter of the MultiCodeCoupon.codeGenerationConfiguration attribute.
        Parameters:
        value - the codeGenerationConfiguration
      • getCouponCodeNumber

        public java.lang.Long getCouponCodeNumber​(SessionContext ctx)
        Generated method - Getter of the MultiCodeCoupon.couponCodeNumber attribute.
        Returns:
        the couponCodeNumber - used for coupon code generation. The coupon code number functions as a seed for coupon codes.
      • getCouponCodeNumber

        public java.lang.Long getCouponCodeNumber()
        Generated method - Getter of the MultiCodeCoupon.couponCodeNumber attribute.
        Returns:
        the couponCodeNumber - used for coupon code generation. The coupon code number functions as a seed for coupon codes.
      • getCouponCodeNumberAsPrimitive

        public long getCouponCodeNumberAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the MultiCodeCoupon.couponCodeNumber attribute.
        Returns:
        the couponCodeNumber - used for coupon code generation. The coupon code number functions as a seed for coupon codes.
      • getCouponCodeNumberAsPrimitive

        public long getCouponCodeNumberAsPrimitive()
        Generated method - Getter of the MultiCodeCoupon.couponCodeNumber attribute.
        Returns:
        the couponCodeNumber - used for coupon code generation. The coupon code number functions as a seed for coupon codes.
      • setCouponCodeNumber

        public void setCouponCodeNumber​(SessionContext ctx,
                                        java.lang.Long value)
        Generated method - Setter of the MultiCodeCoupon.couponCodeNumber attribute.
        Parameters:
        value - the couponCodeNumber - used for coupon code generation. The coupon code number functions as a seed for coupon codes.
      • setCouponCodeNumber

        public void setCouponCodeNumber​(java.lang.Long value)
        Generated method - Setter of the MultiCodeCoupon.couponCodeNumber attribute.
        Parameters:
        value - the couponCodeNumber - used for coupon code generation. The coupon code number functions as a seed for coupon codes.
      • setCouponCodeNumber

        public void setCouponCodeNumber​(SessionContext ctx,
                                        long value)
        Generated method - Setter of the MultiCodeCoupon.couponCodeNumber attribute.
        Parameters:
        value - the couponCodeNumber - used for coupon code generation. The coupon code number functions as a seed for coupon codes.
      • setCouponCodeNumber

        public void setCouponCodeNumber​(long value)
        Generated method - Setter of the MultiCodeCoupon.couponCodeNumber attribute.
        Parameters:
        value - the couponCodeNumber - used for coupon code generation. The coupon code number functions as a seed for coupon codes.
      • getGeneratedCodes

        public java.util.Collection<Media> getGeneratedCodes​(SessionContext ctx)
        Generated method - Getter of the MultiCodeCoupon.generatedCodes attribute.
        Returns:
        the generatedCodes
      • getGeneratedCodes

        public java.util.Collection<Media> getGeneratedCodes()
        Generated method - Getter of the MultiCodeCoupon.generatedCodes attribute.
        Returns:
        the generatedCodes
      • setGeneratedCodes

        public void setGeneratedCodes​(SessionContext ctx,
                                      java.util.Collection<Media> value)
        Generated method - Setter of the MultiCodeCoupon.generatedCodes attribute.
        Parameters:
        value - the generatedCodes
      • setGeneratedCodes

        public void setGeneratedCodes​(java.util.Collection<Media> value)
        Generated method - Setter of the MultiCodeCoupon.generatedCodes attribute.
        Parameters:
        value - the generatedCodes
      • getSignature

        public java.lang.String getSignature​(SessionContext ctx)
        Generated method - Getter of the MultiCodeCoupon.signature attribute.
        Returns:
        the signature - used for coupon code generation. The signature is a base64 encoded signature used for the ciphertext part of the coupon code.
      • getSignature

        public java.lang.String getSignature()
        Generated method - Getter of the MultiCodeCoupon.signature attribute.
        Returns:
        the signature - used for coupon code generation. The signature is a base64 encoded signature used for the ciphertext part of the coupon code.
      • setSignature

        protected void setSignature​(SessionContext ctx,
                                    java.lang.String value)
        Generated method - Setter of the MultiCodeCoupon.signature attribute.
        Parameters:
        value - the signature - used for coupon code generation. The signature is a base64 encoded signature used for the ciphertext part of the coupon code.
      • setSignature

        protected void setSignature​(java.lang.String value)
        Generated method - Setter of the MultiCodeCoupon.signature attribute.
        Parameters:
        value - the signature - used for coupon code generation. The signature is a base64 encoded signature used for the ciphertext part of the coupon code.