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\Payments\Model; |
12: | |
13: | class BankAccountDetailsResponse 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 $type; |
28: | /** |
29: | * Routing number of a bank account (or SWIFT/BIC code for international transfer). For incoming cheques, this field might be null. |
30: | * |
31: | * @var string|null |
32: | */ |
33: | protected $routingNumber; |
34: | /** |
35: | * Account number of a bank account (or IBAN code for international transfer). For incoming cheques, this field might be null. |
36: | * |
37: | * @var string|null |
38: | */ |
39: | protected $accountNumber; |
40: | /** |
41: | * Description of the transfer. |
42: | * |
43: | * @var string|null |
44: | */ |
45: | protected $description; |
46: | /** |
47: | * @var BankAccountDetailsResponsebeneficiaryBank |
48: | */ |
49: | protected $beneficiaryBank; |
50: | /** |
51: | * Fed reference number for incoming wires. |
52: | * |
53: | * @var string|null |
54: | */ |
55: | protected $fedReferenceNumber; |
56: | /** |
57: | * External Memo populated by the sender. |
58: | * |
59: | * @var string|null |
60: | */ |
61: | protected $externalMemo; |
62: | |
63: | public function getType(): string |
64: | { |
65: | return $this->type; |
66: | } |
67: | |
68: | public function setType(string $type): self |
69: | { |
70: | $this->initialized['type'] = true; |
71: | $this->type = $type; |
72: | |
73: | return $this; |
74: | } |
75: | |
76: | /** |
77: | * Routing number of a bank account (or SWIFT/BIC code for international transfer). For incoming cheques, this field might be null. |
78: | */ |
79: | public function getRoutingNumber(): ?string |
80: | { |
81: | return $this->routingNumber; |
82: | } |
83: | |
84: | /** |
85: | * Routing number of a bank account (or SWIFT/BIC code for international transfer). For incoming cheques, this field might be null. |
86: | */ |
87: | public function setRoutingNumber(?string $routingNumber): self |
88: | { |
89: | $this->initialized['routingNumber'] = true; |
90: | $this->routingNumber = $routingNumber; |
91: | |
92: | return $this; |
93: | } |
94: | |
95: | /** |
96: | * Account number of a bank account (or IBAN code for international transfer). For incoming cheques, this field might be null. |
97: | */ |
98: | public function getAccountNumber(): ?string |
99: | { |
100: | return $this->accountNumber; |
101: | } |
102: | |
103: | /** |
104: | * Account number of a bank account (or IBAN code for international transfer). For incoming cheques, this field might be null. |
105: | */ |
106: | public function setAccountNumber(?string $accountNumber): self |
107: | { |
108: | $this->initialized['accountNumber'] = true; |
109: | $this->accountNumber = $accountNumber; |
110: | |
111: | return $this; |
112: | } |
113: | |
114: | /** |
115: | * Description of the transfer. |
116: | */ |
117: | public function getDescription(): ?string |
118: | { |
119: | return $this->description; |
120: | } |
121: | |
122: | /** |
123: | * Description of the transfer. |
124: | */ |
125: | public function setDescription(?string $description): self |
126: | { |
127: | $this->initialized['description'] = true; |
128: | $this->description = $description; |
129: | |
130: | return $this; |
131: | } |
132: | |
133: | public function getBeneficiaryBank(): BankAccountDetailsResponsebeneficiaryBank |
134: | { |
135: | return $this->beneficiaryBank; |
136: | } |
137: | |
138: | public function setBeneficiaryBank(BankAccountDetailsResponsebeneficiaryBank $beneficiaryBank): self |
139: | { |
140: | $this->initialized['beneficiaryBank'] = true; |
141: | $this->beneficiaryBank = $beneficiaryBank; |
142: | |
143: | return $this; |
144: | } |
145: | |
146: | /** |
147: | * Fed reference number for incoming wires. |
148: | */ |
149: | public function getFedReferenceNumber(): ?string |
150: | { |
151: | return $this->fedReferenceNumber; |
152: | } |
153: | |
154: | /** |
155: | * Fed reference number for incoming wires. |
156: | */ |
157: | public function setFedReferenceNumber(?string $fedReferenceNumber): self |
158: | { |
159: | $this->initialized['fedReferenceNumber'] = true; |
160: | $this->fedReferenceNumber = $fedReferenceNumber; |
161: | |
162: | return $this; |
163: | } |
164: | |
165: | /** |
166: | * External Memo populated by the sender. |
167: | */ |
168: | public function getExternalMemo(): ?string |
169: | { |
170: | return $this->externalMemo; |
171: | } |
172: | |
173: | /** |
174: | * External Memo populated by the sender. |
175: | */ |
176: | public function setExternalMemo(?string $externalMemo): self |
177: | { |
178: | $this->initialized['externalMemo'] = true; |
179: | $this->externalMemo = $externalMemo; |
180: | |
181: | return $this; |
182: | } |
183: | } |
184: |