Package com.six.timapi.constants
Enum Cvm
- java.lang.Object
-
- java.lang.Enum<Cvm>
-
- com.six.timapi.constants.Cvm
-
- All Implemented Interfaces:
Serializable
,Comparable<Cvm>
public enum Cvm extends Enum<Cvm>
Specifies which cardholder verification method has been performed during the transaction.
The supported cardholder verification methods are defined both, on the terminal and on the card. The first match of both sides will be performed according to EMV Book 3 [B11].
The following values are valid:
Specification: retail.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Cvm
valueOf​(String name)
Returns the enum constant of this type with the specified name.static Cvm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PIN
public static final Cvm PIN
PIN verification
Specification: retail.
-
PIN_SIGNATURE
public static final Cvm PIN_SIGNATURE
PIN verification and signature (paper).
Specification: retail.
-
SIGNATURE
public static final Cvm SIGNATURE
Signature (paper).
Specification: retail.
-
ON_DEVICE
public static final Cvm ON_DEVICE
On device cvm.
Specification: retail.
-
NO_CVM
public static final Cvm NO_CVM
No CVM required.
Specification: retail.
-
OTHER
public static final Cvm OTHER
Other.
Specification: retail.
-
-
Method Detail
-
values
public static Cvm[] 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 (Cvm c : Cvm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Cvm 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
-
-