java.lang.Object
com.tectonica.jonix.onix2.BICDiscountGroupCode
- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
BIC discount group code UK only
A BIC code indicating the supplier’s discount group to which the price carried in an occurrence of the <Price> composite belongs. This code does not identify an absolute rate of discount, but it allows a bookseller to derive the actual discount by reference to a look-up table provided separately by the supplier.
Format | Fixed-length, 8 characters Position 1 A (identifying BIC as the source of the supplier code) Positions 2-5 Supplier code, alphabetical, assigned by BIC Positions 6-8 Discount group code, alphanumeric, assigned by the supplier. If less than three characters, the code is left justified and unused positions are sent as spaces. |
Reference name | <BICDiscountGroupCode> |
Short tag | <j150> |
Example | <j150>APUBL122</j150> |
- <
Price
>
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final BICDiscountGroupCode
static final String
static final String
This is the raw content of BICDiscountGroupCode. -
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<BICDiscountGroupCode> 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 BICDiscountGroupCode. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Fixed-length, 8 characters Position 1 A (identifying BIC as the source of the supplier code) Positions 2-5 Supplier code, alphabetical, assigned by BIC Positions 6-8 Discount group code, alphanumeric, assigned by the supplier. If less than three characters, the code is left justified and unused positions are sent as spaces.
(type: NonEmptyString)
-
EMPTY
-
-
Constructor Details
-
BICDiscountGroupCode
public BICDiscountGroupCode() -
BICDiscountGroupCode
-
-
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
-