DriverLicenseV1Document
extends Prediction
in package
Driver License API version 1.0 document data.
Table of Contents
Properties
- $address : StringField
- $category : StringField
- $countryCode : StringField
- $dateOfBirth : DateField
- $documentId : StringField
- $expiryDate : DateField
- $firstName : StringField
- $issueAuthority : StringField
- $issueDate : DateField
- $lastName : StringField
- $mrz : StringField
- $placeOfBirth : StringField
Methods
- __construct() : mixed
- __toString() : string
Properties
$address
public
StringField
$address
EU driver license holders address
$category
public
StringField
$category
EU driver license holders categories
$countryCode
public
StringField
$countryCode
Country code extracted as a string.
$dateOfBirth
public
DateField
$dateOfBirth
The date of birth of the document holder
$documentId
public
StringField
$documentId
ID number of the Document.
$expiryDate
public
DateField
$expiryDate
Date the document expires
$firstName
public
StringField
$firstName
First name(s) of the driver license holder
$issueAuthority
public
StringField
$issueAuthority
Authority that issued the document
$issueDate
public
DateField
$issueDate
Date the document was issued
$lastName
public
StringField
$lastName
Last name of the driver license holder.
$mrz
public
StringField
$mrz
Machine-readable license number
$placeOfBirth
public
StringField
$placeOfBirth
Place where the driver license holder was born
Methods
__construct()
public
__construct(array<string|int, mixed> $rawPrediction[, int|null $pageId = null ]) : mixed
Parameters
- $rawPrediction : array<string|int, mixed>
-
Raw prediction from HTTP response.
- $pageId : int|null = null
-
Page number for multi pages document.
Tags
__toString()
public
__toString() : string
Return values
string —String representation.