Documentation

ReceiptV5Document extends Prediction
in package

Receipt API version 5.3 document data.

Table of Contents

Properties

$category  : ClassificationField
$date  : DateField
$documentType  : ClassificationField
$lineItems  : ReceiptV5LineItems
$locale  : LocaleField
$receiptNumber  : StringField
$subcategory  : ClassificationField
$supplierAddress  : StringField
$supplierCompanyRegistrations  : array<string|int, CompanyRegistrationField>
$supplierName  : StringField
$supplierPhoneNumber  : StringField
$taxes  : Taxes
$time  : StringField
$tip  : AmountField
$totalAmount  : AmountField
$totalNet  : AmountField
$totalTax  : AmountField

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