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 ACHDetailsResponse 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: * Payment Instrument ID that can be passed to the /transfers endpoint to trigger a transfer.
30: *
31: * @var string
32: */
33: protected $paymentInstrumentId;
34: /**
35: * @var string
36: */
37: protected $routingNumber;
38: /**
39: * @var string
40: */
41: protected $accountNumber;
42: /**
43: * @var string
44: */
45: protected $accountType;
46: /**
47: * @var string
48: */
49: protected $accountClass;
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: /**
65: * Payment Instrument ID that can be passed to the /transfers endpoint to trigger a transfer.
66: The type of the payment instrument dictates the method.
67: */
68: public function getPaymentInstrumentId(): string
69: {
70: return $this->paymentInstrumentId;
71: }
72:
73: /**
74: * Payment Instrument ID that can be passed to the /transfers endpoint to trigger a transfer.
75: The type of the payment instrument dictates the method.
76: */
77: public function setPaymentInstrumentId(string $paymentInstrumentId): self
78: {
79: $this->initialized['paymentInstrumentId'] = true;
80: $this->paymentInstrumentId = $paymentInstrumentId;
81:
82: return $this;
83: }
84:
85: public function getRoutingNumber(): string
86: {
87: return $this->routingNumber;
88: }
89:
90: public function setRoutingNumber(string $routingNumber): self
91: {
92: $this->initialized['routingNumber'] = true;
93: $this->routingNumber = $routingNumber;
94:
95: return $this;
96: }
97:
98: public function getAccountNumber(): string
99: {
100: return $this->accountNumber;
101: }
102:
103: public function setAccountNumber(string $accountNumber): self
104: {
105: $this->initialized['accountNumber'] = true;
106: $this->accountNumber = $accountNumber;
107:
108: return $this;
109: }
110:
111: public function getAccountType(): string
112: {
113: return $this->accountType;
114: }
115:
116: public function setAccountType(string $accountType): self
117: {
118: $this->initialized['accountType'] = true;
119: $this->accountType = $accountType;
120:
121: return $this;
122: }
123:
124: public function getAccountClass(): string
125: {
126: return $this->accountClass;
127: }
128:
129: public function setAccountClass(string $accountClass): self
130: {
131: $this->initialized['accountClass'] = true;
132: $this->accountClass = $accountClass;
133:
134: return $this;
135: }
136: }
137: