Module jonix.onix2

Class BICDiscountGroupCode

java.lang.Object
com.tectonica.jonix.onix2.BICDiscountGroupCode
All Implemented Interfaces:
OnixElement<String>, OnixTag, Serializable

public class BICDiscountGroupCode extends Object implements OnixElement<String>, 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>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

    • refname

      public static final String refname
      See Also:
    • shortname

      public static final String shortname
      See Also:
    • textformat

      public TextFormats textformat
    • textcase

      public TextCaseFlags textcase
    • language

      public Languages language
    • transliteration

      public TransliterationSchemes transliteration
    • datestamp

      public String datestamp
      (type: DateOrDateTime)
    • sourcetype

      public RecordSourceTypes sourcetype
    • sourcename

      public String sourcename
    • value

      public String value
      This is the raw content of BICDiscountGroupCode. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      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

      public static final BICDiscountGroupCode EMPTY
  • Constructor Details

    • BICDiscountGroupCode

      public BICDiscountGroupCode()
    • BICDiscountGroupCode

      public BICDiscountGroupCode(Element element)
  • Method Details