Document Identification Result
DocumentIdentificationResult
can be returned as one of the following derived classes:
PassportIdentificationResult
IdCardIdentificationResult
DriversLicenseIdentificationResult
Description of DocumentIdentificationResult
base class:
DocumentIdentificationResult
base class:Getter | Type | Description |
| enum | Id document type. Possible values:
|
Description of PassportIdentificationResult
base class:
PassportIdentificationResult
base class:Getter | Type | Description |
| String | Given names (separated with whitespace) |
| String | Given names in the local language (optional) |
| String | Surnames (separated with whitespace) |
| String | Surnames in the local language (optional) |
| String | Surnames and Given Name(s) (separated with whitespace) - For use when |
| String | Surnames and Given Name(s) in the local language (optional) |
| String | Place of birth |
| String | Place of birth in the local language (optional) |
| LocalDate | Date of birth |
| LocalDate | Date of expiration of the document |
| LocalDate | Date of issue of the document |
| enum | Enum with user's gender. Possible values: |
| String | Country code of user's nationality in ISO 3166-1 alpha-3 format |
| String | Country code of document issuing country in ISO 3166-1 alpha-3 format |
| String | Issuing authority name |
| String | Issuing authority name in the local language (optional) |
| String | Document number |
| String | Personal number of the document owner |
| String | Place of residence |
| Bool | Person age is over 16 years |
| Bool | Person age is over 18 years |
| Bool | Person age is over 18 years |
| String | File path to the image of passport front page |
Deprecated methods:
getImageFile()
is now deprecated and replaced with getDocumentImageFilePath()
Description of IdCardIdentificationResult
base class:
IdCardIdentificationResult
base class:Getter | Type | Description |
| String | Given names (separated with whitespace) |
| String | Given names in the local language (optional) |
| String | Surnames (separated with whitespace) |
| String | Surnames in the local language (optional) |
| String | Surnames and Given Name(s) (separated with whitespace) - For use when |
| String | Surnames and Given Name(s) in the local language (optional) |
| String | Place of birth |
| String | Place of birth in the local language (optional) |
| LocalDate | Date of birth |
| LocalDate | Date of expiration of the document |
| LocalDate | Date of issue of the document |
| enum | Enum with user's gender. Possible values: |
| String | Country code of user's nationality in ISO 3166-1 alpha-3 format |
| String | Country code of document issuing country in ISO 3166-1 alpha-3 format |
| String | Issuing authority name |
| String | Document number |
| String | Personal number of the document owner |
| String | Place of residence |
| Bool | Person age is over 16 years |
| Bool | Person age is over 18 years |
| Bool | Person age is over 18 years |
| String | File path to the image of id card front page |
| String | File path to the image of id card back page |
Deprecated methods:
getImageFrontFile()
is now deprecated and replaced with getDocumentFrontImageFilePath()
getImageBackFile()
is now deprecated and replaced with getDocumentBackImageFilePath()
Description of DriversLicenseIdentificationResult
base class:
DriversLicenseIdentificationResult
base class:Getter | Type | Description |
| String | Given names (separated with whitespace) |
| String | Given names in the local language (optional) |
| String | Surnames (separated with whitespace) |
| String | Surnames in the local language (optional) |
| String | Surnames and Given Name(s) (separated with whitespace) - For use when |
| String | Surnames and Given Name(s) in the local language |
| String | Place of birth |
| String | Place of birth in the local language (optional) |
| LocalDate | Date of birth |
| LocalDate | Date of expiration of the document |
| LocalDate | Date of issue of the document |
| enum | Enum with user's gender. Possible values: |
| String | Country code of document issuing country in ISO 3166-1 alpha-3 format |
| String | Issuing authority name |
| String | Issuing authority name in the local language (optional) |
| String | Document number |
| String | Personal number of the document owner |
| String | Place of residence |
| String | Area where the document got issued. E.g.: USA State or Canada Province. |
| String | Driver's License Classes |
| Map | Driver's License Class details. Map Key is the Class name (i.e. A, B, B1, C, etc.) and Value is a
|
| Bool | Person age is over 16 years |
| Bool | Person age is over 18 years |
| Bool | Person age is over 18 years |
| String | File path to the image of the document front page |
| String | File path to the image of the document back page |
Deprecated methods:
getImageFrontFile()
is now deprecated and replaced with getDocumentFrontImageFilePath()
getImageBackFile()
is now deprecated and replaced with getDocumentBackImageFilePath()
Last updated