public static enum PaymentIntentConfirmParams.SetupFutureUsage extends java.lang.Enum<PaymentIntentConfirmParams.SetupFutureUsage> implements ApiRequestParams.EnumParam
Enum Constant and Description |
---|
OFF_SESSION |
ON_SESSION |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static PaymentIntentConfirmParams.SetupFutureUsage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaymentIntentConfirmParams.SetupFutureUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="off_session") public static final PaymentIntentConfirmParams.SetupFutureUsage OFF_SESSION
@SerializedName(value="on_session") public static final PaymentIntentConfirmParams.SetupFutureUsage ON_SESSION
public static PaymentIntentConfirmParams.SetupFutureUsage[] values()
for (PaymentIntentConfirmParams.SetupFutureUsage c : PaymentIntentConfirmParams.SetupFutureUsage.values()) System.out.println(c);
public static PaymentIntentConfirmParams.SetupFutureUsage valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
getValue
in interface ApiRequestParams.EnumParam