public enum PayeePaymentMethodPreference extends Enum<PayeePaymentMethodPreference>
| Enum Constant and Description |
|---|
_UNKNOWN
Unknown values will be mapped by this enum member
|
IMMEDIATE_PAYMENT_REQUIRED
Accepts only immediate payment from the customer.
|
UNRESTRICTED
Accepts any type of payment from the customer.
|
| Modifier and Type | Method and Description |
|---|---|
static PayeePaymentMethodPreference |
constructFromString(String toConvert)
Returns the enum member associated with the given string value.
|
static PayeePaymentMethodPreference |
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<PayeePaymentMethodPreference> toConvert)
Convert list of PayeePaymentMethodPreference values to list of string values.
|
String |
value()
Returns the string value associated with the enum member.
|
static PayeePaymentMethodPreference |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PayeePaymentMethodPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PayeePaymentMethodPreference UNRESTRICTED
public static final PayeePaymentMethodPreference IMMEDIATE_PAYMENT_REQUIRED
public static final PayeePaymentMethodPreference _UNKNOWN
public static PayeePaymentMethodPreference[] values()
for (PayeePaymentMethodPreference c : PayeePaymentMethodPreference.values()) System.out.println(c);
public static PayeePaymentMethodPreference 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 PayeePaymentMethodPreference 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 PayeePaymentMethodPreference fromString(String toConvert)
toConvert - String value to get enum member.public String value()
public String toString()
toString in class Enum<PayeePaymentMethodPreference>public static List<String> toValue(List<PayeePaymentMethodPreference> toConvert)
toConvert - The list of PayeePaymentMethodPreference values to convert.Copyright © 2025. All rights reserved.