Module jonix.common

Class JonixDiscountCoded

java.lang.Object
com.tectonica.jonix.common.struct.JonixDiscountCoded
All Implemented Interfaces:
JonixKeyedStruct<DiscountCodeTypes>, JonixStruct, Serializable

public class JonixDiscountCoded extends Object implements JonixKeyedStruct<DiscountCodeTypes>, Serializable
This class is a JonixStruct that represents both Onix2 <DiscountCoded> and Onix3 <DiscountCoded>.

It can be retrieved from the composite by invoking its asStruct() method.

See Also:
  • Field Details

    • EMPTY

      public static final JonixDiscountCoded EMPTY
    • discountCodeType

      public DiscountCodeTypes discountCodeType
      the key of this struct (by which it can be looked up)
    • discountCode

      public String discountCode
      Raw Format: According to the scheme specified in <DiscountCodeType>

      (type: dt.NonEmptyString)

    • discountCodeTypeName

      public String discountCodeTypeName
      Raw Format: Variable length text, suggested maximum length 100 characters

      (type: dt.NonEmptyString)

  • Constructor Details

    • JonixDiscountCoded

      public JonixDiscountCoded()
  • Method Details