Package com.stripe.param.checkout
Enum SessionCreateParams.PaymentMethodType
- java.lang.Object
-
- java.lang.Enum<SessionCreateParams.PaymentMethodType>
-
- com.stripe.param.checkout.SessionCreateParams.PaymentMethodType
-
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,java.io.Serializable
,java.lang.Comparable<SessionCreateParams.PaymentMethodType>
- Enclosing class:
- SessionCreateParams
public static enum SessionCreateParams.PaymentMethodType extends java.lang.Enum<SessionCreateParams.PaymentMethodType> implements ApiRequestParams.EnumParam
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACSS_DEBIT
AFTERPAY_CLEARPAY
ALIPAY
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 SessionCreateParams.PaymentMethodType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SessionCreateParams.PaymentMethodType[]
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 SessionCreateParams.PaymentMethodType ACSS_DEBIT
-
AFTERPAY_CLEARPAY
@SerializedName("afterpay_clearpay") public static final SessionCreateParams.PaymentMethodType AFTERPAY_CLEARPAY
-
ALIPAY
@SerializedName("alipay") public static final SessionCreateParams.PaymentMethodType ALIPAY
-
BACS_DEBIT
@SerializedName("bacs_debit") public static final SessionCreateParams.PaymentMethodType BACS_DEBIT
-
BANCONTACT
@SerializedName("bancontact") public static final SessionCreateParams.PaymentMethodType BANCONTACT
-
BOLETO
@SerializedName("boleto") public static final SessionCreateParams.PaymentMethodType BOLETO
-
CARD
@SerializedName("card") public static final SessionCreateParams.PaymentMethodType CARD
-
EPS
@SerializedName("eps") public static final SessionCreateParams.PaymentMethodType EPS
-
FPX
@SerializedName("fpx") public static final SessionCreateParams.PaymentMethodType FPX
-
GIROPAY
@SerializedName("giropay") public static final SessionCreateParams.PaymentMethodType GIROPAY
-
GRABPAY
@SerializedName("grabpay") public static final SessionCreateParams.PaymentMethodType GRABPAY
-
IDEAL
@SerializedName("ideal") public static final SessionCreateParams.PaymentMethodType IDEAL
-
KLARNA
@SerializedName("klarna") public static final SessionCreateParams.PaymentMethodType KLARNA
-
OXXO
@SerializedName("oxxo") public static final SessionCreateParams.PaymentMethodType OXXO
-
P24
@SerializedName("p24") public static final SessionCreateParams.PaymentMethodType P24
-
SEPA_DEBIT
@SerializedName("sepa_debit") public static final SessionCreateParams.PaymentMethodType SEPA_DEBIT
-
SOFORT
@SerializedName("sofort") public static final SessionCreateParams.PaymentMethodType SOFORT
-
WECHAT_PAY
@SerializedName("wechat_pay") public static final SessionCreateParams.PaymentMethodType WECHAT_PAY
-
-
Method Detail
-
values
public static SessionCreateParams.PaymentMethodType[] 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 (SessionCreateParams.PaymentMethodType c : SessionCreateParams.PaymentMethodType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SessionCreateParams.PaymentMethodType 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
-
-