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