- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<PriceConditionTypes>
,Constable
Enum
that corresponds to ONIX Codelist 167
Description: Price condition 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 ConstantDescriptionThe rental or subscription will automatically renew at the end of the period unless actively cancelledPurchase at this price includes the price of the specified other productPurchase at this price includes specified updatesUse with <PriceConditionQuantity> and <ProductIdentifier>.Use with <PriceConditionQuantity> and <ProductIdentifier>.Use with <PriceConditionQuantity> and <ProductIdentifier>.Purchase at this price requires commitment to purchase specified updates, not included in priceAllows positive indication that there are no conditions (the default if <PriceCondition> is omitted)The duration of the rental to which the price applies.Upgrade to longer rental duration.Purchase at this price requires prior rental of the product.Updates may be purchased separately, no minimum commitment required -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PriceConditionTypes
static Optional<PriceConditionTypes>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static PriceConditionTypes
Returns the enum constant of this class with the specified name.static PriceConditionTypes[]
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
-
No_conditions
Allows positive indication that there are no conditions (the default if <PriceCondition> is omitted) -
Includes_updates
Purchase at this price includes specified updates -
Must_also_purchase_updates
Purchase at this price requires commitment to purchase specified updates, not included in price -
Updates_available
Updates may be purchased separately, no minimum commitment required -
Linked_subsequent_purchase_price
Use with <PriceConditionQuantity> and <ProductIdentifier>. Purchase at this price requires commitment to purchase the specified linked product, which is not included in the priceJonix-Comment: Introduced in Onix3
-
Linked_prior_purchase_price
Use with <PriceConditionQuantity> and <ProductIdentifier>. Purchase at this price requires prior purchase of the specified linked product -
Linked_price
Use with <PriceConditionQuantity> and <ProductIdentifier>. Purchase at this price requires simultaneous purchase of the specified linked product, which is not included in the price -
Auto_renewing
The rental or subscription will automatically renew at the end of the period unless actively cancelledJonix-Comment: Introduced in Onix3
-
Combined_price
Purchase at this price includes the price of the specified other productJonix-Comment: Introduced in Onix3
-
Rental_duration
The duration of the rental to which the price applies. Deprecated, use <PriceConstraint> instead -
Rental_to_purchase
Purchase at this price requires prior rental of the product. <PriceConditionQuantity> gives minimum prior rental period, and <ProductIdentifier> may be used if rental uses a different product identifier -
Rental_extension
Upgrade to longer rental duration. <PriceConditionQuantity> gives minimum prior rental duration, and <ProductIdentifier> may be used if rental uses a different product identifier. Separate price constraint with time limited license duration (code 07) specifies the new combined rental duration
-
-
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
-