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
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACSS_DEBITAFTERPAY_CLEARPAYALIPAYAU_BECS_DEBITBACS_DEBITBANCONTACTCARDEPSFPXGIROPAYGRABPAYIDEALOXXOP24SEPA_DEBITSOFORT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue()static PaymentMethodCreateParams.TypevalueOf(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
-
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
-
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
-
-
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:
getValuein interfaceApiRequestParams.EnumParam
-
-