Package com.checkout.sessions
Enum UIElements
- java.lang.Object
-
- java.lang.Enum<UIElements>
-
- com.checkout.sessions.UIElements
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UIElements>
public enum UIElements extends java.lang.Enum<UIElements>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HTML_OTHERMULTI_SELECTOOBSINGLE_SELECTTEXT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UIElementsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static UIElements[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTML_OTHER
@SerializedName("html_other") public static final UIElements HTML_OTHER
-
MULTI_SELECT
@SerializedName("multi_select") public static final UIElements MULTI_SELECT
-
OOB
@SerializedName("oob") public static final UIElements OOB
-
SINGLE_SELECT
@SerializedName("single_select") public static final UIElements SINGLE_SELECT
-
TEXT
@SerializedName("text") public static final UIElements TEXT
-
-
Method Detail
-
values
public static UIElements[] 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 (UIElements c : UIElements.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UIElements 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
-
-