java.lang.Object
com.tectonica.jonix.onix3.MinimumOrderQuantity
- All Implemented Interfaces:
OnixElement<Integer>
,OnixTag
,Serializable
Minimum qualifying order quantity
The minimum number of copies which must be ordered to obtain the price carried in an occurrence of the <Price> composite. Optional and non-repeating. If the field is present, the price is a quantity price (and only whole multiples of the qualifying quantity may be ordered at that price). If the field is omitted, the price applies to a single unit.
Note the similarity between <MinimumOrderQuantity> and <OrderQuantityMinimum> in P.26.41b: only <MinimumOrderQuantity> has an effect on the specification of <Price>. Use of <MinimumOrderQuantity> is close in effect to a multi-item trade pack (see <ProductComposition>).
Format | Positive integer, suggested maximum length 4 digits |
Reference name | <MinimumOrderQuantity> |
Short tag | <j263> |
Cardinality | 0…1 |
Example | <MinimumOrderQuantity>50</MinimumOrderQuantity> |
- <
Price
>
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final MinimumOrderQuantity
static final String
static final String
(type: dt.NonEmptyString)This is the raw content of MinimumOrderQuantity. -
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<MinimumOrderQuantity> 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:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
value
This is the raw content of MinimumOrderQuantity. 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
-
MinimumOrderQuantity
public MinimumOrderQuantity() -
MinimumOrderQuantity
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<Integer>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-