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