Class DriverLicenseV1Document


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

      • category

        protected StringField category
        The category or class of the driver license.
      • countryCode

        protected StringField countryCode
        The alpha-3 ISO 3166 code of the country where the driver license was issued.
      • dateOfBirth

        protected DateField dateOfBirth
        The date of birth of the driver license holder.
      • ddNumber

        protected StringField ddNumber
        The DD number of the driver license.
      • expiryDate

        protected DateField expiryDate
        The expiry date of the driver license.
      • firstName

        protected StringField firstName
        The first name of the driver license holder.
      • id

        protected StringField id
        The unique identifier of the driver license.
      • issuedDate

        protected DateField issuedDate
        The date when the driver license was issued.
      • issuingAuthority

        protected StringField issuingAuthority
        The authority that issued the driver license.
      • lastName

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

        protected StringField mrz
        The Machine Readable Zone (MRZ) of the driver license.
      • placeOfBirth

        protected StringField placeOfBirth
        The place of birth of the driver license holder.
      • state

        protected StringField state
        Second part of the ISO 3166-2 code, consisting of two letters indicating the US State.
    • 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
      • getCategory

        public StringField getCategory()
        The category or class of the driver license.
      • getCountryCode

        public StringField getCountryCode()
        The alpha-3 ISO 3166 code of the country where the driver license was issued.
      • getDateOfBirth

        public DateField getDateOfBirth()
        The date of birth of the driver license holder.
      • getDdNumber

        public StringField getDdNumber()
        The DD number of the driver license.
      • getExpiryDate

        public DateField getExpiryDate()
        The expiry date of the driver license.
      • getFirstName

        public StringField getFirstName()
        The first name of the driver license holder.
      • getId

        public StringField getId()
        The unique identifier of the driver license.
      • getIssuedDate

        public DateField getIssuedDate()
        The date when the driver license was issued.
      • getIssuingAuthority

        public StringField getIssuingAuthority()
        The authority that issued the driver license.
      • getLastName

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

        public StringField getMrz()
        The Machine Readable Zone (MRZ) of the driver license.
      • getPlaceOfBirth

        public StringField getPlaceOfBirth()
        The place of birth of the driver license holder.
      • getState

        public StringField getState()
        Second part of the ISO 3166-2 code, consisting of two letters indicating the US State.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object