1 | <?php |
||
19 | final class ShowResponse implements ApiResponse |
||
20 | { |
||
21 | private $recipient; |
||
22 | private $bodyMime; |
||
23 | private $recipients; |
||
24 | private $sender; |
||
25 | private $from; |
||
26 | private $subject; |
||
27 | private $bodyPlain; |
||
28 | private $strippedText; |
||
29 | private $strippedSignature; |
||
30 | private $bodyHtml; |
||
31 | private $strippedHtml; |
||
32 | private $attachments; |
||
33 | private $messageUrl; |
||
34 | private $contentIdMap; |
||
35 | private $messageHeaders; |
||
36 | |||
37 | private function __construct() |
||
40 | |||
41 | public static function create(array $data): self |
||
62 | |||
63 | /** |
||
64 | * Only available with message/rfc2822. |
||
65 | */ |
||
66 | public function getRecipient(): ?string |
||
70 | |||
71 | /** |
||
72 | * Only available with message/rfc2822. |
||
73 | */ |
||
74 | public function getBodyMime(): ?string |
||
78 | |||
79 | public function getRecipients(): ?string |
||
83 | |||
84 | public function getSender(): ?string |
||
88 | |||
89 | public function getFrom(): ?string |
||
93 | |||
94 | public function getSubject(): ?string |
||
98 | |||
99 | public function getBodyPlain(): ?string |
||
103 | |||
104 | public function getStrippedText(): ?string |
||
108 | |||
109 | public function getStrippedSignature(): ?string |
||
113 | |||
114 | public function getBodyHtml(): ?string |
||
118 | |||
119 | public function getStrippedHtml(): ?string |
||
123 | |||
124 | public function getAttachments(): array |
||
128 | |||
129 | public function getMessageUrl(): ?string |
||
133 | |||
134 | public function getContentIdMap(): ?string |
||
138 | |||
139 | public function getMessageHeaders(): array |
||
143 | } |
||
144 |