Enum MeaCardState

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<MeaCardState>

    public enum MeaCardState
    extends java.lang.Enum<MeaCardState>
    Card states.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ACTIVE
      Successfully activated and ready to transact.
      DEACTIVATED
      Card permanently deactivated and unable to transact.
      DIGITIZATION_STARTED
      Digitization has been initialized but not yet completed.
      DIGITIZED
      Digitization successfully completed.
      MARKED_FOR_DELETION
      Marked for deletion and unable to transact.
      PROVISION_FAILED
      Profile provisioning failed.
      PROVISIONED
      Card profile successfully provisioned.
      SUSPENDED
      Suspended and unable to transact.
      UNKNOWN
      Card state is unknown.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getValue()
      Get Enum int value.
      static MeaCardState valueOf​(int value)
      Int to card state conversion.
      static MeaCardState valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static MeaCardState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • UNKNOWN

        public static final MeaCardState UNKNOWN
        Card state is unknown.
      • DIGITIZATION_STARTED

        public static final MeaCardState DIGITIZATION_STARTED
        Digitization has been initialized but not yet completed.
      • DIGITIZED

        public static final MeaCardState DIGITIZED
        Digitization successfully completed. When in this state card is waiting for PUSH message from CMS-D to start provisioning.
      • PROVISIONED

        public static final MeaCardState PROVISIONED
        Card profile successfully provisioned.
      • ACTIVE

        public static final MeaCardState ACTIVE
        Successfully activated and ready to transact.
      • SUSPENDED

        public static final MeaCardState SUSPENDED
        Suspended and unable to transact.
      • PROVISION_FAILED

        public static final MeaCardState PROVISION_FAILED
        Profile provisioning failed.
      • DEACTIVATED

        public static final MeaCardState DEACTIVATED
        Card permanently deactivated and unable to transact. Card can only be deleted in this state.
      • MARKED_FOR_DELETION

        public static final MeaCardState MARKED_FOR_DELETION
        Marked for deletion and unable to transact. When network is available all cards in state MARKED_FOR_DELETION are deleted by background card deletion job.
    • Method Detail

      • values

        public static MeaCardState[] 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 (MeaCardState c : MeaCardState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MeaCardState 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 name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public int getValue()
        Get Enum int value.
        Returns:
        Equivalent int value.
      • valueOf

        public static MeaCardState valueOf​(int value)
        Int to card state conversion.
        Parameters:
        value - Integer value.
        Returns:
        Equivalent card state value.