Package com.stripe.param
Enum Class PaymentMethodCreateParams.Type
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,Serializable
,Comparable<PaymentMethodCreateParams.Type>
,Constable
- Enclosing class:
- PaymentMethodCreateParams
public static enum PaymentMethodCreateParams.Type
extends Enum<PaymentMethodCreateParams.Type>
implements ApiRequestParams.EnumParam
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Returns the enum constant of this class with the specified name.static PaymentMethodCreateParams.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACSS_DEBIT
-
AFFIRM
-
AFTERPAY_CLEARPAY
@SerializedName("afterpay_clearpay") public static final PaymentMethodCreateParams.Type AFTERPAY_CLEARPAY -
ALIPAY
-
AMAZON_PAY
-
AU_BECS_DEBIT
-
BACS_DEBIT
-
BANCONTACT
-
BLIK
-
BOLETO
-
CARD
-
CASHAPP
-
CUSTOMER_BALANCE
@SerializedName("customer_balance") public static final PaymentMethodCreateParams.Type CUSTOMER_BALANCE -
EPS
-
FPX
-
GIROPAY
-
GRABPAY
-
IDEAL
-
KLARNA
-
KONBINI
-
LINK
-
MOBILEPAY
-
MULTIBANCO
-
OXXO
-
P24
-
PAYNOW
-
PAYPAL
-
PIX
-
PROMPTPAY
-
REVOLUT_PAY
-
SEPA_DEBIT
-
SOFORT
-
SWISH
-
TWINT
-
US_BANK_ACCOUNT
@SerializedName("us_bank_account") public static final PaymentMethodCreateParams.Type US_BANK_ACCOUNT -
WECHAT_PAY
-
ZIP
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
- Specified by:
getValue
in interfaceApiRequestParams.EnumParam
-