Module jonix.onix3

Class TaxType

java.lang.Object
com.tectonica.jonix.onix3.TaxType
All Implemented Interfaces:
OnixElement<TaxTypes>, OnixTag, Serializable

public class TaxType extends Object implements OnixElement<TaxTypes>, Serializable

Tax type

An ONIX code identifying a tax type, eg VAT. Optional, and non-repeating.

Format Fixed length, two digits
Codelist List 171
Reference name <TaxType>
Short tag <x470>
Cardinality 0…1
Example <TaxType>01</TaxType> (VAT)

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

  • Constructor Details

    • TaxType

      public TaxType()
    • TaxType

      public TaxType(Element element)
  • Method Details

    • __v

      public TaxTypes __v()
      Internal API, use the OnixElement.value() method or the OnixElement.value() field instead
      Specified by:
      __v in interface OnixElement<TaxTypes>
    • exists

      public boolean exists()
      Description copied from interface: OnixTag
      indicates whether this tag exists in the ONIX record
      Specified by:
      exists in interface OnixTag
      Returns:
      whether this tag (<TaxType> or <x470>) is explicitly provided in the ONIX XML
    • ifExists

      public void ifExists(Consumer<TaxType> action)
    • codeOrNull

      public String codeOrNull()
    • descriptionOrNull

      public String descriptionOrNull()