public enum PaypalPaymentTokenUsageType extends Enum<PaypalPaymentTokenUsageType>
| Enum Constant and Description |
|---|
_UNKNOWN
Unknown values will be mapped by this enum member
|
MERCHANT
The PayPal Payment Token will be used for future transaction directly with a merchant.
|
PLATFORM
The PayPal Payment Token will be used for future transaction on a platform.
|
| Modifier and Type | Method and Description |
|---|---|
static PaypalPaymentTokenUsageType |
constructFromString(String toConvert)
Returns the enum member associated with the given string value.
|
static PaypalPaymentTokenUsageType |
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<PaypalPaymentTokenUsageType> toConvert)
Convert list of PaypalPaymentTokenUsageType values to list of string values.
|
String |
value()
Returns the string value associated with the enum member.
|
static PaypalPaymentTokenUsageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaypalPaymentTokenUsageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaypalPaymentTokenUsageType MERCHANT
public static final PaypalPaymentTokenUsageType PLATFORM
public static final PaypalPaymentTokenUsageType _UNKNOWN
public static PaypalPaymentTokenUsageType[] values()
for (PaypalPaymentTokenUsageType c : PaypalPaymentTokenUsageType.values()) System.out.println(c);
public static PaypalPaymentTokenUsageType 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 PaypalPaymentTokenUsageType 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 PaypalPaymentTokenUsageType fromString(String toConvert)
toConvert - String value to get enum member.public String value()
public String toString()
toString in class Enum<PaypalPaymentTokenUsageType>public static List<String> toValue(List<PaypalPaymentTokenUsageType> toConvert)
toConvert - The list of PaypalPaymentTokenUsageType values to convert.Copyright © 2025. All rights reserved.