java.lang.Object
com.tectonica.jonix.onix2.ClassOfTrade
- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
Class of trade USA only
Text indicating the class of trade to which the price carried in an occurrence of the <Price> composite is applicable, eg Institutional, General trade, Wholesale distributor, which may be represented by a suitable code or abbreviation agreed between trading partners. This element should be used only in the absence of a “Default class of trade” <m193> in the message header, or when the class of trade is other than the default.
Format | Text, suggested maximum length 50 characters |
Reference name | <ClassOfTrade> |
Short tag | <j149> |
Example | <ClassOfTrade>gen</ClassOfTrade> |
- <
Price
>
Product
⯈SupplyDetail
⯈Price
⯈ClassOfTrade
Product
⯈SupplyDetail
⯈Reissue
⯈Price
⯈ClassOfTrade
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final ClassOfTrade
static final String
static final String
This is the raw content of ClassOfTrade. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__v()
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field insteadboolean
exists()
indicates whether this tag exists in the ONIX recordvoid
ifExists
(Consumer<ClassOfTrade> action) 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
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
value
This is the raw content of ClassOfTrade. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Text, suggested maximum length 50 characters
(type: NonEmptyString)
-
EMPTY
-
-
Constructor Details
-
ClassOfTrade
public ClassOfTrade() -
ClassOfTrade
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<String>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-