public enum AccountFeeBalanceHandling extends java.lang.Enum<AccountFeeBalanceHandling>
| Enum Constant and Description |
|---|
FAIL_WHEN_NO_LIMIT
Don't reserve any amount and don't allow accounts to go negative, making charges fail
|
FORCE_CHARGE
Don't reserve any amount, allowing accounts to go negative when charging
|
RESERVE
Reserve the amount, never allowing accounts to go negative
|
| Modifier and Type | Method and Description |
|---|---|
static AccountFeeBalanceHandling |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccountFeeBalanceHandling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountFeeBalanceHandling FAIL_WHEN_NO_LIMIT
public static final AccountFeeBalanceHandling RESERVE
public static final AccountFeeBalanceHandling FORCE_CHARGE
public static AccountFeeBalanceHandling[] values()
for (AccountFeeBalanceHandling c : AccountFeeBalanceHandling.values()) System.out.println(c);
public static AccountFeeBalanceHandling 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 null