public enum PaymentType extends java.lang.Enum<PaymentType>
| Enum Constant and Description |
|---|
CARD
Card payment type.
|
SavedCard
Saved card payment type.
|
WEB
Web payment type.
|
| Modifier and Type | Method and Description |
|---|---|
static PaymentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaymentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="card") public static final PaymentType CARD
@SerializedName(value="web") public static final PaymentType WEB
@SerializedName(value="savedCard") public static final PaymentType SavedCard
public static PaymentType[] values()
for (PaymentType c : PaymentType.values()) System.out.println(c);
public static PaymentType 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