Package com.adyen.model.nexo
Enum PINRequestType
- java.lang.Object
-
- java.lang.Enum<PINRequestType>
-
- com.adyen.model.nexo.PINRequestType
-
- All Implemented Interfaces:
Serializable,Comparable<PINRequestType>
public enum PINRequestType extends Enum<PINRequestType>
Java class for PINRequestType.The following schema fragment specifies the expected content contained within this class.
<simpleType name="PINRequestType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="PINVerify"/> <enumeration value="PINVerifyOnly"/> <enumeration value="PINEnter"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PIN_ENTERThe PIN is entered by the Cardholder, encrypted by the POI, and provided as a result.PIN_VERIFYThe PIN Entering and Verify.PIN_VERIFY_ONLYThe PIN Verify only, the PIN is entered before and the PIN Block (encrypted PIN) is provided.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PINRequestTypefromValue(String v)Stringvalue()Value string.static PINRequestTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PINRequestType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PIN_VERIFY
@SerializedName("PINVerify") public static final PINRequestType PIN_VERIFYThe PIN Entering and Verify.
-
PIN_VERIFY_ONLY
@SerializedName("PINVerifyOnly") public static final PINRequestType PIN_VERIFY_ONLYThe PIN Verify only, the PIN is entered before and the PIN Block (encrypted PIN) is provided.
-
PIN_ENTER
@SerializedName("PINEnter") public static final PINRequestType PIN_ENTERThe PIN is entered by the Cardholder, encrypted by the POI, and provided as a result.
-
-
Method Detail
-
values
public static PINRequestType[] 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 (PINRequestType c : PINRequestType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PINRequestType 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
-
value
public String value()
Value string.- Returns:
- the string
-
fromValue
public static PINRequestType fromValue(String v)
-
-