Enum CardEntryMethod

    • Enum Constant Detail

      • MAG_STRIPE

        public static final CardEntryMethod MAG_STRIPE
        Constant referring to Magnetic Stripe Card reader
      • CHIP

        public static final CardEntryMethod CHIP
        Constant referring to Chip Card reader
      • NFC

        public static final CardEntryMethod NFC
        Constant referring to Contactless NFC Card reader
      • MANUAL

        public static final CardEntryMethod MANUAL
        Constant referring to manually entering card information
    • Method Detail

      • values

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

        public static CardEntryMethod 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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public String getValue()
      • CardReaders

        public static Set<CardEntryMethod> CardReaders()
        - a set of card entry options including CHIP, NFC and MAG_STRIPE
      • Manual

        public static Set<CardEntryMethod> Manual()
        - a set containing only the MANUAL card entry option
      • All

        public static Set<CardEntryMethod> All()
        - a set containing all card entry options (CHIP, NFC, MAG_STRIPE and MANUAL)