Module jonix.common

Enum Class SalesOutletIdentifierTypes

java.lang.Object
java.lang.Enum<SalesOutletIdentifierTypes>
com.tectonica.jonix.common.codelist.SalesOutletIdentifierTypes
All Implemented Interfaces:
OnixCodelist, Serializable, Comparable<SalesOutletIdentifierTypes>, Constable

public enum SalesOutletIdentifierTypes extends Enum<SalesOutletIdentifierTypes> implements OnixCodelist
Enum that corresponds to ONIX Codelist 102

Description: Sales outlet identifier type

See Also:
  • Enum Constant Details

    • Proprietary

      public static final SalesOutletIdentifierTypes Proprietary
      Proprietary list of retail and other end-user sales outlet IDs. Note that <IDTypeName> is required with proprietary identifiers
    • ONIX_retail_sales_outlet_ID_code

      public static final SalesOutletIdentifierTypes ONIX_retail_sales_outlet_ID_code
      Use with ONIX retail and other end-user sales outlet IDs from List 139
    • Retail_sales_outlet_GLN

      public static final SalesOutletIdentifierTypes Retail_sales_outlet_GLN
      13-digit GS1 global location number (formerly EAN location number). Only for use in ONIX 3.0 or later

      Jonix-Comment: Introduced in Onix3

    • Retail_sales_outlet_SAN

      public static final SalesOutletIdentifierTypes Retail_sales_outlet_SAN
      7-digit Book trade Standard Address Number (US, UK etc). Only for use in ONIX 3.0 or later

      Jonix-Comment: Introduced in Onix3

    • BIC_sales_outlet_ID_code

      public static final SalesOutletIdentifierTypes BIC_sales_outlet_ID_code
      DEPRECATED - use code 03

      Jonix-Comment: Deprecated in Onix3

  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

      public static SalesOutletIdentifierTypes[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SalesOutletIdentifierTypes valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public String getCode()
      Specified by:
      getCode in interface OnixCodelist
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface OnixCodelist
    • byCode

      public static SalesOutletIdentifierTypes byCode(String code)
    • byCodeOptional

      public static Optional<SalesOutletIdentifierTypes> byCodeOptional(String code)
    • codeToDesciption

      public static String codeToDesciption(String code)