Module jonix.onix2

Class SalesOutlet

java.lang.Object
com.tectonica.jonix.onix2.SalesOutlet
All Implemented Interfaces:
OnixComposite, OnixComposite.OnixSuperComposite, OnixTag, Serializable

public class SalesOutlet extends Object implements OnixComposite.OnixSuperComposite, Serializable

Sales outlet composite

An optional and repeatable group of data elements which together identify a sales outlet to which a restriction is linked. Each occurrence of the composite must include a <SalesOutletIdentifier> composite or a <SalesOutletName> or both.

Reference name <SalesOutlet>
Short tag <salesoutlet>

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-2.1
See Also:
  • Field Details

  • Constructor Details

    • SalesOutlet

      public SalesOutlet()
    • SalesOutlet

      public SalesOutlet(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 (<SalesOutlet> or <salesoutlet>) is explicitly provided in the ONIX XML
    • ifExists

      public void ifExists(Consumer<SalesOutlet> 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
    • salesOutletIdentifier

      public SalesOutletIdentifier salesOutletIdentifier()

      A group of data elements which together represent a coded identification of a person or organization, used here to identify a sales outlet. Non-repeating in this context.

      Jonix-Comment: this field is required
    • salesOutletName

      public SalesOutletName salesOutletName()

      The name of a wholesale or retail sales outlet to which a sales restriction is linked. Non-repeating.

      Jonix-Comment: this field is optional