| Total Complexity | 8 |
| Total Lines | 64 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class MailChimpWebHook |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $id; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | private $url; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var MailChimpWebHooksEvent |
||
| 21 | */ |
||
| 22 | private $events; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var MailChimpWebHooksSources |
||
| 26 | */ |
||
| 27 | private $sources; |
||
| 28 | |||
| 29 | public function getId(): string |
||
| 30 | { |
||
| 31 | return $this->id; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function setId(string $id): MailChimpWebHook |
||
| 35 | { |
||
| 36 | $this->id = $id; |
||
| 37 | return $this; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function getUrl(): string |
||
| 41 | { |
||
| 42 | return $this->url; |
||
| 43 | } |
||
| 44 | |||
| 45 | public function setUrl(string $url): MailChimpWebHook |
||
| 46 | { |
||
| 47 | $this->url = $url; |
||
| 48 | return $this; |
||
| 49 | } |
||
| 50 | |||
| 51 | public function getEvents(): MailChimpWebHooksEvent |
||
| 54 | } |
||
| 55 | |||
| 56 | public function setEvents(MailChimpWebHooksEvent $events): MailChimpWebHook |
||
| 57 | { |
||
| 58 | $this->events = $events; |
||
| 59 | return $this; |
||
| 60 | } |
||
| 61 | |||
| 62 | public function getSources(): MailChimpWebHooksSources |
||
| 63 | { |
||
| 64 | return $this->sources; |
||
| 65 | } |
||
| 66 | |||
| 67 | public function setSources(MailChimpWebHooksSources $sources): MailChimpWebHook |
||
| 71 | } |
||
| 72 | } |
||
| 73 |