java.lang.Object
com.tectonica.jonix.onix3.BatchQuantity
- All Implemented Interfaces:
OnixElement<Integer>,OnixTag,Serializable
Batch quantity
The number of copies which must be ordered to obtain the free copies specified in <FreeQuantity>. Mandatory in each occurrence of the <BatchBonus> composite, and non-repeating.
| Format | Positive integer, suggested maximum length 4 digits |
| Reference name | <BatchQuantity> |
| Short tag | <j264> |
| Cardinality | 1 |
| Example | <j264>20</j264> |
Product⯈ProductSupply⯈SupplyDetail⯈Price⯈BatchBonus⯈BatchQuantity
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(type: dt.DateOrDateTime)static final BatchQuantitystatic final Stringstatic final String(type: dt.NonEmptyString)This is the raw content of BatchQuantity. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__v()Internal API, use theOnixElement.value()method or theOnixElement.value()field insteadbooleanexists()indicates whether this tag exists in the ONIX recordvoidifExists(Consumer<BatchQuantity> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tectonica.jonix.common.OnixElement
equal, is, isNull, value
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
value
This is the raw content of BatchQuantity. Could be null ifexists() == false. UseOnixElement.value()instead if you want to get this as anOptional.Raw Format: Positive integer, suggested maximum length 4 digits
(type: dt.PositiveInteger)
-
EMPTY
-
-
Constructor Details
-
BatchQuantity
public BatchQuantity() -
BatchQuantity
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()method or theOnixElement.value()field instead- Specified by:
__vin interfaceOnixElement<Integer>
-
exists
public boolean exists()Description copied from interface:OnixTagindicates whether this tag exists in the ONIX record -
ifExists
-