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 VendorDetailsResponse 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: | * @var string |
30: | */ |
31: | protected $paymentInstrumentId; |
32: | /** |
33: | * Vendor ID returned from `/vendors` endpoint. |
34: | * |
35: | * @var string |
36: | */ |
37: | protected $id; |
38: | /** |
39: | * Routing number of a bank account (or SWIFT/BIC code for international transfer). |
40: | * |
41: | * @var string|null |
42: | */ |
43: | protected $routingNumber; |
44: | /** |
45: | * Account number of a bank account (or IBAN code for international transfer). |
46: | * |
47: | * @var string|null |
48: | */ |
49: | protected $accountNumber; |
50: | |
51: | public function getType(): string |
52: | { |
53: | return $this->type; |
54: | } |
55: | |
56: | public function setType(string $type): self |
57: | { |
58: | $this->initialized['type'] = true; |
59: | $this->type = $type; |
60: | |
61: | return $this; |
62: | } |
63: | |
64: | public function getPaymentInstrumentId(): string |
65: | { |
66: | return $this->paymentInstrumentId; |
67: | } |
68: | |
69: | public function setPaymentInstrumentId(string $paymentInstrumentId): self |
70: | { |
71: | $this->initialized['paymentInstrumentId'] = true; |
72: | $this->paymentInstrumentId = $paymentInstrumentId; |
73: | |
74: | return $this; |
75: | } |
76: | |
77: | /** |
78: | * Vendor ID returned from `/vendors` endpoint. |
79: | */ |
80: | public function getId(): string |
81: | { |
82: | return $this->id; |
83: | } |
84: | |
85: | /** |
86: | * Vendor ID returned from `/vendors` endpoint. |
87: | */ |
88: | public function setId(string $id): self |
89: | { |
90: | $this->initialized['id'] = true; |
91: | $this->id = $id; |
92: | |
93: | return $this; |
94: | } |
95: | |
96: | /** |
97: | * Routing number of a bank account (or SWIFT/BIC code for international transfer). |
98: | */ |
99: | public function getRoutingNumber(): ?string |
100: | { |
101: | return $this->routingNumber; |
102: | } |
103: | |
104: | /** |
105: | * Routing number of a bank account (or SWIFT/BIC code for international transfer). |
106: | */ |
107: | public function setRoutingNumber(?string $routingNumber): self |
108: | { |
109: | $this->initialized['routingNumber'] = true; |
110: | $this->routingNumber = $routingNumber; |
111: | |
112: | return $this; |
113: | } |
114: | |
115: | /** |
116: | * Account number of a bank account (or IBAN code for international transfer). |
117: | */ |
118: | public function getAccountNumber(): ?string |
119: | { |
120: | return $this->accountNumber; |
121: | } |
122: | |
123: | /** |
124: | * Account number of a bank account (or IBAN code for international transfer). |
125: | */ |
126: | public function setAccountNumber(?string $accountNumber): self |
127: | { |
128: | $this->initialized['accountNumber'] = true; |
129: | $this->accountNumber = $accountNumber; |
130: | |
131: | return $this; |
132: | } |
133: | } |
134: |