public enum InstrumentType extends java.lang.Enum<InstrumentType>
| Enum Constant and Description |
|---|
BANK_ACCOUNT |
CARD |
CARD_TOKEN |
TOKEN |
| Modifier and Type | Method and Description |
|---|---|
static InstrumentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InstrumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="bank_account") public static final InstrumentType BANK_ACCOUNT
@SerializedName(value="token") public static final InstrumentType TOKEN
@SerializedName(value="card") public static final InstrumentType CARD
@SerializedName(value="card_token") public static final InstrumentType CARD_TOKEN
public static InstrumentType[] values()
for (InstrumentType c : InstrumentType.values()) System.out.println(c);
public static InstrumentType 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