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