Total Complexity | 6 |
Total Lines | 54 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
7 | final class Notification |
||
8 | { |
||
9 | /** |
||
10 | * @var array<string>|null |
||
11 | * @SerializedName("MerchantEmails") |
||
12 | */ |
||
13 | private $merchantEmails = []; |
||
14 | |||
15 | /** |
||
16 | * @var string|null |
||
17 | * @SerializedName("PayerEmail") |
||
18 | */ |
||
19 | private $payerEmail; |
||
20 | |||
21 | /** |
||
22 | * @var string|null |
||
23 | * @SerializedName("NotifyUrl") |
||
24 | */ |
||
25 | private $notifyUrl; |
||
26 | |||
27 | public function getMerchantEmails(): ?array |
||
28 | { |
||
29 | return $this->merchantEmails; |
||
30 | } |
||
31 | |||
32 | public function setMerchantEmails(?array $merchantEmails): self |
||
33 | { |
||
34 | $this->merchantEmails = $merchantEmails; |
||
35 | |||
36 | return $this; |
||
37 | } |
||
38 | |||
39 | public function getPayerEmail(): ?string |
||
40 | { |
||
41 | return $this->payerEmail; |
||
42 | } |
||
43 | |||
44 | public function setPayerEmail(string $payerEmail): self |
||
49 | } |
||
50 | |||
51 | public function getNotifyUrl(): ?string |
||
52 | { |
||
53 | return $this->notifyUrl; |
||
54 | } |
||
55 | |||
56 | public function setNotifyUrl(string $notifyUrl): self |
||
61 | } |
||
62 | } |
||
63 |