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