public static enum SessionCreateParams.PaymentIntentData.CaptureMethod extends java.lang.Enum<SessionCreateParams.PaymentIntentData.CaptureMethod> implements ApiRequestParams.EnumParam
SessionCreateParams.PaymentIntentData.TransferData.extraParams for the
field documentation.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
static SessionCreateParams.PaymentIntentData.CaptureMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SessionCreateParams.PaymentIntentData.CaptureMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="automatic") public static final SessionCreateParams.PaymentIntentData.CaptureMethod AUTOMATIC
@SerializedName(value="manual") public static final SessionCreateParams.PaymentIntentData.CaptureMethod MANUAL
public static SessionCreateParams.PaymentIntentData.CaptureMethod[] values()
for (SessionCreateParams.PaymentIntentData.CaptureMethod c : SessionCreateParams.PaymentIntentData.CaptureMethod.values()) System.out.println(c);
public static SessionCreateParams.PaymentIntentData.CaptureMethod 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