java.lang.Object
com.tectonica.jonix.onix3.PackQuantity
- All Implemented Interfaces:
OnixElement<Integer>,OnixTag,Serializable
Pack or carton quantity
The quantity in each carton or binder’s pack in stock currently held by the supplier. Optional and non-repeating.
Note that orders do not have to be aligned with multiples of the pack quantity, but such orders may be more convenient to handle.
| Format | Positive integer, suggested maximum length 4 digits |
| Reference name | <PackQuantity> |
| Short tag | <j145> |
| Cardinality | 0…1 |
| Example | <PackQuantity>24</PackQuantity> |
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(type: dt.DateOrDateTime)static final PackQuantitystatic final Stringstatic final String(type: dt.NonEmptyString)This is the raw content of PackQuantity. -
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<PackQuantity> 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 PackQuantity. 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
-
PackQuantity
public PackQuantity() -
PackQuantity
-
-
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
-