1: | <?php |
2: | |
3: | declare(strict_types=1); |
4: | |
5: | |
6: | |
7: | |
8: | |
9: | |
10: | |
11: | namespace NxSys\Library\Clients\Brex\API\Payments\Model; |
12: | |
13: | class BeneficiaryBankAddress extends \ArrayObject |
14: | { |
15: | |
16: | |
17: | |
18: | protected $initialized = []; |
19: | |
20: | public function isInitialized($property): bool |
21: | { |
22: | return array_key_exists($property, $this->initialized); |
23: | } |
24: | |
25: | |
26: | |
27: | |
28: | |
29: | protected $line1; |
30: | |
31: | |
32: | |
33: | |
34: | |
35: | protected $line2; |
36: | |
37: | |
38: | |
39: | |
40: | |
41: | protected $city; |
42: | |
43: | |
44: | |
45: | |
46: | |
47: | protected $state; |
48: | |
49: | |
50: | |
51: | |
52: | |
53: | protected $country; |
54: | |
55: | |
56: | |
57: | |
58: | |
59: | protected $postalCode; |
60: | |
61: | |
62: | |
63: | |
64: | |
65: | protected $phoneNumber; |
66: | |
67: | |
68: | |
69: | |
70: | public function getLine1(): ?string |
71: | { |
72: | return $this->line1; |
73: | } |
74: | |
75: | |
76: | |
77: | |
78: | public function setLine1(?string $line1): self |
79: | { |
80: | $this->initialized['line1'] = true; |
81: | $this->line1 = $line1; |
82: | |
83: | return $this; |
84: | } |
85: | |
86: | |
87: | |
88: | |
89: | public function getLine2(): ?string |
90: | { |
91: | return $this->line2; |
92: | } |
93: | |
94: | |
95: | |
96: | |
97: | public function setLine2(?string $line2): self |
98: | { |
99: | $this->initialized['line2'] = true; |
100: | $this->line2 = $line2; |
101: | |
102: | return $this; |
103: | } |
104: | |
105: | |
106: | |
107: | |
108: | public function getCity(): ?string |
109: | { |
110: | return $this->city; |
111: | } |
112: | |
113: | |
114: | |
115: | |
116: | public function setCity(?string $city): self |
117: | { |
118: | $this->initialized['city'] = true; |
119: | $this->city = $city; |
120: | |
121: | return $this; |
122: | } |
123: | |
124: | |
125: | |
126: | |
127: | public function getState(): ?string |
128: | { |
129: | return $this->state; |
130: | } |
131: | |
132: | |
133: | |
134: | |
135: | public function setState(?string $state): self |
136: | { |
137: | $this->initialized['state'] = true; |
138: | $this->state = $state; |
139: | |
140: | return $this; |
141: | } |
142: | |
143: | |
144: | |
145: | |
146: | public function getCountry(): ?string |
147: | { |
148: | return $this->country; |
149: | } |
150: | |
151: | |
152: | |
153: | |
154: | public function setCountry(?string $country): self |
155: | { |
156: | $this->initialized['country'] = true; |
157: | $this->country = $country; |
158: | |
159: | return $this; |
160: | } |
161: | |
162: | |
163: | |
164: | |
165: | public function getPostalCode(): ?string |
166: | { |
167: | return $this->postalCode; |
168: | } |
169: | |
170: | |
171: | |
172: | |
173: | public function setPostalCode(?string $postalCode): self |
174: | { |
175: | $this->initialized['postalCode'] = true; |
176: | $this->postalCode = $postalCode; |
177: | |
178: | return $this; |
179: | } |
180: | |
181: | |
182: | |
183: | |
184: | public function getPhoneNumber(): ?string |
185: | { |
186: | return $this->phoneNumber; |
187: | } |
188: | |
189: | |
190: | |
191: | |
192: | public function setPhoneNumber(?string $phoneNumber): self |
193: | { |
194: | $this->initialized['phoneNumber'] = true; |
195: | $this->phoneNumber = $phoneNumber; |
196: | |
197: | return $this; |
198: | } |
199: | } |
200: | |