Enum Class eMDLDocRequestPreset

java.lang.Object
java.lang.Enum<eMDLDocRequestPreset>
com.regula.documentreader.api.enums.eMDLDocRequestPreset
All Implemented Interfaces:
Serializable, Comparable<eMDLDocRequestPreset>, Constable

public enum eMDLDocRequestPreset extends Enum<eMDLDocRequestPreset>
Predefined configurations that specify which mDL data fields the Verifier requests from the Holder during Data Retrieval
  • Enum Constant Details

    • ALL

      public static final eMDLDocRequestPreset ALL
      Requests all fields
    • AGE

      public static final eMDLDocRequestPreset AGE
      Retrieves the portrait data and checks whether the holder is at least 18 years old
    • STANDARD_ID

      public static final eMDLDocRequestPreset STANDARD_ID
      Retrieves the field set, regular for the ID document
    • TRAVEL

      public static final eMDLDocRequestPreset TRAVEL
      Retrieves the field set, regular for the travel document
    • DRIVERS_LICENSE

      public static final eMDLDocRequestPreset DRIVERS_LICENSE
      Retrieves the field set, regular for the Driver's License
  • Method Details

    • values

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