Module jonix.onix3

Class TaxExempt

java.lang.Object
com.tectonica.jonix.onix3.TaxExempt
All Implemented Interfaces:
OnixFlag, OnixTag, Serializable

public class TaxExempt extends Object implements OnixFlag, Serializable

Tax exempt flag

An empty element that identifies a product price as being specifically exempted from tax. Optional, and used only when <PriceType> indicates an exc-tax price.

Note that tax exempt status is rare: it applies in only a very few countries. Tax exempt is distinct from the case where tax details are not specified (as is the case with most North American Prices) and also distinct from the case where tax is levied at zero percent (as is the case for physical books in the UK, for example).

Format XML empty element
Reference name <TaxExempt>
Short tag <x546>
Cardinality 0…1
Example <TaxExempt/>

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-3.05
See Also:
  • Field Details

  • Constructor Details

    • TaxExempt

      public TaxExempt()
    • TaxExempt

      public TaxExempt(Element element)
  • Method Details

    • 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 (<TaxExempt> or <x546>) is explicitly provided in the ONIX XML
    • ifExists

      public void ifExists(Consumer<TaxExempt> action)