public enum PaymentProtocol extends Enum<PaymentProtocol>
Specifies the payment protocol used.
The following values are valid:
Specification: retail.
| Enum Constant and Description |
|---|
EP2
EFTPOS 2000 protocol.
|
EV
EV protocol.
|
V3CXML
3CXml protocol.
|
VM
ValueMaster protocol.
|
| Modifier and Type | Method and Description |
|---|---|
static PaymentProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentProtocol EP2
EFTPOS 2000 protocol.
Specification: retail.
public static final PaymentProtocol EV
EV protocol.
Specification: retail.
public static final PaymentProtocol VM
ValueMaster protocol.
Specification: retail.
public static final PaymentProtocol V3CXML
3CXml protocol.
Specification: retail.
public static PaymentProtocol[] values()
for (PaymentProtocol c : PaymentProtocol.values()) System.out.println(c);
public static PaymentProtocol valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null