public enum PaymentFeatures extends java.lang.Enum<PaymentFeatures>
Enum Constant and Description |
---|
DCC
If DCC (Dynamic Currency Conversion) is enabled, then the cardholder will be asked whether
they would like to pay in the currency of the terminal, or in their own currency.
|
EMPTY_TIP
Deprecated.
Since version 1.7, this should not be used. Instead, use the tipping
options in
PurchaseRequest . |
PIN_BYPASS
If PIN_BYPASS is enabled, then the cardholder will have the option to skip PIN entry.
|
TIPPING
Deprecated.
Since version 1.7, this should not be used. Instead, use the tipping
options in
PurchaseRequest . |
VOICE_REFERRAL |
WAIT_FOR_CARD_REMOVAL
Deprecated.
This value is not used.
|
Modifier and Type | Method and Description |
---|---|
static PaymentFeatures |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaymentFeatures[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentFeatures VOICE_REFERRAL
@Deprecated public static final PaymentFeatures WAIT_FOR_CARD_REMOVAL
public static final PaymentFeatures DCC
public static final PaymentFeatures PIN_BYPASS
@Deprecated public static final PaymentFeatures TIPPING
PurchaseRequest
.@Deprecated public static final PaymentFeatures EMPTY_TIP
PurchaseRequest
.public static PaymentFeatures[] values()
for (PaymentFeatures c : PaymentFeatures.values()) System.out.println(c);
public static PaymentFeatures valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null