Package com.six.timapi.constants
Enum Class NgvMode
- All Implemented Interfaces:
Serializable
,Comparable<NgvMode>
,java.lang.constant.Constable
Defines if NGV usage is mandatory or optional if card supports it.
This field can be set in a purchase transaction request to define the NGV behaviour for the current transaction.
Example: NGV purchase transaction with one day clearing delay: <sixml:TransactionData NGVMode='AllowedWithFallback' NGVClearingDelay='1' ... />
The following values are valid:
Specification: austrianUseCases.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNGV shall be performed if card supports it, fallback to standard purchase allowed.NGV is mandatory, no fallback to standard purchase allowed.NGV not allowed. -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
MANDATORY
NGV is mandatory, no fallback to standard purchase allowed.
Specification: austrianUseCases.
-
ALLOWED_WITH_FALLBACK
NGV shall be performed if card supports it, fallback to standard purchase allowed. (Default)
Specification: austrianUseCases.
-
NOT_ALLOWED
NGV not allowed.
Specification: austrianUseCases.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-