Serializable, Comparable<TransactionTokenType>public enum TransactionTokenType extends Enum<TransactionTokenType>
| Enum Constant | Description |
|---|---|
ONE_TIME |
|
RECURRING |
|
SUBSCRIPTION |
| Modifier and Type | Method | Description |
|---|---|---|
static TransactionTokenType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static TransactionTokenType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName("subscription")
public static final TransactionTokenType SUBSCRIPTION
@SerializedName("one_time")
public static final TransactionTokenType ONE_TIME
@SerializedName("recurring")
public static final TransactionTokenType RECURRING
public static TransactionTokenType[] values()
for (TransactionTokenType c : TransactionTokenType.values()) System.out.println(c);
public static TransactionTokenType 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 nullCopyright © 2018 The Apache Software Foundation. All rights reserved.