public static enum ChargedTransactionSet.ChargeType extends java.lang.Enum<ChargedTransactionSet.ChargeType>
| Enum Constant and Description |
|---|
EXTERNAL_CHARGE |
INTERNAL_CHARGE |
NOT_CHARGED |
PREPAID_ACCOUNT_CLEARING |
REFILL_CHARGE |
| Modifier and Type | Method and Description |
|---|---|
static ChargedTransactionSet.ChargeType |
getChargeType(int code) |
static ChargedTransactionSet.ChargeType |
getChargeType(java.lang.String name) |
int |
getCode() |
java.lang.String |
getName() |
static ChargedTransactionSet.ChargeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChargedTransactionSet.ChargeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChargedTransactionSet.ChargeType PREPAID_ACCOUNT_CLEARING
public static final ChargedTransactionSet.ChargeType REFILL_CHARGE
public static final ChargedTransactionSet.ChargeType INTERNAL_CHARGE
public static final ChargedTransactionSet.ChargeType EXTERNAL_CHARGE
public static final ChargedTransactionSet.ChargeType NOT_CHARGED
public static ChargedTransactionSet.ChargeType[] values()
for (ChargedTransactionSet.ChargeType c : ChargedTransactionSet.ChargeType.values()) System.out.println(c);
public static ChargedTransactionSet.ChargeType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public int getCode()
public static final ChargedTransactionSet.ChargeType getChargeType(int code)
public static final ChargedTransactionSet.ChargeType getChargeType(java.lang.String name)