public static enum TaxParameterSet.TaxModule extends Enum<TaxParameterSet.TaxModule>
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
String |
getName() |
static TaxParameterSet.TaxModule |
getTaxModuleFromId(int id) |
static TaxParameterSet.TaxModule |
getTaxModuleFromName(String name) |
static TaxParameterSet.TaxModule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaxParameterSet.TaxModule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaxParameterSet.TaxModule VAT
public static final TaxParameterSet.TaxModule US
public static TaxParameterSet.TaxModule[] values()
for (TaxParameterSet.TaxModule c : TaxParameterSet.TaxModule.values()) System.out.println(c);
public static TaxParameterSet.TaxModule 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 getName()
public int getId()
public static TaxParameterSet.TaxModule getTaxModuleFromName(String name)
public static TaxParameterSet.TaxModule getTaxModuleFromId(int id)