Package com.adyen.model.checkout
Enum ShopperInput.PersonalDetailsEnum
- java.lang.Object
-
- java.lang.Enum<ShopperInput.PersonalDetailsEnum>
-
- com.adyen.model.checkout.ShopperInput.PersonalDetailsEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ShopperInput.PersonalDetailsEnum>
- Enclosing class:
- ShopperInput
public static enum ShopperInput.PersonalDetailsEnum extends Enum<ShopperInput.PersonalDetailsEnum>
Specifies visibility of personal details. Permitted values: * editable * hidden * readOnly
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShopperInput.PersonalDetailsEnumfromValue(String value)StringgetValue()StringtoString()static ShopperInput.PersonalDetailsEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ShopperInput.PersonalDetailsEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EDITABLE
public static final ShopperInput.PersonalDetailsEnum EDITABLE
-
HIDDEN
public static final ShopperInput.PersonalDetailsEnum HIDDEN
-
READONLY
public static final ShopperInput.PersonalDetailsEnum READONLY
-
-
Method Detail
-
values
public static ShopperInput.PersonalDetailsEnum[] 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 (ShopperInput.PersonalDetailsEnum c : ShopperInput.PersonalDetailsEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ShopperInput.PersonalDetailsEnum valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<ShopperInput.PersonalDetailsEnum>
-
fromValue
public static ShopperInput.PersonalDetailsEnum fromValue(String value)
-
-