Documentation

PassportV1Document extends Prediction
in package

Passport API version 1.1 document data.

Table of Contents

Properties

$birthDate  : DateField
$birthPlace  : StringField
$country  : StringField
$expiryDate  : DateField
$gender  : StringField
$givenNames  : array<string|int, StringField>
$idNumber  : StringField
$issuanceDate  : DateField
$mrz1  : StringField
$mrz2  : StringField
$surname  : StringField

Methods

__construct()  : mixed
__toString()  : string

Properties

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
throws
MindeeUnsetException

Throws if a field doesn't appear in the response.

__toString()

public __toString() : string
Return values
string

String representation.


        
On this page

Search results