1: | <?php |
2: | |
3: | declare(strict_types=1); |
4: | |
5: | /* |
6: | * This file has been auto generated by Jane, |
7: | * |
8: | * Do no edit it directly. |
9: | */ |
10: | |
11: | namespace NxSys\Library\Clients\Brex\API\Team\Model; |
12: | |
13: | class CardNumberResponse extends \ArrayObject |
14: | { |
15: | /** |
16: | * @var array |
17: | */ |
18: | protected $initialized = []; |
19: | |
20: | public function isInitialized($property): bool |
21: | { |
22: | return array_key_exists($property, $this->initialized); |
23: | } |
24: | /** |
25: | * @var string |
26: | */ |
27: | protected $id; |
28: | /** |
29: | * @var string |
30: | */ |
31: | protected $number; |
32: | /** |
33: | * @var string |
34: | */ |
35: | protected $cvv; |
36: | /** |
37: | Card expiration year and month. Cards expire on the last day of the expiration month. |
38: | |
39: | The expiration date is in UTC for cards starting with 555671, 428803 and 485932. |
40: | And the expiration date is in PST for cards starting with 511572. |
41: | |
42: | * |
43: | * @var CardExpiration |
44: | */ |
45: | protected $expirationDate; |
46: | |
47: | public function getId(): string |
48: | { |
49: | return $this->id; |
50: | } |
51: | |
52: | public function setId(string $id): self |
53: | { |
54: | $this->initialized['id'] = true; |
55: | $this->id = $id; |
56: | |
57: | return $this; |
58: | } |
59: | |
60: | public function getNumber(): string |
61: | { |
62: | return $this->number; |
63: | } |
64: | |
65: | public function setNumber(string $number): self |
66: | { |
67: | $this->initialized['number'] = true; |
68: | $this->number = $number; |
69: | |
70: | return $this; |
71: | } |
72: | |
73: | public function getCvv(): string |
74: | { |
75: | return $this->cvv; |
76: | } |
77: | |
78: | public function setCvv(string $cvv): self |
79: | { |
80: | $this->initialized['cvv'] = true; |
81: | $this->cvv = $cvv; |
82: | |
83: | return $this; |
84: | } |
85: | |
86: | /** |
87: | Card expiration year and month. Cards expire on the last day of the expiration month. |
88: | |
89: | The expiration date is in UTC for cards starting with 555671, 428803 and 485932. |
90: | And the expiration date is in PST for cards starting with 511572. |
91: | */ |
92: | public function getExpirationDate(): CardExpiration |
93: | { |
94: | return $this->expirationDate; |
95: | } |
96: | |
97: | /** |
98: | Card expiration year and month. Cards expire on the last day of the expiration month. |
99: | |
100: | The expiration date is in UTC for cards starting with 555671, 428803 and 485932. |
101: | And the expiration date is in PST for cards starting with 511572. |
102: | */ |
103: | public function setExpirationDate(CardExpiration $expirationDate): self |
104: | { |
105: | $this->initialized['expirationDate'] = true; |
106: | $this->expirationDate = $expirationDate; |
107: | |
108: | return $this; |
109: | } |
110: | } |
111: |