PdfGateRecipient
in package
Stored recipient DTO returned by the recipient directory endpoints.
Table of Contents
Properties
- $createdAt : DateTimeImmutable|null
- $email : string
- $id : string
- $lastUsedAt : DateTimeImmutable|null
- $metadata : array<string, mixed>|null
- $name : string|null
- $signature : RecipientStoredSignature|null
- $updatedAt : DateTimeImmutable|null
Methods
- __construct() : mixed
- fromArray() : self
- getCreatedAt() : DateTimeImmutable|null
- getEmail() : string
- Recipient email. Stored lowercased and cannot be changed after creation.
- getId() : string
- getLastUsedAt() : DateTimeImmutable|null
- When the recipient was last referenced by an envelope.
- getMetadata() : array<string, mixed>|null
- getName() : string|null
- getSignature() : RecipientStoredSignature|null
- Automatic signing. The stored signature of the recipient or the state of its enrolment. Null until an enrolment was requested with requestRecipientSignature().
- getUpdatedAt() : DateTimeImmutable|null
- parseOptionalDate() : DateTimeImmutable|null
Properties
$createdAt
private
DateTimeImmutable|null
$createdAt
private
string
$email
$id
private
string
$id
$lastUsedAt
private
DateTimeImmutable|null
$lastUsedAt
$metadata
private
array<string, mixed>|null
$metadata
$name
private
string|null
$name
$signature
private
RecipientStoredSignature|null
$signature
$updatedAt
private
DateTimeImmutable|null
$updatedAt
Methods
__construct()
public
__construct(string $id, string $email[, string|null $name = null ][, array<string, mixed>|null $metadata = null ][, DateTimeImmutable|null $createdAt = null ][, DateTimeImmutable|null $updatedAt = null ][, DateTimeImmutable|null $lastUsedAt = null ][, RecipientStoredSignature|null $signature = null ]) : mixed
Parameters
- $id : string
- $email : string
- $name : string|null = null
- $metadata : array<string, mixed>|null = null
- $createdAt : DateTimeImmutable|null = null
- $updatedAt : DateTimeImmutable|null = null
- $lastUsedAt : DateTimeImmutable|null = null
- $signature : RecipientStoredSignature|null = null
fromArray()
public
static fromArray(array<string, mixed> $payload) : self
Parameters
- $payload : array<string, mixed>
Return values
selfgetCreatedAt()
public
getCreatedAt() : DateTimeImmutable|null
Return values
DateTimeImmutable|nullgetEmail()
Recipient email. Stored lowercased and cannot be changed after creation.
public
getEmail() : string
Return values
stringgetId()
public
getId() : string
Return values
stringgetLastUsedAt()
When the recipient was last referenced by an envelope.
public
getLastUsedAt() : DateTimeImmutable|null
Return values
DateTimeImmutable|nullgetMetadata()
public
getMetadata() : array<string, mixed>|null
Return values
array<string, mixed>|nullgetName()
public
getName() : string|null
Return values
string|nullgetSignature()
Automatic signing. The stored signature of the recipient or the state of its enrolment. Null until an enrolment was requested with requestRecipientSignature().
public
getSignature() : RecipientStoredSignature|null
Return values
RecipientStoredSignature|nullgetUpdatedAt()
public
getUpdatedAt() : DateTimeImmutable|null
Return values
DateTimeImmutable|nullparseOptionalDate()
private
static parseOptionalDate(array<string, mixed> $payload, string $field) : DateTimeImmutable|null
Parameters
- $payload : array<string, mixed>
- $field : string