Module jonix.onix3

Class TaxRatePercent

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

public class TaxRatePercent extends Object implements OnixElement<Double>, Serializable

Tax rate percent

A tax rate expressed numerically as a percentage. Optional and non-repeating; but either <TaxRatePercent> or <TaxAmount> or both must be present in each occurrence of the <Tax> composite.

Format Real number between zero and 100 (inclusive), with explicit decimal point when required, suggested maximum length 7 characters
Reference name <TaxRatePercent>
Short tag <x472>
Cardinality 0…1
Example <TaxRatePercent>17.5</TaxRatePercent>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

    • refname

      public static final String refname
      See Also:
    • shortname

      public static final String shortname
      See Also:
    • datestamp

      public String datestamp
      (type: dt.DateOrDateTime)
    • sourcename

      public String sourcename
      (type: dt.NonEmptyString)
    • sourcetype

      public RecordSourceTypes sourcetype
    • value

      public Double value
      This is the raw content of TaxRatePercent. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      Raw Format: Real number between zero and 100 (inclusive), with explicit decimal point when required, suggested maximum length 7 characters

      (type: dt.PercentDecimal)

    • EMPTY

      public static final TaxRatePercent EMPTY
  • Constructor Details

    • TaxRatePercent

      public TaxRatePercent()
    • TaxRatePercent

      public TaxRatePercent(Element element)
  • Method Details