Module jonix.onix3

Class DefaultPriceType

java.lang.Object
com.tectonica.jonix.onix3.DefaultPriceType
All Implemented Interfaces:
OnixElement<PriceTypes>, OnixTag, Serializable

@Deprecated public class DefaultPriceType extends Object implements OnixElement<PriceTypes>, Serializable
Deprecated.

Default price type

An ONIX code indicating the default price type which is assumed for prices of products listed in the message, unless the Price type is explicitly stated by sending a Price type code in each <Price> composite for each Product record. Optional and non-repeating. To avoid any possible ambiguity, use of this default is deprecated, but any default supplied will be assumed for all prices in Group P.26 which do not specify the Price type explicitly. It is strongly recommended that the price type should be specified in the <Price> composite for each individual price.

Format Fixed length, two digits
Codelist List 58
Reference name <DefaultPriceType>
Short tag <x310>
Cardinality 0…1
Example <x310>01</x310>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

  • Constructor Details

    • DefaultPriceType

      public DefaultPriceType()
      Deprecated.
    • DefaultPriceType

      public DefaultPriceType(Element element)
      Deprecated.
  • Method Details

    • __v

      public PriceTypes __v()
      Deprecated.
      Internal API, use the OnixElement.value() method or the OnixElement.value() field instead
      Specified by:
      __v in interface OnixElement<PriceTypes>
    • exists

      public boolean exists()
      Deprecated.
      Description copied from interface: OnixTag
      indicates whether this tag exists in the ONIX record
      Specified by:
      exists in interface OnixTag
      Returns:
      whether this tag (<DefaultPriceType> or <x310>) is explicitly provided in the ONIX XML
    • ifExists

      public void ifExists(Consumer<DefaultPriceType> action)
      Deprecated.
    • codeOrNull

      public String codeOrNull()
      Deprecated.
    • descriptionOrNull

      public String descriptionOrNull()
      Deprecated.