java.lang.Object
com.tectonica.jonix.onix2.DiscountPercent
- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
Discount percentage
The supplier’s discount percentage applicable to the price carried in an occurrence of the <Price> composite. Optional and non-repeating. Use only when an ONIX message is sent within the context of a specific trading relationship.
Format | Variable-length numeric, including decimal point if required, suggested maximum length 6 characters |
Reference name | <DiscountPercent> |
Short tag | <j267> |
Example | <DiscountPercent>37.5</DiscountPercent> |
- <
Price
>
Product
⯈SupplyDetail
⯈Price
⯈DiscountPercent
Product
⯈SupplyDetail
⯈Reissue
⯈Price
⯈DiscountPercent
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final DiscountPercent
static final String
static final String
This is the raw content of DiscountPercent. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__v()
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field insteadboolean
exists()
indicates whether this tag exists in the ONIX recordvoid
ifExists
(Consumer<DiscountPercent> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
This is the raw content of DiscountPercent. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Variable-length numeric, including decimal point if required, suggested maximum length 6 characters
(type: NonEmptyString)
-
EMPTY
-
-
Constructor Details
-
DiscountPercent
public DiscountPercent() -
DiscountPercent
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<String>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-