| Total Complexity | 8 |
| Total Lines | 73 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 8 | final class Payer |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string|null |
||
| 12 | * @SerializedName("IpAddress") |
||
| 13 | */ |
||
| 14 | private $ipAddress; |
||
| 15 | /** |
||
| 16 | * @var string|null |
||
| 17 | * @SerializedName("LanguageCode") |
||
| 18 | */ |
||
| 19 | private $languageCode; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var Address|null |
||
| 23 | * @SerializedName("DeliveryAddress") |
||
| 24 | * @Type("Ticketpark\SaferpayJson\Request\Container\Address") |
||
| 25 | */ |
||
| 26 | private $deliveryAddress; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var Address|null |
||
| 30 | * @SerializedName("BillingAddress") |
||
| 31 | * @Type("Ticketpark\SaferpayJson\Request\Container\Address") |
||
| 32 | */ |
||
| 33 | private $billingAddress; |
||
| 34 | |||
| 35 | public function getIpAddress(): ?string |
||
| 36 | { |
||
| 37 | return $this->ipAddress; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function setIpAddress(?string $ipAddress): self |
||
| 41 | { |
||
| 42 | $this->ipAddress = $ipAddress; |
||
| 43 | |||
| 44 | return $this; |
||
| 45 | } |
||
| 46 | |||
| 47 | public function getLanguageCode(): ?string |
||
| 48 | { |
||
| 49 | return $this->languageCode; |
||
| 50 | } |
||
| 51 | |||
| 52 | public function setLanguageCode(?string $languageCode): self |
||
| 53 | { |
||
| 54 | $this->languageCode = $languageCode; |
||
| 55 | |||
| 56 | return $this; |
||
| 57 | } |
||
| 58 | |||
| 59 | public function getDeliveryAddress(): ?Address |
||
| 60 | { |
||
| 61 | return $this->deliveryAddress; |
||
| 62 | } |
||
| 63 | |||
| 64 | public function setDeliveryAddress(?Address $deliveryAddress): self |
||
| 65 | { |
||
| 66 | $this->deliveryAddress = $deliveryAddress; |
||
| 67 | |||
| 68 | return $this; |
||
| 69 | } |
||
| 70 | |||
| 71 | public function getBillingAddress(): ?Address |
||
| 74 | } |
||
| 75 | |||
| 76 | public function setBillingAddress(?Address $billingAddress): self |
||
| 77 | { |
||
| 81 | } |
||
| 82 | } |
||
| 83 |