ListManagementOptions
in package
FinalYes
An object used to specify a list or topic to which an email belongs, which will be used when a contact chooses to unsubscribe.
Table of Contents
Properties
- $contactListName : string
- The name of the contact list.
- $topicName : string|null
- The name of the topic.
Methods
- __construct() : mixed
- create() : self
- getContactListName() : string
- getTopicName() : string|null
- throwException() : never
Properties
$contactListName
The name of the contact list.
private
string
$contactListName
$topicName
The name of the topic.
private
string|null
$topicName
Methods
__construct()
public
__construct(array{ContactListName: string, TopicName?: null|string} $input) : mixed
Parameters
- $input : array{ContactListName: string, TopicName?: null|string}
create()
public
static create(array{ContactListName: string, TopicName?: null|string}|ListManagementOptions $input) : self
Parameters
- $input : array{ContactListName: string, TopicName?: null|string}|ListManagementOptions
Return values
selfgetContactListName()
public
getContactListName() : string
Return values
stringgetTopicName()
public
getTopicName() : string|null
Return values
string|nullthrowException()
private
throwException(Throwable $exception) : never
Parameters
- $exception : Throwable