public enum PaymentTokenStatus extends Enum<PaymentTokenStatus>
| Enum Constant and Description |
|---|
_UNKNOWN
Unknown values will be mapped by this enum member
|
APPROVED
Setup token is ready to be vaulted.
|
CREATED
A setup token is initialized with minimal information, more data must be added to the setup-token to be vaulted
|
PAYER_ACTION_REQUIRED
A contingecy on payer approval is required before the payment method can be saved.
|
TOKENIZED
A vaulted payment method token has been tokenized for short term (one time) use.
|
VAULTED
The payment token has been vaulted.
|
| Modifier and Type | Method and Description |
|---|---|
static PaymentTokenStatus |
constructFromString(String toConvert)
Returns the enum member associated with the given string value.
|
static PaymentTokenStatus |
fromString(String toConvert)
Returns the enum member associated with the given string value.
|
String |
toString()
Get string representation of this enum.
|
static List<String> |
toValue(List<PaymentTokenStatus> toConvert)
Convert list of PaymentTokenStatus values to list of string values.
|
String |
value()
Returns the string value associated with the enum member.
|
static PaymentTokenStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentTokenStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentTokenStatus CREATED
public static final PaymentTokenStatus PAYER_ACTION_REQUIRED
public static final PaymentTokenStatus APPROVED
public static final PaymentTokenStatus VAULTED
public static final PaymentTokenStatus TOKENIZED
public static final PaymentTokenStatus _UNKNOWN
public static PaymentTokenStatus[] values()
for (PaymentTokenStatus c : PaymentTokenStatus.values()) System.out.println(c);
public static PaymentTokenStatus 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 nullpublic static PaymentTokenStatus constructFromString(String toConvert) throws IOException
toConvert - String value to get enum member.IOException - when provided value is not mapped to any enum member.public static PaymentTokenStatus fromString(String toConvert)
toConvert - String value to get enum member.public String value()
public String toString()
toString in class Enum<PaymentTokenStatus>public static List<String> toValue(List<PaymentTokenStatus> toConvert)
toConvert - The list of PaymentTokenStatus values to convert.Copyright © 2025. All rights reserved.