Class DriverLicenseV1Document

  • Direct Known Subclasses:
    DriverLicenseV1Page

    public class DriverLicenseV1Document
    extends Prediction
    Driver License API version 1.0 document data.
    • Field Detail

      • address

        protected StringField address
        EU driver license holders address
      • category

        protected StringField category
        EU driver license holders categories
      • countryCode

        protected StringField countryCode
        Country code extracted as a string.
      • dateOfBirth

        protected DateField dateOfBirth
        The date of birth of the document holder
      • documentId

        protected StringField documentId
        ID number of the Document.
      • expiryDate

        protected DateField expiryDate
        Date the document expires
      • firstName

        protected StringField firstName
        First name(s) of the driver license holder
      • issueAuthority

        protected StringField issueAuthority
        Authority that issued the document
      • issueDate

        protected DateField issueDate
        Date the document was issued
      • lastName

        protected StringField lastName
        Last name of the driver license holder.
      • mrz

        protected StringField mrz
        Machine-readable license number
      • placeOfBirth

        protected StringField placeOfBirth
        Place where the driver license holder was born
    • Constructor Detail

      • DriverLicenseV1Document

        public DriverLicenseV1Document()
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Description copied from class: Prediction
        Returns true if there are no predictions values. Accessing prediction values when this is true may result in a NullPointerException
        Specified by:
        isEmpty in class Prediction
      • getAddress

        public StringField getAddress()
        EU driver license holders address
      • getCategory

        public StringField getCategory()
        EU driver license holders categories
      • getCountryCode

        public StringField getCountryCode()
        Country code extracted as a string.
      • getDateOfBirth

        public DateField getDateOfBirth()
        The date of birth of the document holder
      • getDocumentId

        public StringField getDocumentId()
        ID number of the Document.
      • getExpiryDate

        public DateField getExpiryDate()
        Date the document expires
      • getFirstName

        public StringField getFirstName()
        First name(s) of the driver license holder
      • getIssueAuthority

        public StringField getIssueAuthority()
        Authority that issued the document
      • getIssueDate

        public DateField getIssueDate()
        Date the document was issued
      • getLastName

        public StringField getLastName()
        Last name of the driver license holder.
      • getMrz

        public StringField getMrz()
        Machine-readable license number
      • getPlaceOfBirth

        public StringField getPlaceOfBirth()
        Place where the driver license holder was born
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object