Module jonix.onix3

Class PriceConstraintLimit

java.lang.Object
com.tectonica.jonix.onix3.PriceConstraintLimit
All Implemented Interfaces:
OnixComposite, OnixComposite.OnixDataComposite<JonixPriceConstraintLimit>, OnixTag, Serializable

public class PriceConstraintLimit extends Object implements OnixComposite.OnixDataComposite<JonixPriceConstraintLimit>, Serializable

Price constraint limit composite

An optional and repeatable group of data elements which together specify a quantitative limit on a particular type of contractual term or constraint.

Reference name <PriceConstraintLimit>
Short tag <priceconstraintlimit>
Cardinality 0…n

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-3.03
See Also:
  • Field Details

  • Constructor Details

    • PriceConstraintLimit

      public PriceConstraintLimit()
    • PriceConstraintLimit

      public PriceConstraintLimit(Element element)
  • Method Details

    • _initialize

      public void _initialize()
      Description copied from interface: OnixComposite
      This is an internal API. Since Jonix 8.0, composite objects are being populated lazily. This method initiates the population process, and is invoked internally by the accessor APIs of the composites
      Specified by:
      _initialize in interface OnixComposite
    • exists

      public boolean exists()
      Description copied from interface: OnixTag
      indicates whether this tag exists in the ONIX record
      Specified by:
      exists in interface OnixTag
      Returns:
      whether this tag (<PriceConstraintLimit> or <priceconstraintlimit>) is explicitly provided in the ONIX XML
    • ifExists

      public void ifExists(Consumer<PriceConstraintLimit> action)
    • getXmlElement

      public Element getXmlElement()
      Description copied from interface: OnixComposite
      For advanced use-cases only.
      Specified by:
      getXmlElement in interface OnixComposite
      Returns:
      native representation of the XML element underlying to this tag
    • quantity

      public Quantity quantity()

      A numeric value representing the maximum permitted quantity or limit of a particular type of constraint. Mandatory in each occurrence of the <PriceConstraintLimit> composite, and non-repeating.

      Jonix-Comment: this field is required
    • priceConstraintUnit

      public PriceConstraintUnit priceConstraintUnit()

      An ONIX code for a unit in which a maximum permitted quantity or limit is stated. Mandatory in each occurrence of the <PriceConstraintLimit> composite, and non-repeating.

      Jonix-Comment: this field is required
    • asStruct

      public JonixPriceConstraintLimit asStruct()
      Specified by:
      asStruct in interface OnixComposite.OnixDataComposite<JonixPriceConstraintLimit>