|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace Fhp\Model; |
|
4
|
|
|
|
|
5
|
|
|
/** |
|
6
|
|
|
* Class Account |
|
7
|
|
|
* @package Fhp\Model |
|
8
|
|
|
*/ |
|
9
|
|
|
class Account |
|
10
|
|
|
{ |
|
11
|
|
|
/** @var string */ |
|
12
|
|
|
protected $id; |
|
13
|
|
|
/** @var string */ |
|
14
|
|
|
protected $accountNumber; |
|
15
|
|
|
/** @var string */ |
|
16
|
|
|
protected $bankCode; |
|
17
|
|
|
/** @var string */ |
|
18
|
|
|
protected $iban; |
|
19
|
|
|
/** @var string */ |
|
20
|
|
|
protected $customerId; |
|
21
|
|
|
/** @var string */ |
|
22
|
|
|
protected $currency; |
|
23
|
|
|
/** @var string */ |
|
24
|
|
|
protected $accountOwnerName; |
|
25
|
|
|
/** @var string */ |
|
26
|
|
|
protected $accountDescription; |
|
27
|
|
|
|
|
28
|
|
|
/** |
|
29
|
|
|
* Get id |
|
30
|
|
|
* |
|
31
|
|
|
* @return mixed |
|
32
|
|
|
*/ |
|
33
|
1 |
|
public function getId() |
|
34
|
|
|
{ |
|
35
|
1 |
|
return $this->id; |
|
36
|
|
|
} |
|
37
|
|
|
|
|
38
|
|
|
/** |
|
39
|
|
|
* Set id |
|
40
|
|
|
* |
|
41
|
|
|
* @param string $id |
|
42
|
|
|
* |
|
43
|
|
|
* @return $this |
|
44
|
|
|
*/ |
|
45
|
1 |
|
public function setId($id) |
|
46
|
|
|
{ |
|
47
|
1 |
|
$this->id = $id; |
|
48
|
|
|
|
|
49
|
1 |
|
return $this; |
|
50
|
|
|
} |
|
51
|
|
|
|
|
52
|
|
|
/** |
|
53
|
|
|
* Get accountNumber |
|
54
|
|
|
* |
|
55
|
|
|
* @return string |
|
56
|
|
|
*/ |
|
57
|
1 |
|
public function getAccountNumber() |
|
58
|
|
|
{ |
|
59
|
1 |
|
return $this->accountNumber; |
|
60
|
|
|
} |
|
61
|
|
|
|
|
62
|
|
|
/** |
|
63
|
|
|
* Set accountNumber |
|
64
|
|
|
* |
|
65
|
|
|
* @param string $accountNumber |
|
66
|
|
|
* |
|
67
|
|
|
* @return $this |
|
68
|
|
|
*/ |
|
69
|
1 |
|
public function setAccountNumber($accountNumber) |
|
70
|
|
|
{ |
|
71
|
1 |
|
$this->accountNumber = (string) $accountNumber; |
|
72
|
|
|
|
|
73
|
1 |
|
return $this; |
|
74
|
|
|
} |
|
75
|
|
|
|
|
76
|
|
|
/** |
|
77
|
|
|
* Get bankCode |
|
78
|
|
|
* |
|
79
|
|
|
* @return string |
|
80
|
|
|
*/ |
|
81
|
1 |
|
public function getBankCode() |
|
82
|
|
|
{ |
|
83
|
1 |
|
return $this->bankCode; |
|
84
|
|
|
} |
|
85
|
|
|
|
|
86
|
|
|
/** |
|
87
|
|
|
* Set bankCode |
|
88
|
|
|
* |
|
89
|
|
|
* @param string $bankCode |
|
90
|
|
|
* |
|
91
|
|
|
* @return $this |
|
92
|
|
|
*/ |
|
93
|
1 |
|
public function setBankCode($bankCode) |
|
94
|
|
|
{ |
|
95
|
1 |
|
$this->bankCode = (string) $bankCode; |
|
96
|
|
|
|
|
97
|
1 |
|
return $this; |
|
98
|
|
|
} |
|
99
|
|
|
|
|
100
|
|
|
/** |
|
101
|
|
|
* Get iban |
|
102
|
|
|
* |
|
103
|
|
|
* @return string |
|
104
|
|
|
*/ |
|
105
|
1 |
|
public function getIban() |
|
106
|
|
|
{ |
|
107
|
1 |
|
return $this->iban; |
|
108
|
|
|
} |
|
109
|
|
|
|
|
110
|
|
|
/** |
|
111
|
|
|
* Set iban |
|
112
|
|
|
* |
|
113
|
|
|
* @param string $iban |
|
114
|
|
|
* |
|
115
|
|
|
* @return $this |
|
116
|
|
|
*/ |
|
117
|
1 |
|
public function setIban($iban) |
|
118
|
|
|
{ |
|
119
|
1 |
|
$this->iban = (string) $iban; |
|
120
|
|
|
|
|
121
|
1 |
|
return $this; |
|
122
|
|
|
} |
|
123
|
|
|
|
|
124
|
|
|
/** |
|
125
|
|
|
* Get customerId |
|
126
|
|
|
* |
|
127
|
|
|
* @return string |
|
128
|
|
|
*/ |
|
129
|
1 |
|
public function getCustomerId() |
|
130
|
|
|
{ |
|
131
|
1 |
|
return $this->customerId; |
|
132
|
|
|
} |
|
133
|
|
|
|
|
134
|
|
|
/** |
|
135
|
|
|
* Set customerId |
|
136
|
|
|
* |
|
137
|
|
|
* @param string $customerId |
|
138
|
|
|
* |
|
139
|
|
|
* @return $this |
|
140
|
|
|
*/ |
|
141
|
1 |
|
public function setCustomerId($customerId) |
|
142
|
|
|
{ |
|
143
|
1 |
|
$this->customerId = (string) $customerId; |
|
144
|
|
|
|
|
145
|
1 |
|
return $this; |
|
146
|
|
|
} |
|
147
|
|
|
|
|
148
|
|
|
/** |
|
149
|
|
|
* Get currency |
|
150
|
|
|
* |
|
151
|
|
|
* @return string |
|
152
|
|
|
*/ |
|
153
|
1 |
|
public function getCurrency() |
|
154
|
|
|
{ |
|
155
|
1 |
|
return $this->currency; |
|
156
|
|
|
} |
|
157
|
|
|
|
|
158
|
|
|
/** |
|
159
|
|
|
* Set currency |
|
160
|
|
|
* |
|
161
|
|
|
* @param string $currency |
|
162
|
|
|
* |
|
163
|
|
|
* @return $this |
|
164
|
|
|
*/ |
|
165
|
1 |
|
public function setCurrency($currency) |
|
166
|
|
|
{ |
|
167
|
1 |
|
$this->currency = (string) $currency; |
|
168
|
|
|
|
|
169
|
1 |
|
return $this; |
|
170
|
|
|
} |
|
171
|
|
|
|
|
172
|
|
|
/** |
|
173
|
|
|
* Get accountOwnerName |
|
174
|
|
|
* |
|
175
|
|
|
* @return string |
|
176
|
|
|
*/ |
|
177
|
1 |
|
public function getAccountOwnerName() |
|
178
|
|
|
{ |
|
179
|
1 |
|
return $this->accountOwnerName; |
|
180
|
|
|
} |
|
181
|
|
|
|
|
182
|
|
|
/** |
|
183
|
|
|
* Set accountOwnerName |
|
184
|
|
|
* |
|
185
|
|
|
* @param string $accountOwnerName |
|
186
|
|
|
* |
|
187
|
|
|
* @return $this |
|
188
|
|
|
*/ |
|
189
|
1 |
|
public function setAccountOwnerName($accountOwnerName) |
|
190
|
|
|
{ |
|
191
|
1 |
|
$this->accountOwnerName = (string) $accountOwnerName; |
|
192
|
|
|
|
|
193
|
1 |
|
return $this; |
|
194
|
|
|
} |
|
195
|
|
|
|
|
196
|
|
|
/** |
|
197
|
|
|
* Get accountDescription |
|
198
|
|
|
* |
|
199
|
|
|
* @return string |
|
200
|
|
|
*/ |
|
201
|
1 |
|
public function getAccountDescription() |
|
202
|
|
|
{ |
|
203
|
1 |
|
return $this->accountDescription; |
|
204
|
|
|
} |
|
205
|
|
|
|
|
206
|
|
|
/** |
|
207
|
|
|
* Set accountDescription |
|
208
|
|
|
* |
|
209
|
|
|
* @param string $accountDescription |
|
210
|
|
|
* |
|
211
|
|
|
* @return $this |
|
212
|
|
|
*/ |
|
213
|
1 |
|
public function setAccountDescription($accountDescription) |
|
214
|
|
|
{ |
|
215
|
1 |
|
$this->accountDescription = (string) $accountDescription; |
|
216
|
|
|
|
|
217
|
1 |
|
return $this; |
|
218
|
|
|
} |
|
219
|
|
|
} |
|
220
|
|
|
|