Package com.gemalto.mfs.mwsdk.payment
Enum CHVerificationMethod
- java.lang.Object
-
- java.lang.Enum<CHVerificationMethod>
-
- com.gemalto.mfs.mwsdk.payment.CHVerificationMethod
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CHVerificationMethod>
public enum CHVerificationMethod extends java.lang.Enum<CHVerificationMethod>
Enumeration of possible CardHolder verification method that may be required when activating a digitalized card for transaction.
Following is the mapping for the different CVM and type of verifier object.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIOMETRICS
This is one of the options for a category of On-Device verification method.DEVICE_KEYGUARD
This is one of the options for a category of On-Device verification method.NONE
This is used when CARDLIKE This implies that the profile does not require mobile pin, Wallet PIN or Device fingerprint to make a transaction.WALLET_PIN
This is one of the options for a category of On-Device verification method.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
java.lang.String
toString()
String representation of the Enum.static CHVerificationMethod
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CHVerificationMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WALLET_PIN
public static final CHVerificationMethod WALLET_PIN
This is one of the options for a category of On-Device verification method. The wallet PIN is set after the first card enrolment depending on the card profile. This Verfication Method will no longer be supported for from SDK V6.x
-
DEVICE_KEYGUARD
public static final CHVerificationMethod DEVICE_KEYGUARD
This is one of the options for a category of On-Device verification method. The Device Unlock verification method is supported if the following conditions are satisified:- The card profile supports Flexible CDCVM
- The device OS is Android 6.0 or above.
- Secure lock mechanism is enabled in the device.
-
BIOMETRICS
public static final CHVerificationMethod BIOMETRICS
This is one of the options for a category of On-Device verification method. The BIOMETRICS verification method is supported if the following conditions are satisfied:- The card profile supports Flexible CDCVM
- The device supports biometric authentication including fingerprint
- The device OS is Android 6.0 or above.
- Secure lock mechanism is enabled in the device.
-
NONE
public static final CHVerificationMethod NONE
This is used when CARDLIKE This implies that the profile does not require mobile pin, Wallet PIN or Device fingerprint to make a transaction. The profile supports either online pin (where the user is expected to enter the pin through the POS) or signature.
-
-
Method Detail
-
values
public static CHVerificationMethod[] 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 (CHVerificationMethod c : CHVerificationMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CHVerificationMethod 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
-
getValue
public int getValue()
- Returns:
- Returns the integer value of the CHVerification method set currently
-
toString
public java.lang.String toString()
String representation of the Enum.- Overrides:
toString
in classjava.lang.Enum<CHVerificationMethod>
- Returns:
- String representation of the Enum.
-
-