public enum CheckoutPaymentIntent extends Enum<CheckoutPaymentIntent>
| Enum Constant and Description |
|---|
_UNKNOWN
Unknown values will be mapped by this enum member
|
AUTHORIZE
The merchant intends to authorize a payment and place funds on hold after the customer makes a payment.
|
CAPTURE
The merchant intends to capture payment immediately after the customer makes a payment.
|
| Modifier and Type | Method and Description |
|---|---|
static CheckoutPaymentIntent |
constructFromString(String toConvert)
Returns the enum member associated with the given string value.
|
static CheckoutPaymentIntent |
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<CheckoutPaymentIntent> toConvert)
Convert list of CheckoutPaymentIntent values to list of string values.
|
String |
value()
Returns the string value associated with the enum member.
|
static CheckoutPaymentIntent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckoutPaymentIntent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckoutPaymentIntent CAPTURE
public static final CheckoutPaymentIntent AUTHORIZE
public static final CheckoutPaymentIntent _UNKNOWN
public static CheckoutPaymentIntent[] values()
for (CheckoutPaymentIntent c : CheckoutPaymentIntent.values()) System.out.println(c);
public static CheckoutPaymentIntent 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 CheckoutPaymentIntent 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 CheckoutPaymentIntent fromString(String toConvert)
toConvert - String value to get enum member.public String value()
public String toString()
toString in class Enum<CheckoutPaymentIntent>public static List<String> toValue(List<CheckoutPaymentIntent> toConvert)
toConvert - The list of CheckoutPaymentIntent values to convert.Copyright © 2025. All rights reserved.