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