public enum PricingMethod extends Enum<PricingMethod>
Java class for PricingMethod.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PricingMethod">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="SUM"/>
<enumeration value="HIGHEST"/>
<enumeration value="ANY_VALUE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ANY_VALUE
Only
PremiumRateValue objects with 'Any' matching value are
allowed to be added to this PremiumRate. |
HIGHEST
Applies the matched
PremiumRateValue with highest adjustment size. |
SUM
Applies sum of all matched
PremiumRateValue objects in the
PremiumRate. |
UNKNOWN
The value returned if the actual value is not exposed by the requested API
version.
|
| Modifier and Type | Method and Description |
|---|---|
static PricingMethod |
fromValue(String v) |
String |
value() |
static PricingMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PricingMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PricingMethod SUM
PremiumRateValue objects in the
PremiumRate.public static final PricingMethod HIGHEST
PremiumRateValue with highest adjustment size.public static final PricingMethod ANY_VALUE
PremiumRateValue objects with 'Any' matching value are
allowed to be added to this PremiumRate.public static final PricingMethod UNKNOWN
public static PricingMethod[] values()
for (PricingMethod c : PricingMethod.values()) System.out.println(c);
public static PricingMethod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static PricingMethod fromValue(String v)
Copyright © 2018. All Rights Reserved.