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