Module jonix.onix3

Class FreeQuantity

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

public class FreeQuantity extends Object implements OnixElement<Integer>, 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 Positive integer, suggested maximum length 4 digits
Reference name <FreeQuantity>
Short tag <j265>
Cardinality 1
Example <FreeQuantity>1</FreeQuantity>

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 FreeQuantity. 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 FreeQuantity EMPTY
  • Constructor Details

    • FreeQuantity

      public FreeQuantity()
    • FreeQuantity

      public FreeQuantity(Element element)
  • Method Details