IdCardV1Page
extends IdCardV1Document
in package
Carte Nationale d'Identité API version 1.1 page data.
Table of Contents
Properties
- $authority : StringField
- $birthDate : DateField
- $birthPlace : StringField
- $documentSide : ClassificationField
- $expiryDate : DateField
- $gender : StringField
- $givenNames : array<string|int, StringField>
- $idNumber : StringField
- $mrz1 : StringField
- $mrz2 : StringField
- $surname : StringField
Methods
- __construct() : mixed
- __toString() : string
Properties
$authority
public
StringField
$authority
The name of the issuing authority.
$birthDate
public
DateField
$birthDate
The date of birth of the card holder.
$birthPlace
public
StringField
$birthPlace
The place of birth of the card holder.
$documentSide
public
ClassificationField
$documentSide
The side of the document which is visible.
$expiryDate
public
DateField
$expiryDate
The expiry date of the identification card.
$gender
public
StringField
$gender
The gender of the card holder.
$givenNames
public
array<string|int, StringField>
$givenNames
The given name(s) of the card holder.
$idNumber
public
StringField
$idNumber
The identification card number.
$mrz1
public
StringField
$mrz1
Machine Readable Zone, first line
$mrz2
public
StringField
$mrz2
Machine Readable Zone, second line
$surname
public
StringField
$surname
The surname of the card 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.