Enum Class NgvMode

java.lang.Object
java.lang.Enum<NgvMode>
com.six.timapi.constants.NgvMode
All Implemented Interfaces:
Serializable, Comparable<NgvMode>, java.lang.constant.Constable

public enum NgvMode extends Enum<NgvMode>

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.

  • Enum Constant Details

    • MANDATORY

      public static final NgvMode MANDATORY

      NGV is mandatory, no fallback to standard purchase allowed.

      Specification: austrianUseCases.

    • ALLOWED_WITH_FALLBACK

      public static final NgvMode ALLOWED_WITH_FALLBACK

      NGV shall be performed if card supports it, fallback to standard purchase allowed. (Default)

      Specification: austrianUseCases.

    • NOT_ALLOWED

      public static final NgvMode NOT_ALLOWED

      NGV not allowed.

      Specification: austrianUseCases.

  • Method Details

    • values

      public static NgvMode[] 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

      public static NgvMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null