Module jonix.common

Enum Class ProductClassificationTypes

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

public enum ProductClassificationTypes extends Enum<ProductClassificationTypes> implements OnixCodelist
Enum that corresponds to ONIX Codelist 9

Description: Product classification type

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>

    Nested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixCodelist

    OnixCodelist.Pair
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Australian 'Working tariff'.
    Canadian Customs Tariff scheme, 8 or 10 digits for imports into and exports from Canada.
    Mexican SAT classification, based on UN SPSC with later modifications (8 digits, without punctuation).
    EU Combined Nomenclature commodity codes, an extended version of the Harmonized System primarily for exports from the EU.
    Statistical Classification of Products by Activity in the European Economic Community, see http://ec.europa.eu/eurostat/ramon/nomenclatures/index.cfm?TargetUrl=LST_NOM_DTL&StrNom=CPA_2008.
    Common Procurement Vocabulary (2008), used to describe products and services for public tendering and procurement within the EU.
    Typologie de marché géré par Electre (Market segment code maintained by Electre)
    Centraal Boekhuis free classification field for publishers
    Product classification maintained by the Chinese General Administration of Press and Publication (http://www.gapp.gov.cn)
    UK Revenue and Customs classifications, based on the Harmonized System (8 or 10 digits, without punctuation, for exports from and imports into the UK respectively).
    US HTS (or HTSA) commodity codes for import of goods into USA (10 digits, without punctuation).
    Mercosur/Mercosul Common Nomenclature, based on the Harmonised System.
    Mexican Número de Identificación Comercial, 10 digits for imports into and exports from Mexico.
    Polish Classification of Products and Services (2015).
    A product category (not a subject classification) assigned by the sender
    EU TARIC codes, an extended version of the Harmonized System primarily for imports into the EU.
    UN Standard Product and Service Classification, including national versions adopted without any additions or changes to the codes or their meaning.
    US Schedule B commodity codes for export from USA (10 digits, without punctuation).
    German export trade classification, based on the Harmonised System
    World Customs Organization Harmonized Commodity Coding and Description System, the basis of most other commodity code schemes.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final String
     
    final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byCode(String code)
     
     
    static String
     
     
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.tectonica.jonix.common.OnixCodelist

    pair
  • Enum Constant Details

    • WCO_Harmonized_System

      public static final ProductClassificationTypes WCO_Harmonized_System
      World Customs Organization Harmonized Commodity Coding and Description System, the basis of most other commodity code schemes. Use 6 digits, without punctuation. See https://www.wcoomd.org/en/topics/nomenclature/instrument-and-tools/hs-nomenclature-2022-edition.aspx and https://www.wcotradetools.org/en/harmonized-system
    • UNSPSC

      public static final ProductClassificationTypes UNSPSC
      UN Standard Product and Service Classification, including national versions adopted without any additions or changes to the codes or their meaning. Use 8 (or occasionally 10) digits, without punctuation
    • HMRC

      public static final ProductClassificationTypes HMRC
      UK Revenue and Customs classifications, based on the Harmonized System (8 or 10 digits, without punctuation, for exports from and imports into the UK respectively). See https://www.gov.uk/trade-tariff
    • Warenverzeichnis_fur_die_Auenhandelsstatistik

      public static final ProductClassificationTypes Warenverzeichnis_fur_die_Auenhandelsstatistik
      German export trade classification, based on the Harmonised System
    • TARIC

      public static final ProductClassificationTypes TARIC
      EU TARIC codes, an extended version of the Harmonized System primarily for imports into the EU. Use 10 digits, without punctuation. See https://taxation-customs.ec.europa.eu/customs-4/calculation-customs-duties/customs-tariff/eu-customs-tariff-taric_en
    • Fondsgroep

      public static final ProductClassificationTypes Fondsgroep
      Centraal Boekhuis free classification field for publishers
    • Senders_product_category

      public static final ProductClassificationTypes Senders_product_category
      A product category (not a subject classification) assigned by the sender
    • GAPP_Product_Class

      public static final ProductClassificationTypes GAPP_Product_Class
      Product classification maintained by the Chinese General Administration of Press and Publication (http://www.gapp.gov.cn)
    • CPA

      public static final ProductClassificationTypes CPA
      Statistical Classification of Products by Activity in the European Economic Community, see http://ec.europa.eu/eurostat/ramon/nomenclatures/index.cfm?TargetUrl=LST_NOM_DTL&StrNom=CPA_2008. Use 6 digits, without punctuation. For example, printed children's books are '58.11.13', but the periods are normally ommited in ONIX
    • NCM

      public static final ProductClassificationTypes NCM
      Mercosur/Mercosul Common Nomenclature, based on the Harmonised System. Use 8 digits, without punctuation
    • CPV

      public static final ProductClassificationTypes CPV
      Common Procurement Vocabulary (2008), used to describe products and services for public tendering and procurement within the EU. Code is a nine digit number (including the check digit), and may also include a space plus an alphanumeric code of two letters and three digits (including the supplementary check digit) from the Supplementary Vocabulary. See https://simap.ted.europa.eu/web/simap/cpv
    • PKWiU

      public static final ProductClassificationTypes PKWiU
      Polish Classification of Products and Services (2015). Use a single letter followed by 2 to 7 digits, without punctuation. Only for use in ONIX 3.0 or later

      Jonix-Comment: Introduced in Onix3

    • HTSUS

      public static final ProductClassificationTypes HTSUS
      US HTS (or HTSA) commodity codes for import of goods into USA (10 digits, without punctuation). Only for use in ONIX 3.0 or later. See https://hts.usitc.gov/current

      Jonix-Comment: Introduced in Onix3

    • US_Schedule_B

      public static final ProductClassificationTypes US_Schedule_B
      US Schedule B commodity codes for export from USA (10 digits, without punctuation). Only for use in ONIX 3.0 or later. See http://uscensus.prod.3ceonline.com

      Jonix-Comment: Introduced in Onix3

    • Clave_SAT

      public static final ProductClassificationTypes Clave_SAT
      Mexican SAT classification, based on UN SPSC with later modifications (8 digits, without punctuation). Only for use in ONIX 3.0 or later. See https://www.sat.gob.mx/consultas/53693/catalogo-de-productos-y-servicios

      Jonix-Comment: Introduced in Onix3

    • CN

      public static final ProductClassificationTypes CN
      EU Combined Nomenclature commodity codes, an extended version of the Harmonized System primarily for exports from the EU. Use 8 digits, without punctuation. Only for use in ONIX 3.0 or later. See https://trade.ec.europa.eu/access-to-markets/en/content/combined-nomenclature-0

      Jonix-Comment: Introduced in Onix3

    • CCT

      public static final ProductClassificationTypes CCT
      Canadian Customs Tariff scheme, 8 or 10 digits for imports into and exports from Canada. Only for use in ONIX 3.0 or later. See https://www.cbsa-asfc.gc.ca/trade-commerce/tariff-tarif/menu-eng.html

      Jonix-Comment: Introduced in Onix3

    • CACT

      public static final ProductClassificationTypes CACT
      Australian 'Working tariff'. Combined Australian Customs Tariff Nomenclature and Statistical Classification. Only for use in ONIX 3.0 or later. See https://www.abf.gov.au/importing-exporting-and-manufacturing/tariff-classification

      Jonix-Comment: Introduced in Onix3

    • NICO

      public static final ProductClassificationTypes NICO
      Mexican Número de Identificación Comercial, 10 digits for imports into and exports from Mexico. Only for use in ONIX 3.0 or later. See https://www.snice.gob.mx/cs/avi/snice/nico.ligie.html

      Jonix-Comment: Introduced in Onix3

    • Electre_genre

      public static final ProductClassificationTypes Electre_genre
      Typologie de marché géré par Electre (Market segment code maintained by Electre)
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)