Package com.gemalto.mfs.mwsdk.dcm
Enum Class WalletPinErrorCode
- All Implemented Interfaces:
Serializable,Comparable<WalletPinErrorCode>,Constable
An enum containing the list of error codes related to a specific use case for wallet PIN management.
This class is deprecated and is no longer supported since TSH Pay SDK V6.0.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn error occurred while setting a new wallet PIN when it already exists.An error occurred because the wallet PIN was set with an invalid length and was not following the ISO-9564 Format 0.When setting a new wallet PIN, the SDK will prompt you to confirm the wallet PIN by entering it again.An error occurred while changing the wallet PIN.An error occurred while performing wallet PIN related operations without having the wallet PIN set before.An error occurred because the PIN is not supported.An error occurred due to the failure of the new wallet PIN.An error occurred while verifying the wallet PIN. -
Method Summary
Modifier and TypeMethodDescriptionstatic WalletPinErrorCodeReturns the enum constant of this class with the specified name.static WalletPinErrorCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PIN_CONFIRMATION_MISMATCH
When setting a new wallet PIN, the SDK will prompt you to confirm the wallet PIN by entering it again. This error occurs when the values do not match. -
PIN_SET_FAILED
An error occurred due to the failure of the new wallet PIN. Details are provided in the message. This error occurred when an exception happened internally or a native value was not set. -
PIN_NOT_CHANGED
An error occurred while changing the wallet PIN. Details will be provided in the message. -
PIN_NOT_SUPPORTED
An error occurred because the PIN is not supported. Details will be provided in the message. This error is returned when the card profile is either not supporting the wallet PIN, or support card type is unknown because there is no card installed in MPA yet. -
PIN_NOT_EXISTING
An error occurred while performing wallet PIN related operations without having the wallet PIN set before. -
PIN_ALREADY_EXISTING
An error occurred while setting a new wallet PIN when it already exists. This error happens when the end user tries to useWalletPinManager.invokeSetWalletPin()but the wallet PIN has been set before. -
PIN_CONDITION_NOT_SATISFIED
An error occurred because the wallet PIN was set with an invalid length and was not following the ISO-9564 Format 0. -
PIN_VERIFY_INTERNAL_ERROR
An error occurred while verifying the wallet PIN. Details will be provided in the message.- Since:
- TSHPay SDK 6.6.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-