public enum TipOrConvenienceIndicator extends Enum<TipOrConvenienceIndicator>
Enum Constant and Description |
---|
FIXED
Used to indicate inclusion of the data object 'Value of Convenience Fee Fixed'.
|
PERCENTAGE
Used to indicate inclusion of the data object 'Value of Convenience Fee Percentage'.
|
PROMPT_CONSUMER
Used if the mobile application should prompt the consumer to enter a tip to be paid to the merchant.
|
UNDEFINED
Data object not present in the QR code.
|
Modifier and Type | Method and Description |
---|---|
static TipOrConvenienceIndicator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TipOrConvenienceIndicator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TipOrConvenienceIndicator UNDEFINED
public static final TipOrConvenienceIndicator PROMPT_CONSUMER
public static final TipOrConvenienceIndicator FIXED
public static final TipOrConvenienceIndicator PERCENTAGE
public static TipOrConvenienceIndicator[] values()
for (TipOrConvenienceIndicator c : TipOrConvenienceIndicator.values()) System.out.println(c);
public static TipOrConvenienceIndicator 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