public enum XPFTaxCalculationMethodEnum extends Enum<XPFTaxCalculationMethodEnum>
Enum Constant and Description |
---|
EXCLUSIVE_TAX
Exclusive tax calculation method.
|
INCLUSIVE_TAX
Inclusive tax calculation method.
|
Modifier and Type | Method and Description |
---|---|
static XPFTaxCalculationMethodEnum |
fromOrdinal(int ordinal)
Create the order status from ordinal.
|
static XPFTaxCalculationMethodEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XPFTaxCalculationMethodEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XPFTaxCalculationMethodEnum INCLUSIVE_TAX
public static final XPFTaxCalculationMethodEnum EXCLUSIVE_TAX
public static XPFTaxCalculationMethodEnum[] values()
for (XPFTaxCalculationMethodEnum c : XPFTaxCalculationMethodEnum.values()) System.out.println(c);
public static XPFTaxCalculationMethodEnum 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 static XPFTaxCalculationMethodEnum fromOrdinal(int ordinal)
ordinal
- the ordinalCopyright © 2024. All rights reserved.