Package com.stripe.param.v2.billing
Enum Class CollectionSettingCreateParams.PaymentMethodOptions.Bancontact.PreferredLanguage
java.lang.Object
java.lang.Enum<CollectionSettingCreateParams.PaymentMethodOptions.Bancontact.PreferredLanguage>
com.stripe.param.v2.billing.CollectionSettingCreateParams.PaymentMethodOptions.Bancontact.PreferredLanguage
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,Serializable
,Comparable<CollectionSettingCreateParams.PaymentMethodOptions.Bancontact.PreferredLanguage>
,Constable
- Enclosing class:
- CollectionSettingCreateParams.PaymentMethodOptions.Bancontact
public static enum CollectionSettingCreateParams.PaymentMethodOptions.Bancontact.PreferredLanguage
extends Enum<CollectionSettingCreateParams.PaymentMethodOptions.Bancontact.PreferredLanguage>
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 Constants -
Method Summary
-
Enum Constant Details
-
DE
@SerializedName("de") public static final CollectionSettingCreateParams.PaymentMethodOptions.Bancontact.PreferredLanguage DE -
EN
@SerializedName("en") public static final CollectionSettingCreateParams.PaymentMethodOptions.Bancontact.PreferredLanguage EN -
FR
@SerializedName("fr") public static final CollectionSettingCreateParams.PaymentMethodOptions.Bancontact.PreferredLanguage FR -
NL
@SerializedName("nl") public static final CollectionSettingCreateParams.PaymentMethodOptions.Bancontact.PreferredLanguage NL
-
-
Method Details
-
values
public static CollectionSettingCreateParams.PaymentMethodOptions.Bancontact.PreferredLanguage[] 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
public static CollectionSettingCreateParams.PaymentMethodOptions.Bancontact.PreferredLanguage valueOf(String name) 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
-