Enum StateReason

    • Enum Constant Detail

      • NONE

        public static final StateReason NONE
        No reason provided.
      • CLOSED_ACCOUNT

        public static final StateReason CLOSED_ACCOUNT
        Account is closed.
      • CLOSED_CARD

        public static final StateReason CLOSED_CARD
        Card is closed.
      • CARD_LOST

        public static final StateReason CARD_LOST
        Card is lost.
      • CARD_FOUND

        public static final StateReason CARD_FOUND
        Card is found.
      • CARD_STOLEN

        public static final StateReason CARD_STOLEN
        Card is stolen.
      • CARD_BROKEN

        public static final StateReason CARD_BROKEN
        Card is damaged.
      • CARD_NOT_RECEIVED

        public static final StateReason CARD_NOT_RECEIVED
        Card is not received.
      • FRAUD

        public static final StateReason FRAUD
        Card has a fraudulent operation.
      • USER_DECISION

        public static final StateReason USER_DECISION
        User decision.
      • ISSUER_DECISION

        public static final StateReason ISSUER_DECISION
        Issuer decision.
      • PIN_LOCKED

        public static final StateReason PIN_LOCKED
        PIN is locked.
      • CVV2_LOCKED

        public static final StateReason CVV2_LOCKED
        CVV is locked.
      • EXPIRY_DATE_LOCKED

        public static final StateReason EXPIRY_DATE_LOCKED
        Expiry date is locked.
    • Method Detail

      • values

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

        public static StateReason valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null