| Total Complexity | 6 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class MailChimpWebhookDataRequest |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $list_id; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | private $email; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var MailChimpWebhookDataMergeFieldsRequest |
||
| 21 | */ |
||
| 22 | private $merges; |
||
| 23 | |||
| 24 | public function getListId(): string |
||
| 25 | { |
||
| 26 | return $this->list_id; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function setListId(string $listId): MailChimpWebhookDataRequest |
||
| 30 | { |
||
| 31 | $this->list_id = $listId; |
||
| 32 | return $this; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getEmail(): string |
||
| 38 | } |
||
| 39 | |||
| 40 | public function setEmail(string $email): MailChimpWebhookDataRequest |
||
| 41 | { |
||
| 42 | $this->email = $email; |
||
| 43 | return $this; |
||
| 44 | } |
||
| 45 | |||
| 46 | public function getMerges(): MailChimpWebhookDataMergeFieldsRequest |
||
| 47 | { |
||
| 48 | return $this->merges; |
||
| 49 | } |
||
| 50 | |||
| 51 | public function setMerges(MailChimpWebhookDataMergeFieldsRequest $merges): MailChimpWebhookDataRequest |
||
| 55 | } |
||
| 56 | } |
||
| 57 |