Enum Class DigitalizedCardState

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

public enum DigitalizedCardState extends Enum<DigitalizedCardState>
This class contains the list of possible card states. The state is dictated by the CPS server.
  • Enum Constant Details

    • ACTIVE

      public static final DigitalizedCardState ACTIVE
      The card is active, and it can be used for the payment.
    • SUSPENDED

      public static final DigitalizedCardState SUSPENDED
      The card is suspended, and it cannot be used for the payment.
    • RETIRED

      public static final DigitalizedCardState RETIRED
      The card state is expired, and cannot be used for the payment. This can be considered as a suspended card.
    • UNKNOWN

      public static final DigitalizedCardState UNKNOWN
      The card state is not defined.
  • Method Details

    • values

      public static DigitalizedCardState[] 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 DigitalizedCardState 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
    • toString

      public String toString()
      String representation of the enum.
      Overrides:
      toString in class Enum<DigitalizedCardState>
      Returns:
      String representation of the enum.