public enum NgvMode extends Enum<NgvMode>
Defines if NGV usage is mandatory or optional if card supports it.
Specification: austrianUseCases.
Enum Constant and Description |
---|
ALLOWED_WITH_FALLBACK
NGV shall be performed if card supports it, fallback to standard purchase allowed.
|
MANDATORY
NGV is mandatory, no fallback to standard purchase allowed.
|
NOT_ALLOWED
NGV not allowed.
|
Modifier and Type | Method and Description |
---|---|
static NgvMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NgvMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NgvMode MANDATORY
NGV is mandatory, no fallback to standard purchase allowed.
Specification: austrianUseCases.
public static final NgvMode ALLOWED_WITH_FALLBACK
NGV shall be performed if card supports it, fallback to standard purchase allowed. (Default)
Specification: austrianUseCases.
public static final NgvMode NOT_ALLOWED
NGV not allowed.
Specification: austrianUseCases.
public static NgvMode[] values()
for (NgvMode c : NgvMode.values()) System.out.println(c);
public static NgvMode 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