BusinessCardV1Document
extends Prediction
in package
Business Card API version 1.0 document data.
Table of Contents
Properties
- $address : StringField
- $company : StringField
- $email : StringField
- $faxNumber : StringField
- $firstname : StringField
- $jobTitle : StringField
- $lastname : StringField
- $mobileNumber : StringField
- $phoneNumber : StringField
- $socialMedia : array<string|int, StringField>
- $website : StringField
Methods
- __construct() : mixed
- __toString() : string
Properties
$address
public
StringField
$address
The address of the person.
$company
public
StringField
$company
The company the person works for.
public
StringField
$email
The email address of the person.
$faxNumber
public
StringField
$faxNumber
The Fax number of the person.
$firstname
public
StringField
$firstname
The given name of the person.
$jobTitle
public
StringField
$jobTitle
The job title of the person.
$lastname
public
StringField
$lastname
The lastname of the person.
$mobileNumber
public
StringField
$mobileNumber
The mobile number of the person.
$phoneNumber
public
StringField
$phoneNumber
The phone number of the person.
$socialMedia
public
array<string|int, StringField>
$socialMedia
The social media profiles of the person or company.
$website
public
StringField
$website
The website of the person or company.
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.