| Total Complexity | 10 |
| Total Lines | 92 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 8 | final class Card |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string|null |
||
| 12 | * @SerializedName("Number") |
||
| 13 | */ |
||
| 14 | private $number; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var int|null |
||
| 18 | * @SerializedName("ExpYear") |
||
| 19 | * @Type("integer") |
||
| 20 | */ |
||
| 21 | private $expYear; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var int|null |
||
| 25 | * @SerializedName("ExpMonth") |
||
| 26 | * @Type("integer") |
||
| 27 | */ |
||
| 28 | private $expMonth; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var string|null |
||
| 32 | * @SerializedName("HolderName") |
||
| 33 | */ |
||
| 34 | private $holderName; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @var string|null |
||
| 38 | * @SerializedName("CountryCode") |
||
| 39 | */ |
||
| 40 | private $countryCode; |
||
| 41 | |||
| 42 | public function getNumber(): ?string |
||
| 45 | } |
||
| 46 | |||
| 47 | public function setNumber(?string $number): self |
||
| 48 | { |
||
| 49 | $this->number = $number; |
||
| 50 | |||
| 51 | return $this; |
||
| 52 | } |
||
| 53 | |||
| 54 | public function getExpYear(): ?int |
||
| 55 | { |
||
| 56 | return $this->expYear; |
||
| 57 | } |
||
| 58 | |||
| 59 | public function setExpYear(?int $expYear): self |
||
| 60 | { |
||
| 61 | $this->expYear = $expYear; |
||
| 62 | |||
| 63 | return $this; |
||
| 64 | } |
||
| 65 | |||
| 66 | public function getExpMonth(): ?int |
||
| 69 | } |
||
| 70 | |||
| 71 | public function setExpMonth(?int $expMonth): self |
||
| 72 | { |
||
| 73 | $this->expMonth = $expMonth; |
||
| 74 | |||
| 75 | return $this; |
||
| 76 | } |
||
| 77 | |||
| 78 | public function getHolderName(): ?string |
||
| 79 | { |
||
| 80 | return $this->holderName; |
||
| 81 | } |
||
| 82 | |||
| 83 | public function setHolderName(?string $holderName): self |
||
| 88 | } |
||
| 89 | |||
| 90 | public function getCountryCode(): ?string |
||
| 91 | { |
||
| 93 | } |
||
| 94 | |||
| 95 | public function setCountryCode(?string $countryCode): self |
||
| 102 |