- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<PriceIdentifierTypes>
,Constable
Enum
that corresponds to ONIX Codelist 217
Description: Price identifier type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixCodelist
OnixCodelist.Pair
-
Enum Constant Summary
Enum ConstantDescriptionNote that <IDTypeName> is required for proprietary identifiersProprietary identifier identifies a unique combination of price point and type, though two unrelated products may carry the same identifier if all details of their prices are identicalProprietary identifier uniquely identifies price amount and currency.Proprietary identifier uniquely identifies price type, qualifier and any constraints and conditions.Proprietary identifier uniquely identifies a specific combination of product, price amount and currency, independent of the price typeProprietary identifier uniquely identifies a specific combination of product, price type, qualifier and any constraints and conditions, independent of the price amount and currency.Proprietary identifier is unique to a single price point, price type and product. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PriceIdentifierTypes
static Optional<PriceIdentifierTypes>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static PriceIdentifierTypes
Returns the enum constant of this class with the specified name.static PriceIdentifierTypes[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.tectonica.jonix.common.OnixCodelist
pair
-
Enum Constant Details
-
Proprietary
Note that <IDTypeName> is required for proprietary identifiers -
Proprietary_price_point_identifier
Proprietary identifier uniquely identifies price amount and currency. Two unrelated products with the same price amount carry the same identifier, though their price types may be different -
Proprietary_price_type_identifier
Proprietary identifier uniquely identifies price type, qualifier and any constraints and conditions. Two unrelated products with the same price type carry the same identifier, though their price points may be different -
Proprietary_price_point_and_type_identifier
Proprietary identifier identifies a unique combination of price point and type, though two unrelated products may carry the same identifier if all details of their prices are identical -
Proprietary_unique_price_identifier
Proprietary identifier is unique to a single price point, price type and product. No two products can carry the same identifier, even if all details of their prices are identical -
Proprietary_product_price_point_identifier
Proprietary identifier uniquely identifies a specific combination of product, price amount and currency, independent of the price type -
Proprietary_product_price_type_identifier
Proprietary identifier uniquely identifies a specific combination of product, price type, qualifier and any constraints and conditions, independent of the price amount and currency. A product with the same product price type identififer may carry differing price amounts, currencies at different points in time
-
-
Field Details
-
code
-
description
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getCode
- Specified by:
getCode
in interfaceOnixCodelist
-
getDescription
- Specified by:
getDescription
in interfaceOnixCodelist
-
byCode
-
byCodeOptional
-
codeToDesciption
-