Class IdCardV2Document

  • Direct Known Subclasses:
    IdCardV2Page

    public class IdCardV2Document
    extends Prediction
    Carte Nationale d'Identité API version 2.0 document data.
    • Field Detail

      • alternateName

        protected StringField alternateName
        The alternate name of the card holder.
      • authority

        protected StringField authority
        The name of the issuing authority.
      • birthDate

        protected DateField birthDate
        The date of birth of the card holder.
      • birthPlace

        protected StringField birthPlace
        The place of birth of the card holder.
      • cardAccessNumber

        protected StringField cardAccessNumber
        The card access number (CAN).
      • documentNumber

        protected StringField documentNumber
        The document number.
      • expiryDate

        protected DateField expiryDate
        The expiry date of the identification card.
      • gender

        protected StringField gender
        The gender of the card holder.
      • givenNames

        protected List<StringField> givenNames
        The given name(s) of the card holder.
      • issueDate

        protected DateField issueDate
        The date of issue of the identification card.
      • mrz1

        protected StringField mrz1
        The Machine Readable Zone, first line.
      • mrz2

        protected StringField mrz2
        The Machine Readable Zone, second line.
      • mrz3

        protected StringField mrz3
        The Machine Readable Zone, third line.
      • nationality

        protected StringField nationality
        The nationality of the card holder.
      • surname

        protected StringField surname
        The surname of the card holder.
    • Constructor Detail

      • IdCardV2Document

        public IdCardV2Document()
    • 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
      • getAlternateName

        public StringField getAlternateName()
        The alternate name of the card holder.
      • getAuthority

        public StringField getAuthority()
        The name of the issuing authority.
      • getBirthDate

        public DateField getBirthDate()
        The date of birth of the card holder.
      • getBirthPlace

        public StringField getBirthPlace()
        The place of birth of the card holder.
      • getCardAccessNumber

        public StringField getCardAccessNumber()
        The card access number (CAN).
      • getDocumentNumber

        public StringField getDocumentNumber()
        The document number.
      • getExpiryDate

        public DateField getExpiryDate()
        The expiry date of the identification card.
      • getGender

        public StringField getGender()
        The gender of the card holder.
      • getGivenNames

        public List<StringField> getGivenNames()
        The given name(s) of the card holder.
      • getIssueDate

        public DateField getIssueDate()
        The date of issue of the identification card.
      • getMrz1

        public StringField getMrz1()
        The Machine Readable Zone, first line.
      • getMrz2

        public StringField getMrz2()
        The Machine Readable Zone, second line.
      • getMrz3

        public StringField getMrz3()
        The Machine Readable Zone, third line.
      • getNationality

        public StringField getNationality()
        The nationality of the card holder.
      • getSurname

        public StringField getSurname()
        The surname of the card holder.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object