Module jonix.onix3

Class PackQuantity

java.lang.Object
com.tectonica.jonix.onix3.PackQuantity
All Implemented Interfaces:
OnixElement<Integer>, OnixTag, Serializable

public class PackQuantity extends Object implements OnixElement<Integer>, 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>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

    • refname

      public static final String refname
      See Also:
    • shortname

      public static final String shortname
      See Also:
    • datestamp

      public String datestamp
      (type: dt.DateOrDateTime)
    • sourcename

      public String sourcename
      (type: dt.NonEmptyString)
    • sourcetype

      public RecordSourceTypes sourcetype
    • value

      public Integer value
      This is the raw content of PackQuantity. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      Raw Format: Positive integer, suggested maximum length 4 digits

      (type: dt.PositiveInteger)

    • EMPTY

      public static final PackQuantity EMPTY
  • Constructor Details

    • PackQuantity

      public PackQuantity()
    • PackQuantity

      public PackQuantity(Element element)
  • Method Details