| 1 | <?php |
||
| 11 | class GroupHeader |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $messageId; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var DateTimeImmutable |
||
| 20 | */ |
||
| 21 | private $createdOn; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var string|null |
||
| 25 | */ |
||
| 26 | private $additionalInformation; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var Recipient|null |
||
| 30 | */ |
||
| 31 | private $messageRecipient; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param $messageId |
||
| 35 | * @param DateTimeImmutable $createdOn |
||
| 36 | */ |
||
| 37 | 19 | public function __construct($messageId, DateTimeImmutable $createdOn) |
|
| 42 | |||
| 43 | /** |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | 3 | public function getMessageId() |
|
| 50 | |||
| 51 | /** |
||
| 52 | * @return DateTimeImmutable |
||
| 53 | */ |
||
| 54 | 3 | public function getCreatedOn() |
|
| 58 | |||
| 59 | /** |
||
| 60 | * @return string|null |
||
| 61 | */ |
||
| 62 | 3 | public function getAdditionalInformation() |
|
| 66 | |||
| 67 | /** |
||
| 68 | * @param string $additionalInformation |
||
| 69 | */ |
||
| 70 | 15 | public function setAdditionalInformation($additionalInformation) |
|
| 74 | |||
| 75 | /** |
||
| 76 | * @return Recipient|null |
||
| 77 | */ |
||
| 78 | 3 | public function getMessageRecipient() |
|
| 82 | |||
| 83 | /** |
||
| 84 | * @param Recipient $messageRecipient |
||
| 85 | */ |
||
| 86 | 16 | public function setMessageRecipient(Recipient $messageRecipient) |
|
| 90 | } |
||
| 91 |