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 DomesticWireDetailsResponse 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: * Company business address (must be in the US; no PO box or virtual/forwarding addresses allowed).
44: *
45: * @var Address
46: */
47: protected $address;
48:
49: public function getType(): string
50: {
51: return $this->type;
52: }
53:
54: public function setType(string $type): self
55: {
56: $this->initialized['type'] = true;
57: $this->type = $type;
58:
59: return $this;
60: }
61:
62: /**
63: * Payment Instrument ID that can be passed to the /transfers endpoint to trigger a transfer.
64: The type of the payment instrument dictates the method.
65: */
66: public function getPaymentInstrumentId(): string
67: {
68: return $this->paymentInstrumentId;
69: }
70:
71: /**
72: * Payment Instrument ID that can be passed to the /transfers endpoint to trigger a transfer.
73: The type of the payment instrument dictates the method.
74: */
75: public function setPaymentInstrumentId(string $paymentInstrumentId): self
76: {
77: $this->initialized['paymentInstrumentId'] = true;
78: $this->paymentInstrumentId = $paymentInstrumentId;
79:
80: return $this;
81: }
82:
83: public function getRoutingNumber(): string
84: {
85: return $this->routingNumber;
86: }
87:
88: public function setRoutingNumber(string $routingNumber): self
89: {
90: $this->initialized['routingNumber'] = true;
91: $this->routingNumber = $routingNumber;
92:
93: return $this;
94: }
95:
96: public function getAccountNumber(): string
97: {
98: return $this->accountNumber;
99: }
100:
101: public function setAccountNumber(string $accountNumber): self
102: {
103: $this->initialized['accountNumber'] = true;
104: $this->accountNumber = $accountNumber;
105:
106: return $this;
107: }
108:
109: /**
110: * Company business address (must be in the US; no PO box or virtual/forwarding addresses allowed).
111: */
112: public function getAddress(): Address
113: {
114: return $this->address;
115: }
116:
117: /**
118: * Company business address (must be in the US; no PO box or virtual/forwarding addresses allowed).
119: */
120: public function setAddress(Address $address): self
121: {
122: $this->initialized['address'] = true;
123: $this->address = $address;
124:
125: return $this;
126: }
127: }
128: