UsMailV2Document
extends Prediction
in package
US Mail API version 2.0 document data.
Table of Contents
Properties
- $recipientAddresses : UsMailV2RecipientAddresses
- $recipientNames : array<string|int, StringField>
- $senderAddress : UsMailV2SenderAddress
- $senderName : StringField
Methods
- __construct() : mixed
- __toString() : string
Properties
$recipientAddresses
public
UsMailV2RecipientAddresses
$recipientAddresses
The addresses of the recipients.
$recipientNames
public
array<string|int, StringField>
$recipientNames
The names of the recipients.
$senderAddress
public
UsMailV2SenderAddress
$senderAddress
The address of the sender.
$senderName
public
StringField
$senderName
The name of the sender.
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.