DriverLicenseV1Page
extends DriverLicenseV1Document
in package
Driver License API version 1.0 page 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
- $photo : PositionField
- $placeOfBirth : StringField
- $signature : PositionField
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
$photo
public
PositionField
$photo
Has a photo of the EU driver license holder
$placeOfBirth
public
StringField
$placeOfBirth
Place where the driver license holder was born
$signature
public
PositionField
$signature
Has a signature of the EU driver license holder
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.
__toString()
public
__toString() : string
Return values
string —String representation.