MessageTemplate
extends DomainValue
in package
FinalYes
Immutable base for Inttegro domain values.
Table of Contents
Properties
- $about : string|null
- $archivedAt : string|null
- $attachments : GenericValue|null
- $channel : string
- $createdAt : string
- $draftVersion : int
- $email : MessageTemplateEmailContent|null
- $hasUnpublishedChanges : bool
- $id : string
- $locale : string
- $name : string
- $publishedAt : string|null
- $publishedVersion : int|null
- $purpose : string
- $sms : MessageTemplateSMSContent|null
- $status : string
- $updatedAt : string
- $variables : array<int, MessageTemplateVariable>|null
- $version : int
Methods
- __construct() : mixed
- __get() : mixed
- __isset() : bool
- fromArray() : static
- jsonSerialize() : mixed
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- toArray() : array<string, mixed>
Properties
$about read-only
public
string|null
$about
$archivedAt read-only
public
string|null
$archivedAt
$attachments read-only
public
GenericValue|null
$attachments
$channel read-only
public
string
$channel
$createdAt read-only
public
string
$createdAt
$draftVersion read-only
public
int
$draftVersion
$email read-only
public
MessageTemplateEmailContent|null
$email
$hasUnpublishedChanges read-only
public
bool
$hasUnpublishedChanges
$id read-only
public
string
$id
$locale read-only
public
string
$locale
$name read-only
public
string
$name
$publishedAt read-only
public
string|null
$publishedAt
$publishedVersion read-only
public
int|null
$publishedVersion
$purpose read-only
public
string
$purpose
$sms read-only
public
MessageTemplateSMSContent|null
$sms
$status read-only
public
string
$status
$updatedAt read-only
public
string
$updatedAt
$variables read-only
public
array<int, MessageTemplateVariable>|null
$variables
$version read-only
public
int
$version
Methods
__construct()
public
__construct(array<string, mixed> $data) : mixed
Parameters
- $data : array<string, mixed>
__get()
public
__get(string $name) : mixed
Parameters
- $name : string
__isset()
public
__isset(string $name) : bool
Parameters
- $name : string
Return values
boolfromArray()
public
static fromArray(array<string, mixed> $data) : static
Parameters
- $data : array<string, mixed>
Return values
staticjsonSerialize()
public
jsonSerialize() : mixed
offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
toArray()
public
toArray() : array<string, mixed>