Enum PaymentProtocol

    • Enum Constant Detail

      • EP2

        public static final PaymentProtocol EP2

        EFTPOS 2000 protocol.

        Specification: retail.

      • EV

        public static final PaymentProtocol EV

        EV protocol.

        Specification: retail.

      • VM

        public static final PaymentProtocol VM

        ValueMaster protocol.

        Specification: retail.

      • V3CXML

        public static final PaymentProtocol V3CXML

        3CXml protocol.

        Specification: retail.

    • Method Detail

      • values

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

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