. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the "EspoCRM" word. ************************************************************************/ namespace Espo\Modules\Crm\Tools\MassEmail\MessagePreparator; use Espo\Core\Mail\SenderParams; use Espo\Modules\Crm\Entities\EmailQueueItem; class Data { public function __construct( private string $id, private SenderParams $senderParams, private EmailQueueItem $queueItem, ) {} public function getId(): string { return $this->id; } /** @noinspection PhpUnused */ public function getSenderParams(): SenderParams { return $this->senderParams; } /** * @since 9.1.0 */ public function getQueueItem(): EmailQueueItem { return $this->queueItem; } }