java.lang.Object
com.tectonica.jonix.onix2.FreeQuantity
- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
Free quantity
The number of free copies which will be supplied with an order for the batch quantity specified in the <BatchQuantity> field. Mandatory in each occurrence of the <BatchBonus> composite, and non-repeating.
Format | Variable-length integer, suggested maximum length 4 digits |
Reference name | <FreeQuantity> |
Short tag | <j265> |
Example | <j265>1</j265> |
Product
⯈SupplyDetail
⯈Price
⯈BatchBonus
⯈FreeQuantity
Product
⯈SupplyDetail
⯈Reissue
⯈Price
⯈BatchBonus
⯈FreeQuantity
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final FreeQuantity
static final String
static final String
This is the raw content of FreeQuantity. -
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<FreeQuantity> 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 FreeQuantity. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Variable-length integer, suggested maximum length 4 digits
(type: NonEmptyString)
-
EMPTY
-
-
Constructor Details
-
FreeQuantity
public FreeQuantity() -
FreeQuantity
-
-
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
-