Enum Class WalletPinErrorCode

java.lang.Object
java.lang.Enum<WalletPinErrorCode>
com.gemalto.mfs.mwsdk.dcm.WalletPinErrorCode
All Implemented Interfaces:
Serializable, Comparable<WalletPinErrorCode>, Constable

public enum WalletPinErrorCode extends Enum<WalletPinErrorCode>
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.
  • Enum Constant Details

    • PIN_CONFIRMATION_MISMATCH

      public static final WalletPinErrorCode 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

      public static final WalletPinErrorCode 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

      public static final WalletPinErrorCode PIN_NOT_CHANGED
      An error occurred while changing the wallet PIN. Details will be provided in the message.
    • PIN_NOT_SUPPORTED

      public static final WalletPinErrorCode 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

      public static final WalletPinErrorCode PIN_NOT_EXISTING
      An error occurred while performing wallet PIN related operations without having the wallet PIN set before.
    • PIN_ALREADY_EXISTING

      public static final WalletPinErrorCode 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 use WalletPinManager.invokeSetWalletPin() but the wallet PIN has been set before.
    • PIN_CONDITION_NOT_SATISFIED

      public static final WalletPinErrorCode 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

      public static final WalletPinErrorCode 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

      public static WalletPinErrorCode[] 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

      public static WalletPinErrorCode valueOf(String name)
      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 name
      NullPointerException - if the argument is null