Module jonix.common

Enum Class OnixReturnsConditionss

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

public enum OnixReturnsConditionss extends Enum<OnixReturnsConditionss> implements OnixCodelist
Enum that corresponds to ONIX Codelist 204

Description: ONIX Returns conditions

See Also:
  • Enum Constant Details

    • Unspecified

      public static final OnixReturnsConditionss Unspecified
      Unspecified, contact supplier for details
    • Consignment

      public static final OnixReturnsConditionss Consignment
      The retailer pays for goods only after they are sold by the retailer to an end consumer, and may return excess unsold inventory to the supplier at any time. The goods remain the property of the supplier until they are paid for, even while they are physically located at the retailer
    • Firm_sale

      public static final OnixReturnsConditionss Firm_sale
      The retailer is invoiced for the goods immediately (or upon dispatch) and pays within the specified credit period, as in the sale or return model, but any excess unsold inventory cannot be returned to the supplier
    • Sale_or_return

      public static final OnixReturnsConditionss Sale_or_return
      Contact supplier for applicable returns authorization process. The retailer is invoiced for the goods immediately (or upon dispatch) and pays within the specified credit period, but can return excess unsold inventory to the supplier for full credit at a later date. Some kind of returns authorisation process is normally required. Returns must be in saleable conditon, except when return of stripped covers or proof of destruction may be allowed instead. For more detail, use codes 05, 06 or 07
    • Direct_fulfillment

      public static final OnixReturnsConditionss Direct_fulfillment
      The retailer pays for goods only after they are sold by the retailer to an end consumer, but all inventory remains physically located at the supplier (thus there can be no retailer returns of unsold inventory). When ordered by the retailer, the goods are delivered direct to the end consumer
    • Sale_or_return_of_saleable_copies

      public static final OnixReturnsConditionss Sale_or_return_of_saleable_copies
      Contact supplier for applicable returns authorization process. As for code 03, but only returns of saleable copies will be accepted. Only for use in ONIX 3.0 or later

      Jonix-Comment: Introduced in Onix3

    • Sale_or_return_of_stripped_covers

      public static final OnixReturnsConditionss Sale_or_return_of_stripped_covers
      Contact supplier for applicable cover returns authorization process. As for code 03, but only returns of stripped covers will be accepted. An additional barcode will likely be required on cover 2 (inside front cover) to facilitate scanning of returned covers. Only for use in ONIX 3.0 or later

      Jonix-Comment: Introduced in Onix3

    • Sale_or_certified_destruction

      public static final OnixReturnsConditionss Sale_or_certified_destruction
      Contact supplier for applicable destruction certification process. As for code 03, but only certified destruction will be accepted. Only for use in ONIX 3.0 or later

      Jonix-Comment: Introduced in Onix3

  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)