Package com.stripe.param.checkout
Enum Class SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale
java.lang.Object
java.lang.Enum<SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale>
com.stripe.param.checkout.SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,Serializable
,Comparable<SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale>
,Constable
- Enclosing class:
- SessionCreateParams.PaymentMethodOptions.Paypal
public static enum SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale
extends Enum<SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale>
implements ApiRequestParams.EnumParam
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
-
Enum Constant Details
-
CS_CZ
@SerializedName("cs-CZ") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale CS_CZ -
DA_DK
@SerializedName("da-DK") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale DA_DK -
DE_AT
@SerializedName("de-AT") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale DE_AT -
DE_DE
@SerializedName("de-DE") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale DE_DE -
DE_LU
@SerializedName("de-LU") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale DE_LU -
EL_GR
@SerializedName("el-GR") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale EL_GR -
EN_GB
@SerializedName("en-GB") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale EN_GB -
EN_US
@SerializedName("en-US") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale EN_US -
ES_ES
@SerializedName("es-ES") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale ES_ES -
FI_FI
@SerializedName("fi-FI") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale FI_FI -
FR_BE
@SerializedName("fr-BE") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale FR_BE -
FR_FR
@SerializedName("fr-FR") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale FR_FR -
FR_LU
@SerializedName("fr-LU") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale FR_LU -
HU_HU
@SerializedName("hu-HU") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale HU_HU -
IT_IT
@SerializedName("it-IT") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale IT_IT -
NL_BE
@SerializedName("nl-BE") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale NL_BE -
NL_NL
@SerializedName("nl-NL") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale NL_NL -
PL_PL
@SerializedName("pl-PL") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale PL_PL -
PT_PT
@SerializedName("pt-PT") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale PT_PT -
SK_SK
@SerializedName("sk-SK") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale SK_SK -
SV_SE
@SerializedName("sv-SE") public static final SessionCreateParams.PaymentMethodOptions.Paypal.PreferredLocale SV_SE
-
-
Method Details
-
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
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
-