Enum CardReaderStatus

    • Enum Constant Detail

      • CARD_READER_CLOSED

        public static final CardReaderStatus CARD_READER_CLOSED

        The shutter of the card reader is closed. No cards can be inserted.

        Specification: retail.

      • CARD_MANUALLY_ENTERED

        public static final CardReaderStatus CARD_MANUALLY_ENTERED

        Card information has been manually entered. Valid for Manual-Pan-Key.

        Specification: retail.

      • CARD_SWIPED

        public static final CardReaderStatus CARD_SWIPED

        Card has been swiped. Valid for Mag-Stripe.

        Specification: retail.

      • CARD_NOT_REMOVED

        public static final CardReaderStatus CARD_NOT_REMOVED

        Card has not been removed by the cardholder despite being prompted to do so (timeout: 15s). Valid for ICC.

        Specification: retail.

      • CARD_PRESENTED

        public static final CardReaderStatus CARD_PRESENTED

        Contactless card has been presented. Only for ICC contactless transactions. Valid for Contactless.

        Specification: retail.

      • CARD_READER_EMPTY

        public static final CardReaderStatus CARD_READER_EMPTY

        The card reader is empty and accepts cards.

        Specification: retail.

      • CARD_INSERTED

        public static final CardReaderStatus CARD_INSERTED

        Card in the chip reader.

        Specification: retail.

      • CARD_EJECTED

        public static final CardReaderStatus CARD_EJECTED

        Card has been ejected by the application.

        Specification: retail.

    • Method Detail

      • values

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

        public static CardReaderStatus 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