java.lang.Object
com.tectonica.jonix.onix2.DiscountCodeType
- All Implemented Interfaces:
OnixElement<DiscountCodeTypes>,OnixTag,Serializable
public class DiscountCodeType
extends Object
implements OnixElement<DiscountCodeTypes>, Serializable
Discount code type code
An ONIX code identifying the scheme from which the value in the <DiscountCode> element is taken. Mandatory in each occurrence of the <DiscountCoded> composite, and non-repeating.
| Format | Fixed-length, 2 numeric digits |
| Codelist | List 100 |
| Reference name | <DiscountCodeType> |
| Short tag | <j363> |
| Example | <DiscountCodeType>02</DiscountCodeType> Proprietary |
- Since:
- Onix-2.1
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(type: DateOrDateTime)static final DiscountCodeTypestatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__v()Internal API, use theOnixElement.value()method or theOnixElement.value()field insteadbooleanexists()indicates whether this tag exists in the ONIX recordvoidifExists(Consumer<DiscountCodeType> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tectonica.jonix.common.OnixElement
equal, is, isNull, value
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
value
-
EMPTY
-
-
Constructor Details
-
DiscountCodeType
public DiscountCodeType() -
DiscountCodeType
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()method or theOnixElement.value()field instead- Specified by:
__vin interfaceOnixElement<DiscountCodeTypes>
-
exists
public boolean exists()Description copied from interface:OnixTagindicates whether this tag exists in the ONIX record -
ifExists
-
codeOrNull
-
descriptionOrNull
-