Package com.stripe.param
Enum PaymentIntentCreateParams.PaymentMethodData.Sofort.Country
- java.lang.Object
-
- java.lang.Enum<PaymentIntentCreateParams.PaymentMethodData.Sofort.Country>
-
- com.stripe.param.PaymentIntentCreateParams.PaymentMethodData.Sofort.Country
-
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,java.io.Serializable
,java.lang.Comparable<PaymentIntentCreateParams.PaymentMethodData.Sofort.Country>
- Enclosing class:
- PaymentIntentCreateParams.PaymentMethodData.Sofort
public static enum PaymentIntentCreateParams.PaymentMethodData.Sofort.Country extends java.lang.Enum<PaymentIntentCreateParams.PaymentMethodData.Sofort.Country> implements ApiRequestParams.EnumParam
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
static PaymentIntentCreateParams.PaymentMethodData.Sofort.Country
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PaymentIntentCreateParams.PaymentMethodData.Sofort.Country[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AT
@SerializedName("AT") public static final PaymentIntentCreateParams.PaymentMethodData.Sofort.Country AT
-
BE
@SerializedName("BE") public static final PaymentIntentCreateParams.PaymentMethodData.Sofort.Country BE
-
DE
@SerializedName("DE") public static final PaymentIntentCreateParams.PaymentMethodData.Sofort.Country DE
-
ES
@SerializedName("ES") public static final PaymentIntentCreateParams.PaymentMethodData.Sofort.Country ES
-
IT
@SerializedName("IT") public static final PaymentIntentCreateParams.PaymentMethodData.Sofort.Country IT
-
NL
@SerializedName("NL") public static final PaymentIntentCreateParams.PaymentMethodData.Sofort.Country NL
-
-
Method Detail
-
values
public static PaymentIntentCreateParams.PaymentMethodData.Sofort.Country[] 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.Sofort.Country c : PaymentIntentCreateParams.PaymentMethodData.Sofort.Country.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.Sofort.Country 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
-
-