1: | <?php |
2: | |
3: | declare(strict_types=1); |
4: | |
5: | |
6: | |
7: | |
8: | |
9: | |
10: | |
11: | namespace NxSys\Library\Clients\Brex\API\Payments\Model; |
12: | |
13: | class DomesticWireDetailsResponse extends \ArrayObject |
14: | { |
15: | |
16: | |
17: | |
18: | protected $initialized = []; |
19: | |
20: | public function isInitialized($property): bool |
21: | { |
22: | return array_key_exists($property, $this->initialized); |
23: | } |
24: | |
25: | |
26: | |
27: | protected $type; |
28: | |
29: | |
30: | |
31: | |
32: | |
33: | protected $paymentInstrumentId; |
34: | |
35: | |
36: | |
37: | protected $routingNumber; |
38: | |
39: | |
40: | |
41: | protected $accountNumber; |
42: | |
43: | |
44: | |
45: | |
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: | |
64: | |
65: | |
66: | public function getPaymentInstrumentId(): string |
67: | { |
68: | return $this->paymentInstrumentId; |
69: | } |
70: | |
71: | |
72: | |
73: | |
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: | |
111: | |
112: | public function getAddress(): Address |
113: | { |
114: | return $this->address; |
115: | } |
116: | |
117: | |
118: | |
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: | |