PDFGate's PHP SDK

EnvelopeRecipientResponse
in package

Recipient payload returned for an envelope document.

Table of Contents

Properties

$email  : string
$fields  : array<int, EnvelopeFieldResponse>
$signedAt  : DateTimeImmutable|null
$status  : string
$viewedAt  : DateTimeImmutable|null

Methods

__construct()  : mixed
fromArray()  : self
getEmail()  : string
getFields()  : array<int, EnvelopeFieldResponse>
getSignedAt()  : DateTimeImmutable|null
getStatus()  : string
Returns one of the DocumentRecipientStatus constants.
getViewedAt()  : DateTimeImmutable|null
parseOptionalDate()  : DateTimeImmutable|null

Properties

Methods

__construct()

public __construct(string $email, string $status, DateTimeImmutable|null $signedAt, DateTimeImmutable|null $viewedAt, array<int, EnvelopeFieldResponse$fields) : mixed
Parameters
$email : string
$status : string

One of the DocumentRecipientStatus constants.

$signedAt : DateTimeImmutable|null
$viewedAt : DateTimeImmutable|null
$fields : array<int, EnvelopeFieldResponse>

fromArray()

public static fromArray(array<string, mixed> $payload) : self
Parameters
$payload : array<string, mixed>
Return values
self

getStatus()

Returns one of the DocumentRecipientStatus constants.

public getStatus() : string
Return values
string

parseOptionalDate()

private static parseOptionalDate(array<string, mixed> $payload, string $field, string $context) : DateTimeImmutable|null
Parameters
$payload : array<string, mixed>
$field : string
$context : string
Return values
DateTimeImmutable|null

        
On this page

Search results