Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@

class SendTransacEmailRequestBccItem extends JsonSerializableType
{
/**
* @var ?bool $contactPixelTrackingConsent Consent of the recipient in bcc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.
*/
#[JsonProperty('contactPixelTrackingConsent')]
public ?bool $contactPixelTrackingConsent;

/**
* @var string $email BCC recipient email address
*/
Expand All @@ -21,13 +27,15 @@ class SendTransacEmailRequestBccItem extends JsonSerializableType

/**
* @param array{
* contactPixelTrackingConsent?: ?bool,
* email: string,
* name?: ?string,
* } $values
*/
public function __construct(
array $values,
) {
$this->contactPixelTrackingConsent = $values['contactPixelTrackingConsent'] ?? null;
$this->email = $values['email'];
$this->name = $values['name'] ?? null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@

class SendTransacEmailRequestCcItem extends JsonSerializableType
{
/**
* @var ?bool $contactPixelTrackingConsent Consent of the recipient in cc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.
*/
#[JsonProperty('contactPixelTrackingConsent')]
public ?bool $contactPixelTrackingConsent;

/**
* @var string $email CC recipient email address
*/
Expand All @@ -21,13 +27,15 @@ class SendTransacEmailRequestCcItem extends JsonSerializableType

/**
* @param array{
* contactPixelTrackingConsent?: ?bool,
* email: string,
* name?: ?string,
* } $values
*/
public function __construct(
array $values,
) {
$this->contactPixelTrackingConsent = $values['contactPixelTrackingConsent'] ?? null;
$this->email = $values['email'];
$this->name = $values['name'] ?? null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@

class SendTransacEmailRequestMessageVersionsItemBccItem extends JsonSerializableType
{
/**
* @var ?bool $contactPixelTrackingConsent Consent of the recipient in bcc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.
*/
#[JsonProperty('contactPixelTrackingConsent')]
public ?bool $contactPixelTrackingConsent;

/**
* @var string $email BCC recipient email address
*/
Expand All @@ -21,13 +27,15 @@ class SendTransacEmailRequestMessageVersionsItemBccItem extends JsonSerializable

/**
* @param array{
* contactPixelTrackingConsent?: ?bool,
* email: string,
* name?: ?string,
* } $values
*/
public function __construct(
array $values,
) {
$this->contactPixelTrackingConsent = $values['contactPixelTrackingConsent'] ?? null;
$this->email = $values['email'];
$this->name = $values['name'] ?? null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@

class SendTransacEmailRequestMessageVersionsItemCcItem extends JsonSerializableType
{
/**
* @var ?bool $contactPixelTrackingConsent Consent of the recipient in cc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.
*/
#[JsonProperty('contactPixelTrackingConsent')]
public ?bool $contactPixelTrackingConsent;

/**
* @var string $email CC recipient email address
*/
Expand All @@ -21,13 +27,15 @@ class SendTransacEmailRequestMessageVersionsItemCcItem extends JsonSerializableT

/**
* @param array{
* contactPixelTrackingConsent?: ?bool,
* email: string,
* name?: ?string,
* } $values
*/
public function __construct(
array $values,
) {
$this->contactPixelTrackingConsent = $values['contactPixelTrackingConsent'] ?? null;
$this->email = $values['email'];
$this->name = $values['name'] ?? null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@

class SendTransacEmailRequestMessageVersionsItemToItem extends JsonSerializableType
{
/**
* @var ?bool $contactPixelTrackingConsent Consent of the recipient for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.
*/
#[JsonProperty('contactPixelTrackingConsent')]
public ?bool $contactPixelTrackingConsent;

/**
* @var string $email Email address of the recipient
*/
Expand All @@ -21,13 +27,15 @@ class SendTransacEmailRequestMessageVersionsItemToItem extends JsonSerializableT

/**
* @param array{
* contactPixelTrackingConsent?: ?bool,
* email: string,
* name?: ?string,
* } $values
*/
public function __construct(
array $values,
) {
$this->contactPixelTrackingConsent = $values['contactPixelTrackingConsent'] ?? null;
$this->email = $values['email'];
$this->name = $values['name'] ?? null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@

class SendTransacEmailRequestToItem extends JsonSerializableType
{
/**
* @var ?bool $contactPixelTrackingConsent Consent of the recipient for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.
*/
#[JsonProperty('contactPixelTrackingConsent')]
public ?bool $contactPixelTrackingConsent;

/**
* @var string $email Email address of the recipient
*/
Expand All @@ -21,13 +27,15 @@ class SendTransacEmailRequestToItem extends JsonSerializableType

/**
* @param array{
* contactPixelTrackingConsent?: ?bool,
* email: string,
* name?: ?string,
* } $values
*/
public function __construct(
array $values,
) {
$this->contactPixelTrackingConsent = $values['contactPixelTrackingConsent'] ?? null;
$this->email = $values['email'];
$this->name = $values['name'] ?? null;
}
Expand Down