MailChimpWebhookDataRequest::getListId()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace AlexCk\MailchimpBundle\Model\MailChimp;
6
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
36
    {
37
        return $this->email;
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
52
    {
53
        $this->merges = $merges;
54
        return $this;
55
    }
56
}
57