Module jonix.common
Enum Class PriceConditionQuantityTypes
java.lang.Object
java.lang.Enum<PriceConditionQuantityTypes>
com.tectonica.jonix.common.codelist.PriceConditionQuantityTypes
- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<PriceConditionQuantityTypes>
,Constable
public enum PriceConditionQuantityTypes
extends Enum<PriceConditionQuantityTypes>
implements OnixCodelist
Enum
that corresponds to ONIX Codelist 168
Description: Price condition quantity 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 ConstantDescription(at this price).Use with Price condition type 06 and a Quantity of units.Use with Price condition type 06 and a Quantity of units.Use with Price condition type 06 and a Quantity of units.The price condition quantity is a number of updatesThe price condition quantity represents a time period -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PriceConditionQuantityTypes
static Optional<PriceConditionQuantityTypes>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static PriceConditionQuantityTypes
Returns the enum constant of this class with the specified name.static PriceConditionQuantityTypes[]
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
-
Time_period
The price condition quantity represents a time period -
Number_of_updates
The price condition quantity is a number of updates -
Number_of_linked_products
Use with Price condition type 06 and a Quantity of units. Price is valid when purchased with a specific number of products from a list of product identifiers provided in the associated <ProductIdentifier> composites. Use for example when describing a price for this product which is valid if it is purchased along with any two from a list of other productsJonix-Comment: Introduced in Onix3
-
Number_of_copies_of_this_product
Use with Price condition type 06 and a Quantity of units. Meeting the Price condition qualifies for purchase of a specified number of copies of this product at this price. Use for example when describing a price that applies to the specified number of units of this product which is valid if they are purchased along with a number of copies of another productJonix-Comment: Introduced in Onix3
-
Minimum_number_of_linked_products
Use with Price condition type 06 and a Quantity of units. Price is valid when purchased with at least a specific number of products from a list of product identifiers provided in the associated <ProductIdentifier> composites. Use for example when describing a price for this product which is valid if it is purchased along with any two from a list of other productsJonix-Comment: Introduced in Onix3
-
Maximum_number_of_copies_of_this_product
(at this price). Use with Price condition type 06 and a Quantity of units. Meeting the Price condition qualifies for purchase of up to the specified number of copies of this product at this price. Use for example when describing a price that applies to the specified number of units of this product which is valid if they are purchased along with a number of copies of another productJonix-Comment: Introduced in Onix3
-
-
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
-