public static enum PaymentMethodCreateParams.Type extends java.lang.Enum<PaymentMethodCreateParams.Type> implements ApiRequestParams.EnumParam
Enum Constant and Description |
---|
AU_BECS_DEBIT |
CARD |
CARD_PRESENT |
FPX |
IDEAL |
SEPA_DEBIT |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static PaymentMethodCreateParams.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaymentMethodCreateParams.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="au_becs_debit") public static final PaymentMethodCreateParams.Type AU_BECS_DEBIT
@SerializedName(value="card") public static final PaymentMethodCreateParams.Type CARD
@SerializedName(value="card_present") public static final PaymentMethodCreateParams.Type CARD_PRESENT
@SerializedName(value="fpx") public static final PaymentMethodCreateParams.Type FPX
@SerializedName(value="ideal") public static final PaymentMethodCreateParams.Type IDEAL
@SerializedName(value="sepa_debit") public static final PaymentMethodCreateParams.Type SEPA_DEBIT
public static PaymentMethodCreateParams.Type[] values()
for (PaymentMethodCreateParams.Type c : PaymentMethodCreateParams.Type.values()) System.out.println(c);
public static PaymentMethodCreateParams.Type 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