Module jonix.common

Enum Class SupplierOwnCodeTypes

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

public enum SupplierOwnCodeTypes extends Enum<SupplierOwnCodeTypes> implements OnixCodelist
Enum that corresponds to ONIX Codelist 165

Description: Supplier own code type

See Also:
  • Enum Constant Details

    • Suppliers_sales_classification

      public static final SupplierOwnCodeTypes Suppliers_sales_classification
      A rating applied by a supplier (typically a wholesaler) to indicate its assessment of the expected or actual sales performance of a product
    • Suppliers_bonus_eligibility

      public static final SupplierOwnCodeTypes Suppliers_bonus_eligibility
      A supplier's coding of the eligibility of a product for a bonus scheme on overall sales
    • Publishers_sales_classification

      public static final SupplierOwnCodeTypes Publishers_sales_classification
      A rating applied by the publisher to indicate a sales category (eg backlist/frontlist, core stock etc). Use only when the publisher is not the 'supplier'
    • Suppliers_pricing_restriction_classification

      public static final SupplierOwnCodeTypes Suppliers_pricing_restriction_classification
      A classification applied by a supplier to a product sold on Agency terms, to indicate that retail price restrictions are applicable
    • Suppliers_sales_expectation

      public static final SupplierOwnCodeTypes Suppliers_sales_expectation
      Code is the ISBN of another book that had sales (both in terms of copy numbers and customer profile) comparable to that the distributor or supplier estimates for the product. <SupplierCodeValue> must be an ISBN-13 or GTIN-13
    • Publishers_sales_expectation

      public static final SupplierOwnCodeTypes Publishers_sales_expectation
      Code is the ISBN of another book that had sales (both in terms of copy numbers and customer profile) comparable to that the publisher estimates for the product. <SupplierCodeValue> must be an ISBN-13 or GTIN-13
    • Suppliers_order_routing_eligibility

      public static final SupplierOwnCodeTypes Suppliers_order_routing_eligibility
      Code indicates whether an order can be placed with the supplier indirectly via an intermediary system. The code name type indicates the specific intermediate order aggregation/routing platform and the code indicates the eligibility

      Jonix-Comment: Introduced in Onix3

  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

      public static SupplierOwnCodeTypes[] 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 SupplierOwnCodeTypes 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 SupplierOwnCodeTypes byCode(String code)
    • byCodeOptional

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

      public static String codeToDesciption(String code)