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 DomesticWireDetailsRequest 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: * The routing number must follow proper format.
30: *
31: * @var string
32: */
33: protected $routingNumber;
34: /**
35: * @var string
36: */
37: protected $accountNumber;
38: /**
39: * Company business address (must be in the US; no PO box or virtual/forwarding addresses allowed).
40: *
41: * @var Address
42: */
43: protected $address;
44:
45: public function getType(): string
46: {
47: return $this->type;
48: }
49:
50: public function setType(string $type): self
51: {
52: $this->initialized['type'] = true;
53: $this->type = $type;
54:
55: return $this;
56: }
57:
58: /**
59: * The routing number must follow proper format.
60: */
61: public function getRoutingNumber(): string
62: {
63: return $this->routingNumber;
64: }
65:
66: /**
67: * The routing number must follow proper format.
68: */
69: public function setRoutingNumber(string $routingNumber): self
70: {
71: $this->initialized['routingNumber'] = true;
72: $this->routingNumber = $routingNumber;
73:
74: return $this;
75: }
76:
77: public function getAccountNumber(): string
78: {
79: return $this->accountNumber;
80: }
81:
82: public function setAccountNumber(string $accountNumber): self
83: {
84: $this->initialized['accountNumber'] = true;
85: $this->accountNumber = $accountNumber;
86:
87: return $this;
88: }
89:
90: /**
91: * Company business address (must be in the US; no PO box or virtual/forwarding addresses allowed).
92: */
93: public function getAddress(): Address
94: {
95: return $this->address;
96: }
97:
98: /**
99: * Company business address (must be in the US; no PO box or virtual/forwarding addresses allowed).
100: */
101: public function setAddress(Address $address): self
102: {
103: $this->initialized['address'] = true;
104: $this->address = $address;
105:
106: return $this;
107: }
108: }
109: