- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixSuperComposite
,OnixTag
,Serializable
New supplier composite
A group of data elements which together specify a new supply source to which orders are referred. Use only when the code in <ProductAvailability> or <AvailabilityCode> indicates “no longer available from us, refer to new supplier”. Only one occurrence of the composite is permitted in this context.
Reference name | <NewSupplier> |
Short tag | <newsupplier> |
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixComposite
OnixComposite.OnixDataComposite<V extends JonixStruct>, OnixComposite.OnixDataCompositeUncommon, OnixComposite.OnixDataCompositeWithKey<V extends JonixKeyedStruct<K>,
K extends Enum<K> & OnixCodelist>, OnixComposite.OnixSuperComposite -
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final NewSupplier
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.An email address for a supply source from which the product may be ordered by a trade customer.boolean
exists()
indicates whether this tag exists in the ONIX recordA fax number of a supply source from which the product may be ordered by a trade customer.For advanced use-cases only.void
ifExists
(Consumer<NewSupplier> action) An EAN-13 location number identifying a supplier.A repeatable group of data elements which together define the identifier of a supplier in accordance with a specified scheme, and allowing different types of supplier identifier to be included without defining additional data elements.The name of a supplier.A book trade Standard Address Number identifying a supplier.A telephone number of a supply source from which the product may be ordered by a trade customer.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
EMPTY
-
-
Constructor Details
-
NewSupplier
public NewSupplier() -
NewSupplier
-
-
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 interfaceOnixComposite
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
getXmlElement
Description copied from interface:OnixComposite
For advanced use-cases only.- Specified by:
getXmlElement
in interfaceOnixComposite
- Returns:
- native representation of the XML element underlying to this tag
-
supplierEANLocationNumber
An EAN-13 location number identifying a supplier. Now also known as an “EAN-UCC Global Location Number” or GLN. Optional and non-repeating, but each occurrence of the <NewSupplier> composite must carry either at least one supplier identifier, or a <SupplierName>.
Jonix-Comment: this field is required -
supplierSAN
A book trade Standard Address Number identifying a supplier. Used in the US and UK. Optional, but each occurrence of the <NewSupplier> composite must carry either at least one supplier identifier, or a <SupplierName>.
Jonix-Comment: this field is optional -
supplierName
The name of a supplier. Optional and non-repeating; required if no supplier identifier is sent in an occurrence of the <NewSupplier> composite.
Jonix-Comment: this field is optional -
supplierIdentifiers
public ListOfOnixDataCompositeWithKey<SupplierIdentifier,JonixSupplierIdentifier, supplierIdentifiers()SupplierIdentifierTypes> A repeatable group of data elements which together define the identifier of a supplier in accordance with a specified scheme, and allowing different types of supplier identifier to be included without defining additional data elements. Optional, but each occurrence of the <NewSupplier> composite must carry either at least one supplier identifier, or a <SupplierName>.
Jonix-Comment: this list may be empty -
telephoneNumbers
A telephone number of a supply source from which the product may be ordered by a trade customer. Optional and repeatable.
Jonix-Comment: this list may be empty -
faxNumbers
A fax number of a supply source from which the product may be ordered by a trade customer. Optional and repeatable.
Jonix-Comment: this list may be empty -
emailAddresss
An email address for a supply source from which the product may be ordered by a trade customer. Optional and repeatable.
Jonix-Comment: this list may be empty
-