Package com.stripe.param
Enum PaymentIntentCreateParams.PaymentMethodData.Type
- java.lang.Object
-
- java.lang.Enum<PaymentIntentCreateParams.PaymentMethodData.Type>
-
- com.stripe.param.PaymentIntentCreateParams.PaymentMethodData.Type
-
- All Implemented Interfaces:
ApiRequestParams.EnumParam,java.io.Serializable,java.lang.Comparable<PaymentIntentCreateParams.PaymentMethodData.Type>
- Enclosing class:
- PaymentIntentCreateParams.PaymentMethodData
public static enum PaymentIntentCreateParams.PaymentMethodData.Type extends java.lang.Enum<PaymentIntentCreateParams.PaymentMethodData.Type> implements ApiRequestParams.EnumParam
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACSS_DEBITAFTERPAY_CLEARPAYALIPAYAU_BECS_DEBITBACS_DEBITBANCONTACTEPSFPXGIROPAYGRABPAYIDEALOXXOP24SEPA_DEBITSOFORT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue()static PaymentIntentCreateParams.PaymentMethodData.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PaymentIntentCreateParams.PaymentMethodData.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 PaymentIntentCreateParams.PaymentMethodData.Type ACSS_DEBIT
-
AFTERPAY_CLEARPAY
@SerializedName("afterpay_clearpay") public static final PaymentIntentCreateParams.PaymentMethodData.Type AFTERPAY_CLEARPAY
-
ALIPAY
@SerializedName("alipay") public static final PaymentIntentCreateParams.PaymentMethodData.Type ALIPAY
-
AU_BECS_DEBIT
@SerializedName("au_becs_debit") public static final PaymentIntentCreateParams.PaymentMethodData.Type AU_BECS_DEBIT
-
BACS_DEBIT
@SerializedName("bacs_debit") public static final PaymentIntentCreateParams.PaymentMethodData.Type BACS_DEBIT
-
BANCONTACT
@SerializedName("bancontact") public static final PaymentIntentCreateParams.PaymentMethodData.Type BANCONTACT
-
EPS
@SerializedName("eps") public static final PaymentIntentCreateParams.PaymentMethodData.Type EPS
-
FPX
@SerializedName("fpx") public static final PaymentIntentCreateParams.PaymentMethodData.Type FPX
-
GIROPAY
@SerializedName("giropay") public static final PaymentIntentCreateParams.PaymentMethodData.Type GIROPAY
-
GRABPAY
@SerializedName("grabpay") public static final PaymentIntentCreateParams.PaymentMethodData.Type GRABPAY
-
IDEAL
@SerializedName("ideal") public static final PaymentIntentCreateParams.PaymentMethodData.Type IDEAL
-
OXXO
@SerializedName("oxxo") public static final PaymentIntentCreateParams.PaymentMethodData.Type OXXO
-
P24
@SerializedName("p24") public static final PaymentIntentCreateParams.PaymentMethodData.Type P24
-
SEPA_DEBIT
@SerializedName("sepa_debit") public static final PaymentIntentCreateParams.PaymentMethodData.Type SEPA_DEBIT
-
SOFORT
@SerializedName("sofort") public static final PaymentIntentCreateParams.PaymentMethodData.Type SOFORT
-
-
Method Detail
-
values
public static PaymentIntentCreateParams.PaymentMethodData.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 (PaymentIntentCreateParams.PaymentMethodData.Type c : PaymentIntentCreateParams.PaymentMethodData.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 PaymentIntentCreateParams.PaymentMethodData.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:
getValuein interfaceApiRequestParams.EnumParam
-
-