Module jonix.common

Enum Class PriceTypes

java.lang.Object
java.lang.Enum<PriceTypes>
com.tectonica.jonix.common.codelist.PriceTypes
All Implemented Interfaces:
OnixCodelist, Serializable, Comparable<PriceTypes>, Constable

public enum PriceTypes extends Enum<PriceTypes> implements OnixCodelist
Enum that corresponds to ONIX Codelist 58

Description: Price type

See Also:
  • Enum Constant Details

    • RRP_excluding_tax

      public static final PriceTypes RRP_excluding_tax
      Recommended Retail Price, excluding any sales tax or value-added tax. Price recommended by the publisher or supplier for retail sales to the consumer. Also termed the Suggested Retail Price (SRP) or Maximum Suggested Retail Price (MSRP) in some countries. The retailer may choose to use this recommended price, or may choose to sell to the consumer at a lower (or occasionally, a higher) price which is termed the Actual Selling Price (ASP) in sales reports. The net price charged to the retailer depends on the RRP minus a trade discount (which may be customer-specific). Relevant tax detail must be calculated by the data recipient
    • RRP_including_tax

      public static final PriceTypes RRP_including_tax
      Recommended Retail Price, including sales or value-added tax where applicable. The net price charged to the retailer depends on the trade discount. Sales or value-added tax detail is usually supplied in the <Tax> composite
    • FRP_excluding_tax

      public static final PriceTypes FRP_excluding_tax
      Fixed Retail Price, excluding any sales or value-added tax, used in countries where retail price maintenance applies (by law or via trade agreement) to certain products. Price fixed by the publisher or supplier for retail sales to the consumer. The retailer must use this price, or may vary the price only within certain legally-prescribed limits. The net price charged to the retailer depends on the FRP minus a customer-specific trade discount. Relevant tax detail must be calculated by the data recipient
    • FRP_including_tax

      public static final PriceTypes FRP_including_tax
      Fixed Retail Price, including any sales or value-added tax where applicable, used in countries where retail price maintenance applies (by law or via trade agreement) to certain products. The net price charged to the retailer depends on the trade discount. Sales or value-added tax detail is usually supplied in the <Tax> composite
    • Suppliers_Net_price_excluding_tax

      public static final PriceTypes Suppliers_Net_price_excluding_tax
      Net or wholesale price, excluding any sales or value-added tax. Unit price charged by supplier for business-to-business transactions, without any direct relationship to the price for retail sales to the consumer, but sometimes subject to a further customer-specific trade discount based on volume. Relevant tax detail must be calculated by the data recipient
    • Suppliers_Net_price_excluding_tax_rental_goods

      public static final PriceTypes Suppliers_Net_price_excluding_tax_rental_goods
      Unit price charged by supplier to reseller / rental outlet, excluding any sales tax or value-added tax: goods for rental (used for video and DVD)
    • Suppliers_Net_price_including_tax

      public static final PriceTypes Suppliers_Net_price_including_tax
      Net or wholesale price, including any sales or value-added tax where applicable. Unit price charged by supplier for business-to-business transactions, without any direct relationship to the price for retail sales to the consumer, but sometimes subject to a further customer-specific trade discount based on volume. Sales or value-added tax detail is usually supplied in the <Tax> composite
    • Suppliers_alternative_Net_price_excluding_tax

      public static final PriceTypes Suppliers_alternative_Net_price_excluding_tax
      Net or wholesale price charged by supplier to a specified class of reseller, excluding any sales tax or value-added tax. Relevant tax detail must be calculated by the data recipient. (This value is for use only in countries, eg Finland, where trade practice requires two different Net prices to be listed for different classes of resellers, and where national guidelines specify how the code should be used)
    • Suppliers_alternative_net_price_including_tax

      public static final PriceTypes Suppliers_alternative_net_price_including_tax
      Net or wholesale price charged by supplier to a specified class of reseller, including any sales tax or value-added tax. Sales or value-added tax detail is usually supplied in the <Tax> composite. (This value is for use only in countries, eg Finland, where trade practice requires two different Net prices to be listed for different classes of resellers, and where national guidelines specify how the code should be used)
    • Special_sale_RRP_excluding_tax

      public static final PriceTypes Special_sale_RRP_excluding_tax
      Special sale RRP excluding any sales tax or value-added tax. Note 'special sales' are sales where terms and conditions are different from normal trade sales, when for example products that are normally sold on a sale-or-return basis are sold on firm-sale terms, where a particular product is tailored for a specific retail outlet (often termed a 'premium' product), or where other specific conditions or qualiifications apply. Further details of the modified terms and conditions should be given in <PriceTypeDescription>
    • Special_sale_RRP_including_tax

      public static final PriceTypes Special_sale_RRP_including_tax
      Special sale RRP including sales or value-added tax if applicable
    • Special_sale_fixed_retail_price_excluding_tax

      public static final PriceTypes Special_sale_fixed_retail_price_excluding_tax
      In countries where retail price maintenance applies by law to certain products: not used in USA
    • Special_sale_fixed_retail_price_including_tax

      public static final PriceTypes Special_sale_fixed_retail_price_including_tax
      In countries where retail price maintenance applies by law to certain products: not used in USA
    • Suppliers_net_price_for_special_sale_excluding_tax

      public static final PriceTypes Suppliers_net_price_for_special_sale_excluding_tax
      Unit price charged by supplier to reseller for special sale excluding any sales tax or value-added tax
    • Suppliers_net_price_for_special_sale_including_tax

      public static final PriceTypes Suppliers_net_price_for_special_sale_including_tax
      Unit price charged by supplier to reseller for special sale including any sales tax or value-added tax
    • Pre_publication_RRP_excluding_tax

      public static final PriceTypes Pre_publication_RRP_excluding_tax
      Pre-publication RRP excluding any sales tax or value-added tax. Use where RRP for pre-orders is different from post-publication RRP
    • Pre_publication_RRP_including_tax

      public static final PriceTypes Pre_publication_RRP_including_tax
      Pre-publication RRP including sales or value-added tax if applicable. Use where RRP for pre-orders is different from post-publication RRP
    • Pre_publication_fixed_retail_price_excluding_tax

      public static final PriceTypes Pre_publication_fixed_retail_price_excluding_tax
      In countries where retail price maintenance applies by law to certain products: not used in USA
    • Pre_publication_fixed_retail_price_including_tax

      public static final PriceTypes Pre_publication_fixed_retail_price_including_tax
      In countries where retail price maintenance applies by law to certain products: not used in USA
    • Suppliers_pre_publication_net_price_excluding_tax

      public static final PriceTypes Suppliers_pre_publication_net_price_excluding_tax
      Unit price charged by supplier to reseller pre-publication excluding any sales tax or value-added tax
    • Suppliers_pre_publication_net_price_including_tax

      public static final PriceTypes Suppliers_pre_publication_net_price_including_tax
      Unit price charged by supplier to reseller pre-publication including any sales tax or value-added tax
    • Freight_pass_through_RRP_excluding_tax

      public static final PriceTypes Freight_pass_through_RRP_excluding_tax
      In the US, books are sometimes supplied on 'freight-pass-through' terms, where a price that is different from the RRP is used as the basis for calculating the supplier's charge to a reseller. To make it clear when such terms are being invoked, code 31 is used instead of code 01 to indicate the RRP. Code 32 is used for the 'billing price'
    • Freight_pass_through_billing_price_excluding_tax

      public static final PriceTypes Freight_pass_through_billing_price_excluding_tax
      When freight-pass-through terms apply, the price on which the supplier's charge to a reseller is calculated, ie the price to which trade discount terms are applied. See also code 31
    • Importers_Fixed_retail_price_excluding_tax

      public static final PriceTypes Importers_Fixed_retail_price_excluding_tax
      In countries where retail price maintenance applies by law to certain products, but the price is set by the importer or local sales agent, not the foreign publisher. In France, 'prix catalogue éditeur étranger'
    • Importers_Fixed_retail_price_including_tax

      public static final PriceTypes Importers_Fixed_retail_price_including_tax
      In countries where retail price maintenance applies by law to certain products, but the price is set by the importer or local sales agent, not the foreign publisher. In France, 'prix catalogue éditeur étranger'
    • Nominal_gratis_copy_value_for_customs_purposes_excluding_tax

      public static final PriceTypes Nominal_gratis_copy_value_for_customs_purposes_excluding_tax
      Nominal value of gratis copies (eg review, sample or evaluation copies) for international customs declarations only, when a 'free of charge' price cannot be used. Only for use in ONIX 3.0 or later

      Jonix-Comment: Introduced in Onix3

    • Nominal_value_for_claims_purposes_excluding_tax

      public static final PriceTypes Nominal_value_for_claims_purposes_excluding_tax
      Nominal value of copies for claims purposes only (eg to account for copies lost during distribution). Only for use in ONIX 3.0 or later

      Jonix-Comment: Introduced in Onix3

    • Nominal_value_for_customs_purposes_excluding_tax

      public static final PriceTypes Nominal_value_for_customs_purposes_excluding_tax
      Nominal value of copies (Declared Unit Value) for international customs declarations only. Only for use in ONIX 3.0 or later

      Jonix-Comment: Introduced in Onix3

    • Publishers_retail_price_excluding_tax

      public static final PriceTypes Publishers_retail_price_excluding_tax
      For a product supplied on agency terms, the retail price set by the publisher, excluding any sales tax or value-added tax
    • Publishers_retail_price_including_tax

      public static final PriceTypes Publishers_retail_price_including_tax
      For a product supplied on agency terms, the retail price set by the publisher, including sales or value-added tax if applicable
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

      public static PriceTypes[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PriceTypes valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public String getCode()
      Specified by:
      getCode in interface OnixCodelist
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface OnixCodelist
    • byCode

      public static PriceTypes byCode(String code)
    • byCodeOptional

      public static Optional<PriceTypes> byCodeOptional(String code)
    • codeToDesciption

      public static String codeToDesciption(String code)