java.lang.Object
com.tectonica.jonix.onix3.DefaultCurrencyCode
- All Implemented Interfaces:
OnixElement<CurrencyCodes>
,OnixTag
,Serializable
@Deprecated
public class DefaultCurrencyCode
extends Object
implements OnixElement<CurrencyCodes>, Serializable
Deprecated.
Default currency
An ONIX code indicating the default currency which is assumed for prices of products listed in the message, unless the Currency code is explicitly stated by sending a Currency code in each <Price> composite for each Product record. Optional and non-repeating. To avoid any possible ambiguity, use of this default is deprecated, but any default supplied will be assumed for all prices in Group P.26 which do not specify the Currency code explicitly. It is strongly recommended that the Currency code should be specified in the <Price> composite 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 | <DefaultCurrencyCode> |
Short tag | <m186> |
Cardinality | 0…1 |
Example | <DefaultCurrencyCode>USD</DefaultCurrencyCode> |
- <
Header
>
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionDeprecated.(type: dt.DateOrDateTime)static final DefaultCurrencyCode
Deprecated.static final String
Deprecated.static final String
Deprecated.Deprecated.(type: dt.NonEmptyString)Deprecated.Deprecated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__v()
Deprecated.Internal API, use theOnixElement.value()
method or theOnixElement.value()
field insteadDeprecated.Deprecated.boolean
exists()
Deprecated.indicates whether this tag exists in the ONIX recordvoid
ifExists
(Consumer<DefaultCurrencyCode> action) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tectonica.jonix.common.OnixElement
equal, is, isNull, value
-
Field Details
-
refname
Deprecated.- See Also:
-
shortname
Deprecated.- See Also:
-
datestamp
Deprecated.(type: dt.DateOrDateTime) -
sourcename
Deprecated.(type: dt.NonEmptyString) -
sourcetype
Deprecated. -
value
Deprecated. -
EMPTY
Deprecated.
-
-
Constructor Details
-
DefaultCurrencyCode
public DefaultCurrencyCode()Deprecated. -
DefaultCurrencyCode
Deprecated.
-
-
Method Details
-
__v
Deprecated.Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<CurrencyCodes>
-
exists
public boolean exists()Deprecated.Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
Deprecated. -
codeOrNull
Deprecated. -
descriptionOrNull
Deprecated.
-