Enum LocaleType
- java.lang.Object
-
- java.lang.Enum<LocaleType>
-
- com.checkout.handlepaymentsandpayouts.flow.paymentsessions.enums.LocaleType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LocaleType>
public enum LocaleType extends java.lang.Enum<LocaleType>
Default: "en-GB" Creates a translated version of the page in the specified language.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LocaleTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LocaleType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AR
@SerializedName("ar") public static final LocaleType AR
-
DA_DK
@SerializedName("da-DK") public static final LocaleType DA_DK
-
DE_DE
@SerializedName("de-DE") public static final LocaleType DE_DE
-
EL
@SerializedName("el") public static final LocaleType EL
-
EN_GB
@SerializedName("en-GB") public static final LocaleType EN_GB
-
ES_ES
@SerializedName("es-ES") public static final LocaleType ES_ES
-
FI_FI
@SerializedName("fi-FI") public static final LocaleType FI_FI
-
FIL_PH
@SerializedName("fil-PH") public static final LocaleType FIL_PH
-
FR_FR
@SerializedName("fr-FR") public static final LocaleType FR_FR
-
HI_IN
@SerializedName("hi-IN") public static final LocaleType HI_IN
-
ID_ID
@SerializedName("id-ID") public static final LocaleType ID_ID
-
IT_IT
@SerializedName("it-IT") public static final LocaleType IT_IT
-
JA_JP
@SerializedName("ja-JP") public static final LocaleType JA_JP
-
MS_MY
@SerializedName("ms-MY") public static final LocaleType MS_MY
-
NB_NO
@SerializedName("nb-NO") public static final LocaleType NB_NO
-
NL_NL
@SerializedName("nl-NL") public static final LocaleType NL_NL
-
PT_PT
@SerializedName("pt-PT") public static final LocaleType PT_PT
-
SV_SE
@SerializedName("sv-SE") public static final LocaleType SV_SE
-
TH_TH
@SerializedName("th-TH") public static final LocaleType TH_TH
-
VI_VN
@SerializedName("vi-VN") public static final LocaleType VI_VN
-
ZH_CN
@SerializedName("zh-CN") public static final LocaleType ZH_CN
-
ZH_HK
@SerializedName("zh-HK") public static final LocaleType ZH_HK
-
ZH_TW
@SerializedName("zh-TW") public static final LocaleType ZH_TW
-
-
Method Detail
-
values
public static LocaleType[] 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 (LocaleType c : LocaleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LocaleType 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
-
-