Package com.stripe.param
Enum PaymentMethodCreateParams.Type
- java.lang.Object
-
- java.lang.Enum<PaymentMethodCreateParams.Type>
-
- com.stripe.param.PaymentMethodCreateParams.Type
-
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,java.io.Serializable
,java.lang.Comparable<PaymentMethodCreateParams.Type>
- Enclosing class:
- PaymentMethodCreateParams
public static enum PaymentMethodCreateParams.Type extends java.lang.Enum<PaymentMethodCreateParams.Type> implements ApiRequestParams.EnumParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeePaymentMethodCreateParams.WechatPay.extraParams
for the field documentation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACSS_DEBIT
AFTERPAY_CLEARPAY
ALIPAY
AU_BECS_DEBIT
BACS_DEBIT
BANCONTACT
BOLETO
CARD
EPS
FPX
GIROPAY
GRABPAY
IDEAL
KLARNA
OXXO
P24
SEPA_DEBIT
SOFORT
WECHAT_PAY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
ACSS_DEBIT
@SerializedName("acss_debit") public static final PaymentMethodCreateParams.Type ACSS_DEBIT
-
AFTERPAY_CLEARPAY
@SerializedName("afterpay_clearpay") public static final PaymentMethodCreateParams.Type AFTERPAY_CLEARPAY
-
ALIPAY
@SerializedName("alipay") public static final PaymentMethodCreateParams.Type ALIPAY
-
AU_BECS_DEBIT
@SerializedName("au_becs_debit") public static final PaymentMethodCreateParams.Type AU_BECS_DEBIT
-
BACS_DEBIT
@SerializedName("bacs_debit") public static final PaymentMethodCreateParams.Type BACS_DEBIT
-
BANCONTACT
@SerializedName("bancontact") public static final PaymentMethodCreateParams.Type BANCONTACT
-
BOLETO
@SerializedName("boleto") public static final PaymentMethodCreateParams.Type BOLETO
-
CARD
@SerializedName("card") public static final PaymentMethodCreateParams.Type CARD
-
EPS
@SerializedName("eps") public static final PaymentMethodCreateParams.Type EPS
-
FPX
@SerializedName("fpx") public static final PaymentMethodCreateParams.Type FPX
-
GIROPAY
@SerializedName("giropay") public static final PaymentMethodCreateParams.Type GIROPAY
-
GRABPAY
@SerializedName("grabpay") public static final PaymentMethodCreateParams.Type GRABPAY
-
IDEAL
@SerializedName("ideal") public static final PaymentMethodCreateParams.Type IDEAL
-
KLARNA
@SerializedName("klarna") public static final PaymentMethodCreateParams.Type KLARNA
-
OXXO
@SerializedName("oxxo") public static final PaymentMethodCreateParams.Type OXXO
-
P24
@SerializedName("p24") public static final PaymentMethodCreateParams.Type P24
-
SEPA_DEBIT
@SerializedName("sepa_debit") public static final PaymentMethodCreateParams.Type SEPA_DEBIT
-
SOFORT
@SerializedName("sofort") public static final PaymentMethodCreateParams.Type SOFORT
-
WECHAT_PAY
@SerializedName("wechat_pay") public static final PaymentMethodCreateParams.Type WECHAT_PAY
-
-
Method Detail
-
values
public static PaymentMethodCreateParams.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PaymentMethodCreateParams.Type c : PaymentMethodCreateParams.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaymentMethodCreateParams.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interfaceApiRequestParams.EnumParam
-
-