Package com.stripe.param.checkout
Enum SessionCreateParams.Locale
- java.lang.Object
-
- java.lang.Enum<SessionCreateParams.Locale>
-
- com.stripe.param.checkout.SessionCreateParams.Locale
-
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,java.io.Serializable
,java.lang.Comparable<SessionCreateParams.Locale>
- Enclosing class:
- SessionCreateParams
public static enum SessionCreateParams.Locale extends java.lang.Enum<SessionCreateParams.Locale> implements ApiRequestParams.EnumParam
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
static SessionCreateParams.Locale
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SessionCreateParams.Locale[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
@SerializedName("auto") public static final SessionCreateParams.Locale AUTO
-
BG
@SerializedName("bg") public static final SessionCreateParams.Locale BG
-
CS
@SerializedName("cs") public static final SessionCreateParams.Locale CS
-
DA
@SerializedName("da") public static final SessionCreateParams.Locale DA
-
DE
@SerializedName("de") public static final SessionCreateParams.Locale DE
-
EL
@SerializedName("el") public static final SessionCreateParams.Locale EL
-
EN
@SerializedName("en") public static final SessionCreateParams.Locale EN
-
EN_GB
@SerializedName("en-GB") public static final SessionCreateParams.Locale EN_GB
-
ES
@SerializedName("es") public static final SessionCreateParams.Locale ES
-
ES_419
@SerializedName("es-419") public static final SessionCreateParams.Locale ES_419
-
ET
@SerializedName("et") public static final SessionCreateParams.Locale ET
-
FI
@SerializedName("fi") public static final SessionCreateParams.Locale FI
-
FR
@SerializedName("fr") public static final SessionCreateParams.Locale FR
-
FR_CA
@SerializedName("fr-CA") public static final SessionCreateParams.Locale FR_CA
-
HU
@SerializedName("hu") public static final SessionCreateParams.Locale HU
-
ID
@SerializedName("id") public static final SessionCreateParams.Locale ID
-
IT
@SerializedName("it") public static final SessionCreateParams.Locale IT
-
JA
@SerializedName("ja") public static final SessionCreateParams.Locale JA
-
LT
@SerializedName("lt") public static final SessionCreateParams.Locale LT
-
LV
@SerializedName("lv") public static final SessionCreateParams.Locale LV
-
MS
@SerializedName("ms") public static final SessionCreateParams.Locale MS
-
MT
@SerializedName("mt") public static final SessionCreateParams.Locale MT
-
NB
@SerializedName("nb") public static final SessionCreateParams.Locale NB
-
NL
@SerializedName("nl") public static final SessionCreateParams.Locale NL
-
PL
@SerializedName("pl") public static final SessionCreateParams.Locale PL
-
PT
@SerializedName("pt") public static final SessionCreateParams.Locale PT
-
PT_BR
@SerializedName("pt-BR") public static final SessionCreateParams.Locale PT_BR
-
RO
@SerializedName("ro") public static final SessionCreateParams.Locale RO
-
RU
@SerializedName("ru") public static final SessionCreateParams.Locale RU
-
SK
@SerializedName("sk") public static final SessionCreateParams.Locale SK
-
SL
@SerializedName("sl") public static final SessionCreateParams.Locale SL
-
SV
@SerializedName("sv") public static final SessionCreateParams.Locale SV
-
TH
@SerializedName("th") public static final SessionCreateParams.Locale TH
-
TR
@SerializedName("tr") public static final SessionCreateParams.Locale TR
-
ZH
@SerializedName("zh") public static final SessionCreateParams.Locale ZH
-
ZH_HK
@SerializedName("zh-HK") public static final SessionCreateParams.Locale ZH_HK
-
ZH_TW
@SerializedName("zh-TW") public static final SessionCreateParams.Locale ZH_TW
-
-
Method Detail
-
values
public static SessionCreateParams.Locale[] 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 (SessionCreateParams.Locale c : SessionCreateParams.Locale.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SessionCreateParams.Locale 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
-
-