Module jonix.onix3

Class CurrencyCode

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

public class CurrencyCode extends Object implements OnixElement<CurrencyCodes>, Serializable

Currency code

An ONIX code identifying the currency in which all monetary amounts in an occurrence of the <Price> composite are stated. Optional and non-repeating, but required if the currency is not the default currency for the message (this default may be set in <DefaultCurrencyCode> – but doing so is deprecated). All ONIX messages must include an explicit statement of the currency used for any prices. To avoid any possible ambiguity, it is strongly recommended that the currency should be stated here for each individual price.

Format Fixed length, three letters, based on ISO 4217. Note that ISO 4217 specifies that currency codes shall be sent as upper case only
Codelist List 96
Reference name <CurrencyCode>
Short tag <j152>
Cardinality 0…1
Example <j152>ZAR</j152> (South African Rand)

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also: