Class GeneratedMultiCodeCoupon

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

public abstract class GeneratedMultiCodeCoupon extends AbstractCoupon
Generated class for type MultiCodeCoupon.
See Also:
  • Field Details

    • CODEGENERATIONCONFIGURATION

      public static final String CODEGENERATIONCONFIGURATION
      Qualifier of the MultiCodeCoupon.codeGenerationConfiguration attribute
      See Also:
    • GENERATEDCODES

      public static final String GENERATEDCODES
      Qualifier of the MultiCodeCoupon.generatedCodes attribute
      See Also:
    • ALPHABET

      public static final String ALPHABET
      Qualifier of the MultiCodeCoupon.alphabet attribute
      See Also:
    • SIGNATURE

      public static final String SIGNATURE
      Qualifier of the MultiCodeCoupon.signature attribute
      See Also:
    • COUPONCODENUMBER

      public static final String COUPONCODENUMBER
      Qualifier of the MultiCodeCoupon.couponCodeNumber attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedMultiCodeCoupon

      public GeneratedMultiCodeCoupon()
  • Method Details

    • getDefaultAttributeModes

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

      public 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 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, 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(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 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 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, 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.
    • 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 Collection<Media> getGeneratedCodes(SessionContext ctx)
      Generated method - Getter of the MultiCodeCoupon.generatedCodes attribute.
      Returns:
      the generatedCodes
    • getGeneratedCodes

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

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

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

      public 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 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, 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(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.