Enum Class AdjustmentPhaseType
- All Implemented Interfaces:
Serializable,Comparable<AdjustmentPhaseType>,Constable
Enumeration of the pricing phases for which an ADJUSTMENT can apply.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdjustment applies to ALL pricesAdjustment applies to the CONTRACT priceAdjustment applies to the SALE priceAdjustment applies to the STANDARD priceAdjustment applies to both the STANDARD and SALE price -
Method Summary
Modifier and TypeMethodDescriptionstatic AdjustmentPhaseTypeReturns the enum constant of this class with the specified name.static AdjustmentPhaseType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STANDARD
Adjustment applies to the STANDARD price -
SALE
Adjustment applies to the SALE price -
STANDARD_AND_SALE
Adjustment applies to both the STANDARD and SALE price -
CONTRACT
Adjustment applies to the CONTRACT price -
ALL
Adjustment applies to ALL prices
-
-
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
-