Total Complexity | 231 |
Total Lines | 1836 |
Duplicated Lines | 0 % |
Changes | 0 |
Complex classes like DutchBusinessDossier often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes.
Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.
While breaking up the class, it is a good idea to analyze how other classes use DutchBusinessDossier, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
12 | class DutchBusinessDossier extends AbstractStructBase |
||
13 | { |
||
14 | /** |
||
15 | * The update_info |
||
16 | * @var \Webservices\StructType\DutchBusinessUpdateReference |
||
17 | */ |
||
18 | public $update_info; |
||
19 | /** |
||
20 | * The dossier_number |
||
21 | * @var string |
||
22 | */ |
||
23 | public $dossier_number; |
||
24 | /** |
||
25 | * The establishment_number |
||
26 | * Meta informations extracted from the WSDL |
||
27 | * - minOccurs: 0 |
||
28 | * @var string |
||
29 | */ |
||
30 | public $establishment_number; |
||
31 | /** |
||
32 | * The main_establishment_number |
||
33 | * Meta informations extracted from the WSDL |
||
34 | * - minOccurs: 0 |
||
35 | * @var string |
||
36 | */ |
||
37 | public $main_establishment_number; |
||
38 | /** |
||
39 | * The indication_main_establishment |
||
40 | * @var bool |
||
41 | */ |
||
42 | public $indication_main_establishment; |
||
43 | /** |
||
44 | * The rsin_number |
||
45 | * Meta informations extracted from the WSDL |
||
46 | * - minOccurs: 0 |
||
47 | * @var string |
||
48 | */ |
||
49 | public $rsin_number; |
||
50 | /** |
||
51 | * The chamber_number |
||
52 | * @var string |
||
53 | */ |
||
54 | public $chamber_number; |
||
55 | /** |
||
56 | * The legal_form_code |
||
57 | * @var string |
||
58 | */ |
||
59 | public $legal_form_code; |
||
60 | /** |
||
61 | * The legal_form_text |
||
62 | * @var string |
||
63 | */ |
||
64 | public $legal_form_text; |
||
65 | /** |
||
66 | * The indication_organisation_code |
||
67 | * @var string |
||
68 | */ |
||
69 | public $indication_organisation_code; |
||
70 | /** |
||
71 | * The legal_name |
||
72 | * @var string |
||
73 | */ |
||
74 | public $legal_name; |
||
75 | /** |
||
76 | * The trade_name_45 |
||
77 | * @var string |
||
78 | */ |
||
79 | public $trade_name_45; |
||
80 | /** |
||
81 | * The trade_name_full |
||
82 | * @var string |
||
83 | */ |
||
84 | public $trade_name_full; |
||
85 | /** |
||
86 | * The trade_names |
||
87 | * Meta informations extracted from the WSDL |
||
88 | * - minOccurs: 0 |
||
89 | * @var \Webservices\ArrayType\StringArray |
||
90 | */ |
||
91 | public $trade_names; |
||
92 | /** |
||
93 | * The establishment_postcode |
||
94 | * @var string |
||
95 | */ |
||
96 | public $establishment_postcode; |
||
97 | /** |
||
98 | * The establishment_city |
||
99 | * @var string |
||
100 | */ |
||
101 | public $establishment_city; |
||
102 | /** |
||
103 | * The establishment_street |
||
104 | * @var string |
||
105 | */ |
||
106 | public $establishment_street; |
||
107 | /** |
||
108 | * The establishment_house_number |
||
109 | * @var int |
||
110 | */ |
||
111 | public $establishment_house_number; |
||
112 | /** |
||
113 | * The establishment_house_number_addition |
||
114 | * @var string |
||
115 | */ |
||
116 | public $establishment_house_number_addition; |
||
117 | /** |
||
118 | * The correspondence_postcode |
||
119 | * @var string |
||
120 | */ |
||
121 | public $correspondence_postcode; |
||
122 | /** |
||
123 | * The correspondence_city |
||
124 | * @var string |
||
125 | */ |
||
126 | public $correspondence_city; |
||
127 | /** |
||
128 | * The correspondence_street |
||
129 | * @var string |
||
130 | */ |
||
131 | public $correspondence_street; |
||
132 | /** |
||
133 | * The correspondence_house_number |
||
134 | * @var int |
||
135 | */ |
||
136 | public $correspondence_house_number; |
||
137 | /** |
||
138 | * The correspondence_house_number_addition |
||
139 | * @var string |
||
140 | */ |
||
141 | public $correspondence_house_number_addition; |
||
142 | /** |
||
143 | * The correspondence_country |
||
144 | * @var string |
||
145 | */ |
||
146 | public $correspondence_country; |
||
147 | /** |
||
148 | * The telephone_number |
||
149 | * @var string |
||
150 | */ |
||
151 | public $telephone_number; |
||
152 | /** |
||
153 | * The mobile_number |
||
154 | * @var string |
||
155 | */ |
||
156 | public $mobile_number; |
||
157 | /** |
||
158 | * The domain_name |
||
159 | * @var string |
||
160 | */ |
||
161 | public $domain_name; |
||
162 | /** |
||
163 | * The contact_title1 |
||
164 | * @var string |
||
165 | */ |
||
166 | public $contact_title1; |
||
167 | /** |
||
168 | * The contact_title2 |
||
169 | * @var string |
||
170 | */ |
||
171 | public $contact_title2; |
||
172 | /** |
||
173 | * The contact_initials |
||
174 | * @var string |
||
175 | */ |
||
176 | public $contact_initials; |
||
177 | /** |
||
178 | * The contact_prefix |
||
179 | * @var string |
||
180 | */ |
||
181 | public $contact_prefix; |
||
182 | /** |
||
183 | * The contact_surname |
||
184 | * @var string |
||
185 | */ |
||
186 | public $contact_surname; |
||
187 | /** |
||
188 | * The contact_gender |
||
189 | * @var string |
||
190 | */ |
||
191 | public $contact_gender; |
||
192 | /** |
||
193 | * The primary_sbi_code |
||
194 | * @var string |
||
195 | */ |
||
196 | public $primary_sbi_code; |
||
197 | /** |
||
198 | * The secondary_sbi_code1 |
||
199 | * @var string |
||
200 | */ |
||
201 | public $secondary_sbi_code1; |
||
202 | /** |
||
203 | * The secondary_sbi_code2 |
||
204 | * @var string |
||
205 | */ |
||
206 | public $secondary_sbi_code2; |
||
207 | /** |
||
208 | * The primary_sbi_code_text |
||
209 | * @var string |
||
210 | */ |
||
211 | public $primary_sbi_code_text; |
||
212 | /** |
||
213 | * The secondary_sbi_code1_text |
||
214 | * @var string |
||
215 | */ |
||
216 | public $secondary_sbi_code1_text; |
||
217 | /** |
||
218 | * The secondary_sbi_code2_text |
||
219 | * @var string |
||
220 | */ |
||
221 | public $secondary_sbi_code2_text; |
||
222 | /** |
||
223 | * The personnel |
||
224 | * @var int |
||
225 | */ |
||
226 | public $personnel; |
||
227 | /** |
||
228 | * The class_personnel |
||
229 | * @var int |
||
230 | */ |
||
231 | public $class_personnel; |
||
232 | /** |
||
233 | * The personnel_fulltime |
||
234 | * @var int |
||
235 | */ |
||
236 | public $personnel_fulltime; |
||
237 | /** |
||
238 | * The class_personnel_fulltime |
||
239 | * @var int |
||
240 | */ |
||
241 | public $class_personnel_fulltime; |
||
242 | /** |
||
243 | * The personnel_reference_date |
||
244 | * Meta informations extracted from the WSDL |
||
245 | * - minOccurs: 0 |
||
246 | * @var \Webservices\StructType\DutchBusinessDate |
||
247 | */ |
||
248 | public $personnel_reference_date; |
||
249 | /** |
||
250 | * The indication_import |
||
251 | * Meta informations extracted from the WSDL |
||
252 | * - minOccurs: 0 |
||
253 | * @var bool |
||
254 | */ |
||
255 | public $indication_import; |
||
256 | /** |
||
257 | * The indication_export |
||
258 | * Meta informations extracted from the WSDL |
||
259 | * - minOccurs: 0 |
||
260 | * @var bool |
||
261 | */ |
||
262 | public $indication_export; |
||
263 | /** |
||
264 | * The indication_economically_active |
||
265 | * @var bool |
||
266 | */ |
||
267 | public $indication_economically_active; |
||
268 | /** |
||
269 | * The indication_non_mailing |
||
270 | * @var bool |
||
271 | */ |
||
272 | public $indication_non_mailing; |
||
273 | /** |
||
274 | * The indication_bankruptcy |
||
275 | * @var bool |
||
276 | */ |
||
277 | public $indication_bankruptcy; |
||
278 | /** |
||
279 | * The indication_dip |
||
280 | * @var bool |
||
281 | */ |
||
282 | public $indication_dip; |
||
283 | /** |
||
284 | * The authorized_share_capital |
||
285 | * Meta informations extracted from the WSDL |
||
286 | * - minOccurs: 0 |
||
287 | * @var int |
||
288 | */ |
||
289 | public $authorized_share_capital; |
||
290 | /** |
||
291 | * The authorized_share_capital_currency |
||
292 | * Meta informations extracted from the WSDL |
||
293 | * - minOccurs: 0 |
||
294 | * @var string |
||
295 | */ |
||
296 | public $authorized_share_capital_currency; |
||
297 | /** |
||
298 | * The paid_up_share_capital |
||
299 | * Meta informations extracted from the WSDL |
||
300 | * - minOccurs: 0 |
||
301 | * @var int |
||
302 | */ |
||
303 | public $paid_up_share_capital; |
||
304 | /** |
||
305 | * The paid_up_share_capital_currency |
||
306 | * Meta informations extracted from the WSDL |
||
307 | * - minOccurs: 0 |
||
308 | * @var string |
||
309 | */ |
||
310 | public $paid_up_share_capital_currency; |
||
311 | /** |
||
312 | * The issued_share_capital |
||
313 | * Meta informations extracted from the WSDL |
||
314 | * - minOccurs: 0 |
||
315 | * @var int |
||
316 | */ |
||
317 | public $issued_share_capital; |
||
318 | /** |
||
319 | * The issued_share_capital_currency |
||
320 | * Meta informations extracted from the WSDL |
||
321 | * - minOccurs: 0 |
||
322 | * @var string |
||
323 | */ |
||
324 | public $issued_share_capital_currency; |
||
325 | /** |
||
326 | * The founding_date |
||
327 | * Meta informations extracted from the WSDL |
||
328 | * - minOccurs: 0 |
||
329 | * @var \Webservices\StructType\DutchBusinessDate |
||
330 | */ |
||
331 | public $founding_date; |
||
332 | /** |
||
333 | * The continuation_date |
||
334 | * Meta informations extracted from the WSDL |
||
335 | * - minOccurs: 0 |
||
336 | * @var \Webservices\StructType\DutchBusinessDate |
||
337 | */ |
||
338 | public $continuation_date; |
||
339 | /** |
||
340 | * The establishment_date |
||
341 | * Meta informations extracted from the WSDL |
||
342 | * - minOccurs: 0 |
||
343 | * @var \Webservices\StructType\DutchBusinessDate |
||
344 | */ |
||
345 | public $establishment_date; |
||
346 | /** |
||
347 | * Constructor method for DutchBusinessDossier |
||
348 | * @uses DutchBusinessDossier::setUpdate_info() |
||
349 | * @uses DutchBusinessDossier::setDossier_number() |
||
350 | * @uses DutchBusinessDossier::setEstablishment_number() |
||
351 | * @uses DutchBusinessDossier::setMain_establishment_number() |
||
352 | * @uses DutchBusinessDossier::setIndication_main_establishment() |
||
353 | * @uses DutchBusinessDossier::setRsin_number() |
||
354 | * @uses DutchBusinessDossier::setChamber_number() |
||
355 | * @uses DutchBusinessDossier::setLegal_form_code() |
||
356 | * @uses DutchBusinessDossier::setLegal_form_text() |
||
357 | * @uses DutchBusinessDossier::setIndication_organisation_code() |
||
358 | * @uses DutchBusinessDossier::setLegal_name() |
||
359 | * @uses DutchBusinessDossier::setTrade_name_45() |
||
360 | * @uses DutchBusinessDossier::setTrade_name_full() |
||
361 | * @uses DutchBusinessDossier::setTrade_names() |
||
362 | * @uses DutchBusinessDossier::setEstablishment_postcode() |
||
363 | * @uses DutchBusinessDossier::setEstablishment_city() |
||
364 | * @uses DutchBusinessDossier::setEstablishment_street() |
||
365 | * @uses DutchBusinessDossier::setEstablishment_house_number() |
||
366 | * @uses DutchBusinessDossier::setEstablishment_house_number_addition() |
||
367 | * @uses DutchBusinessDossier::setCorrespondence_postcode() |
||
368 | * @uses DutchBusinessDossier::setCorrespondence_city() |
||
369 | * @uses DutchBusinessDossier::setCorrespondence_street() |
||
370 | * @uses DutchBusinessDossier::setCorrespondence_house_number() |
||
371 | * @uses DutchBusinessDossier::setCorrespondence_house_number_addition() |
||
372 | * @uses DutchBusinessDossier::setCorrespondence_country() |
||
373 | * @uses DutchBusinessDossier::setTelephone_number() |
||
374 | * @uses DutchBusinessDossier::setMobile_number() |
||
375 | * @uses DutchBusinessDossier::setDomain_name() |
||
376 | * @uses DutchBusinessDossier::setContact_title1() |
||
377 | * @uses DutchBusinessDossier::setContact_title2() |
||
378 | * @uses DutchBusinessDossier::setContact_initials() |
||
379 | * @uses DutchBusinessDossier::setContact_prefix() |
||
380 | * @uses DutchBusinessDossier::setContact_surname() |
||
381 | * @uses DutchBusinessDossier::setContact_gender() |
||
382 | * @uses DutchBusinessDossier::setPrimary_sbi_code() |
||
383 | * @uses DutchBusinessDossier::setSecondary_sbi_code1() |
||
384 | * @uses DutchBusinessDossier::setSecondary_sbi_code2() |
||
385 | * @uses DutchBusinessDossier::setPrimary_sbi_code_text() |
||
386 | * @uses DutchBusinessDossier::setSecondary_sbi_code1_text() |
||
387 | * @uses DutchBusinessDossier::setSecondary_sbi_code2_text() |
||
388 | * @uses DutchBusinessDossier::setPersonnel() |
||
389 | * @uses DutchBusinessDossier::setClass_personnel() |
||
390 | * @uses DutchBusinessDossier::setPersonnel_fulltime() |
||
391 | * @uses DutchBusinessDossier::setClass_personnel_fulltime() |
||
392 | * @uses DutchBusinessDossier::setPersonnel_reference_date() |
||
393 | * @uses DutchBusinessDossier::setIndication_import() |
||
394 | * @uses DutchBusinessDossier::setIndication_export() |
||
395 | * @uses DutchBusinessDossier::setIndication_economically_active() |
||
396 | * @uses DutchBusinessDossier::setIndication_non_mailing() |
||
397 | * @uses DutchBusinessDossier::setIndication_bankruptcy() |
||
398 | * @uses DutchBusinessDossier::setIndication_dip() |
||
399 | * @uses DutchBusinessDossier::setAuthorized_share_capital() |
||
400 | * @uses DutchBusinessDossier::setAuthorized_share_capital_currency() |
||
401 | * @uses DutchBusinessDossier::setPaid_up_share_capital() |
||
402 | * @uses DutchBusinessDossier::setPaid_up_share_capital_currency() |
||
403 | * @uses DutchBusinessDossier::setIssued_share_capital() |
||
404 | * @uses DutchBusinessDossier::setIssued_share_capital_currency() |
||
405 | * @uses DutchBusinessDossier::setFounding_date() |
||
406 | * @uses DutchBusinessDossier::setContinuation_date() |
||
407 | * @uses DutchBusinessDossier::setEstablishment_date() |
||
408 | * @param \Webservices\StructType\DutchBusinessUpdateReference $update_info |
||
409 | * @param string $dossier_number |
||
410 | * @param string $establishment_number |
||
411 | * @param string $main_establishment_number |
||
412 | * @param bool $indication_main_establishment |
||
413 | * @param string $rsin_number |
||
414 | * @param string $chamber_number |
||
415 | * @param string $legal_form_code |
||
416 | * @param string $legal_form_text |
||
417 | * @param string $indication_organisation_code |
||
418 | * @param string $legal_name |
||
419 | * @param string $trade_name_45 |
||
420 | * @param string $trade_name_full |
||
421 | * @param \Webservices\ArrayType\StringArray $trade_names |
||
422 | * @param string $establishment_postcode |
||
423 | * @param string $establishment_city |
||
424 | * @param string $establishment_street |
||
425 | * @param int $establishment_house_number |
||
426 | * @param string $establishment_house_number_addition |
||
427 | * @param string $correspondence_postcode |
||
428 | * @param string $correspondence_city |
||
429 | * @param string $correspondence_street |
||
430 | * @param int $correspondence_house_number |
||
431 | * @param string $correspondence_house_number_addition |
||
432 | * @param string $correspondence_country |
||
433 | * @param string $telephone_number |
||
434 | * @param string $mobile_number |
||
435 | * @param string $domain_name |
||
436 | * @param string $contact_title1 |
||
437 | * @param string $contact_title2 |
||
438 | * @param string $contact_initials |
||
439 | * @param string $contact_prefix |
||
440 | * @param string $contact_surname |
||
441 | * @param string $contact_gender |
||
442 | * @param string $primary_sbi_code |
||
443 | * @param string $secondary_sbi_code1 |
||
444 | * @param string $secondary_sbi_code2 |
||
445 | * @param string $primary_sbi_code_text |
||
446 | * @param string $secondary_sbi_code1_text |
||
447 | * @param string $secondary_sbi_code2_text |
||
448 | * @param int $personnel |
||
449 | * @param int $class_personnel |
||
450 | * @param int $personnel_fulltime |
||
451 | * @param int $class_personnel_fulltime |
||
452 | * @param \Webservices\StructType\DutchBusinessDate $personnel_reference_date |
||
453 | * @param bool $indication_import |
||
454 | * @param bool $indication_export |
||
455 | * @param bool $indication_economically_active |
||
456 | * @param bool $indication_non_mailing |
||
457 | * @param bool $indication_bankruptcy |
||
458 | * @param bool $indication_dip |
||
459 | * @param int $authorized_share_capital |
||
460 | * @param string $authorized_share_capital_currency |
||
461 | * @param int $paid_up_share_capital |
||
462 | * @param string $paid_up_share_capital_currency |
||
463 | * @param int $issued_share_capital |
||
464 | * @param string $issued_share_capital_currency |
||
465 | * @param \Webservices\StructType\DutchBusinessDate $founding_date |
||
466 | * @param \Webservices\StructType\DutchBusinessDate $continuation_date |
||
467 | * @param \Webservices\StructType\DutchBusinessDate $establishment_date |
||
468 | */ |
||
469 | public function __construct(\Webservices\StructType\DutchBusinessUpdateReference $update_info = null, $dossier_number = null, $establishment_number = null, $main_establishment_number = null, $indication_main_establishment = null, $rsin_number = null, $chamber_number = null, $legal_form_code = null, $legal_form_text = null, $indication_organisation_code = null, $legal_name = null, $trade_name_45 = null, $trade_name_full = null, \Webservices\ArrayType\StringArray $trade_names = null, $establishment_postcode = null, $establishment_city = null, $establishment_street = null, $establishment_house_number = null, $establishment_house_number_addition = null, $correspondence_postcode = null, $correspondence_city = null, $correspondence_street = null, $correspondence_house_number = null, $correspondence_house_number_addition = null, $correspondence_country = null, $telephone_number = null, $mobile_number = null, $domain_name = null, $contact_title1 = null, $contact_title2 = null, $contact_initials = null, $contact_prefix = null, $contact_surname = null, $contact_gender = null, $primary_sbi_code = null, $secondary_sbi_code1 = null, $secondary_sbi_code2 = null, $primary_sbi_code_text = null, $secondary_sbi_code1_text = null, $secondary_sbi_code2_text = null, $personnel = null, $class_personnel = null, $personnel_fulltime = null, $class_personnel_fulltime = null, \Webservices\StructType\DutchBusinessDate $personnel_reference_date = null, $indication_import = null, $indication_export = null, $indication_economically_active = null, $indication_non_mailing = null, $indication_bankruptcy = null, $indication_dip = null, $authorized_share_capital = null, $authorized_share_capital_currency = null, $paid_up_share_capital = null, $paid_up_share_capital_currency = null, $issued_share_capital = null, $issued_share_capital_currency = null, \Webservices\StructType\DutchBusinessDate $founding_date = null, \Webservices\StructType\DutchBusinessDate $continuation_date = null, \Webservices\StructType\DutchBusinessDate $establishment_date = null) |
||
470 | { |
||
471 | $this |
||
472 | ->setUpdate_info($update_info) |
||
473 | ->setDossier_number($dossier_number) |
||
474 | ->setEstablishment_number($establishment_number) |
||
475 | ->setMain_establishment_number($main_establishment_number) |
||
476 | ->setIndication_main_establishment($indication_main_establishment) |
||
477 | ->setRsin_number($rsin_number) |
||
478 | ->setChamber_number($chamber_number) |
||
479 | ->setLegal_form_code($legal_form_code) |
||
480 | ->setLegal_form_text($legal_form_text) |
||
481 | ->setIndication_organisation_code($indication_organisation_code) |
||
482 | ->setLegal_name($legal_name) |
||
483 | ->setTrade_name_45($trade_name_45) |
||
484 | ->setTrade_name_full($trade_name_full) |
||
485 | ->setTrade_names($trade_names) |
||
486 | ->setEstablishment_postcode($establishment_postcode) |
||
487 | ->setEstablishment_city($establishment_city) |
||
488 | ->setEstablishment_street($establishment_street) |
||
489 | ->setEstablishment_house_number($establishment_house_number) |
||
490 | ->setEstablishment_house_number_addition($establishment_house_number_addition) |
||
491 | ->setCorrespondence_postcode($correspondence_postcode) |
||
492 | ->setCorrespondence_city($correspondence_city) |
||
493 | ->setCorrespondence_street($correspondence_street) |
||
494 | ->setCorrespondence_house_number($correspondence_house_number) |
||
495 | ->setCorrespondence_house_number_addition($correspondence_house_number_addition) |
||
496 | ->setCorrespondence_country($correspondence_country) |
||
497 | ->setTelephone_number($telephone_number) |
||
498 | ->setMobile_number($mobile_number) |
||
499 | ->setDomain_name($domain_name) |
||
500 | ->setContact_title1($contact_title1) |
||
501 | ->setContact_title2($contact_title2) |
||
502 | ->setContact_initials($contact_initials) |
||
503 | ->setContact_prefix($contact_prefix) |
||
504 | ->setContact_surname($contact_surname) |
||
505 | ->setContact_gender($contact_gender) |
||
506 | ->setPrimary_sbi_code($primary_sbi_code) |
||
507 | ->setSecondary_sbi_code1($secondary_sbi_code1) |
||
508 | ->setSecondary_sbi_code2($secondary_sbi_code2) |
||
509 | ->setPrimary_sbi_code_text($primary_sbi_code_text) |
||
510 | ->setSecondary_sbi_code1_text($secondary_sbi_code1_text) |
||
511 | ->setSecondary_sbi_code2_text($secondary_sbi_code2_text) |
||
512 | ->setPersonnel($personnel) |
||
513 | ->setClass_personnel($class_personnel) |
||
514 | ->setPersonnel_fulltime($personnel_fulltime) |
||
515 | ->setClass_personnel_fulltime($class_personnel_fulltime) |
||
516 | ->setPersonnel_reference_date($personnel_reference_date) |
||
517 | ->setIndication_import($indication_import) |
||
518 | ->setIndication_export($indication_export) |
||
519 | ->setIndication_economically_active($indication_economically_active) |
||
520 | ->setIndication_non_mailing($indication_non_mailing) |
||
521 | ->setIndication_bankruptcy($indication_bankruptcy) |
||
522 | ->setIndication_dip($indication_dip) |
||
523 | ->setAuthorized_share_capital($authorized_share_capital) |
||
524 | ->setAuthorized_share_capital_currency($authorized_share_capital_currency) |
||
525 | ->setPaid_up_share_capital($paid_up_share_capital) |
||
526 | ->setPaid_up_share_capital_currency($paid_up_share_capital_currency) |
||
527 | ->setIssued_share_capital($issued_share_capital) |
||
528 | ->setIssued_share_capital_currency($issued_share_capital_currency) |
||
529 | ->setFounding_date($founding_date) |
||
530 | ->setContinuation_date($continuation_date) |
||
531 | ->setEstablishment_date($establishment_date); |
||
532 | } |
||
533 | /** |
||
534 | * Get update_info value |
||
535 | * @return \Webservices\StructType\DutchBusinessUpdateReference|null |
||
536 | */ |
||
537 | public function getUpdate_info() |
||
538 | { |
||
539 | return $this->update_info; |
||
540 | } |
||
541 | /** |
||
542 | * Set update_info value |
||
543 | * @param \Webservices\StructType\DutchBusinessUpdateReference $update_info |
||
544 | * @return \Webservices\StructType\DutchBusinessDossier |
||
545 | */ |
||
546 | public function setUpdate_info(\Webservices\StructType\DutchBusinessUpdateReference $update_info = null) |
||
547 | { |
||
548 | $this->update_info = $update_info; |
||
549 | return $this; |
||
550 | } |
||
551 | /** |
||
552 | * Get dossier_number value |
||
553 | * @return string|null |
||
554 | */ |
||
555 | public function getDossier_number() |
||
556 | { |
||
557 | return $this->dossier_number; |
||
558 | } |
||
559 | /** |
||
560 | * Set dossier_number value |
||
561 | * @param string $dossier_number |
||
562 | * @return \Webservices\StructType\DutchBusinessDossier |
||
563 | */ |
||
564 | public function setDossier_number($dossier_number = null) |
||
565 | { |
||
566 | // validation for constraint: string |
||
567 | if (!is_null($dossier_number) && !is_string($dossier_number)) { |
||
|
|||
568 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($dossier_number)), __LINE__); |
||
569 | } |
||
570 | $this->dossier_number = $dossier_number; |
||
571 | return $this; |
||
572 | } |
||
573 | /** |
||
574 | * Get establishment_number value |
||
575 | * @return string|null |
||
576 | */ |
||
577 | public function getEstablishment_number() |
||
578 | { |
||
579 | return $this->establishment_number; |
||
580 | } |
||
581 | /** |
||
582 | * Set establishment_number value |
||
583 | * @param string $establishment_number |
||
584 | * @return \Webservices\StructType\DutchBusinessDossier |
||
585 | */ |
||
586 | public function setEstablishment_number($establishment_number = null) |
||
587 | { |
||
588 | // validation for constraint: string |
||
589 | if (!is_null($establishment_number) && !is_string($establishment_number)) { |
||
590 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($establishment_number)), __LINE__); |
||
591 | } |
||
592 | $this->establishment_number = $establishment_number; |
||
593 | return $this; |
||
594 | } |
||
595 | /** |
||
596 | * Get main_establishment_number value |
||
597 | * @return string|null |
||
598 | */ |
||
599 | public function getMain_establishment_number() |
||
600 | { |
||
601 | return $this->main_establishment_number; |
||
602 | } |
||
603 | /** |
||
604 | * Set main_establishment_number value |
||
605 | * @param string $main_establishment_number |
||
606 | * @return \Webservices\StructType\DutchBusinessDossier |
||
607 | */ |
||
608 | public function setMain_establishment_number($main_establishment_number = null) |
||
609 | { |
||
610 | // validation for constraint: string |
||
611 | if (!is_null($main_establishment_number) && !is_string($main_establishment_number)) { |
||
612 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($main_establishment_number)), __LINE__); |
||
613 | } |
||
614 | $this->main_establishment_number = $main_establishment_number; |
||
615 | return $this; |
||
616 | } |
||
617 | /** |
||
618 | * Get indication_main_establishment value |
||
619 | * @return bool|null |
||
620 | */ |
||
621 | public function getIndication_main_establishment() |
||
622 | { |
||
623 | return $this->indication_main_establishment; |
||
624 | } |
||
625 | /** |
||
626 | * Set indication_main_establishment value |
||
627 | * @param bool $indication_main_establishment |
||
628 | * @return \Webservices\StructType\DutchBusinessDossier |
||
629 | */ |
||
630 | public function setIndication_main_establishment($indication_main_establishment = null) |
||
631 | { |
||
632 | // validation for constraint: boolean |
||
633 | if (!is_null($indication_main_establishment) && !is_bool($indication_main_establishment)) { |
||
634 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($indication_main_establishment)), __LINE__); |
||
635 | } |
||
636 | $this->indication_main_establishment = $indication_main_establishment; |
||
637 | return $this; |
||
638 | } |
||
639 | /** |
||
640 | * Get rsin_number value |
||
641 | * @return string|null |
||
642 | */ |
||
643 | public function getRsin_number() |
||
644 | { |
||
645 | return $this->rsin_number; |
||
646 | } |
||
647 | /** |
||
648 | * Set rsin_number value |
||
649 | * @param string $rsin_number |
||
650 | * @return \Webservices\StructType\DutchBusinessDossier |
||
651 | */ |
||
652 | public function setRsin_number($rsin_number = null) |
||
653 | { |
||
654 | // validation for constraint: string |
||
655 | if (!is_null($rsin_number) && !is_string($rsin_number)) { |
||
656 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($rsin_number)), __LINE__); |
||
657 | } |
||
658 | $this->rsin_number = $rsin_number; |
||
659 | return $this; |
||
660 | } |
||
661 | /** |
||
662 | * Get chamber_number value |
||
663 | * @return string|null |
||
664 | */ |
||
665 | public function getChamber_number() |
||
666 | { |
||
667 | return $this->chamber_number; |
||
668 | } |
||
669 | /** |
||
670 | * Set chamber_number value |
||
671 | * @param string $chamber_number |
||
672 | * @return \Webservices\StructType\DutchBusinessDossier |
||
673 | */ |
||
674 | public function setChamber_number($chamber_number = null) |
||
675 | { |
||
676 | // validation for constraint: string |
||
677 | if (!is_null($chamber_number) && !is_string($chamber_number)) { |
||
678 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($chamber_number)), __LINE__); |
||
679 | } |
||
680 | $this->chamber_number = $chamber_number; |
||
681 | return $this; |
||
682 | } |
||
683 | /** |
||
684 | * Get legal_form_code value |
||
685 | * @return string|null |
||
686 | */ |
||
687 | public function getLegal_form_code() |
||
688 | { |
||
689 | return $this->legal_form_code; |
||
690 | } |
||
691 | /** |
||
692 | * Set legal_form_code value |
||
693 | * @param string $legal_form_code |
||
694 | * @return \Webservices\StructType\DutchBusinessDossier |
||
695 | */ |
||
696 | public function setLegal_form_code($legal_form_code = null) |
||
697 | { |
||
698 | // validation for constraint: string |
||
699 | if (!is_null($legal_form_code) && !is_string($legal_form_code)) { |
||
700 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($legal_form_code)), __LINE__); |
||
701 | } |
||
702 | $this->legal_form_code = $legal_form_code; |
||
703 | return $this; |
||
704 | } |
||
705 | /** |
||
706 | * Get legal_form_text value |
||
707 | * @return string|null |
||
708 | */ |
||
709 | public function getLegal_form_text() |
||
710 | { |
||
711 | return $this->legal_form_text; |
||
712 | } |
||
713 | /** |
||
714 | * Set legal_form_text value |
||
715 | * @param string $legal_form_text |
||
716 | * @return \Webservices\StructType\DutchBusinessDossier |
||
717 | */ |
||
718 | public function setLegal_form_text($legal_form_text = null) |
||
719 | { |
||
720 | // validation for constraint: string |
||
721 | if (!is_null($legal_form_text) && !is_string($legal_form_text)) { |
||
722 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($legal_form_text)), __LINE__); |
||
723 | } |
||
724 | $this->legal_form_text = $legal_form_text; |
||
725 | return $this; |
||
726 | } |
||
727 | /** |
||
728 | * Get indication_organisation_code value |
||
729 | * @return string|null |
||
730 | */ |
||
731 | public function getIndication_organisation_code() |
||
732 | { |
||
733 | return $this->indication_organisation_code; |
||
734 | } |
||
735 | /** |
||
736 | * Set indication_organisation_code value |
||
737 | * @param string $indication_organisation_code |
||
738 | * @return \Webservices\StructType\DutchBusinessDossier |
||
739 | */ |
||
740 | public function setIndication_organisation_code($indication_organisation_code = null) |
||
741 | { |
||
742 | // validation for constraint: string |
||
743 | if (!is_null($indication_organisation_code) && !is_string($indication_organisation_code)) { |
||
744 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($indication_organisation_code)), __LINE__); |
||
745 | } |
||
746 | $this->indication_organisation_code = $indication_organisation_code; |
||
747 | return $this; |
||
748 | } |
||
749 | /** |
||
750 | * Get legal_name value |
||
751 | * @return string|null |
||
752 | */ |
||
753 | public function getLegal_name() |
||
754 | { |
||
755 | return $this->legal_name; |
||
756 | } |
||
757 | /** |
||
758 | * Set legal_name value |
||
759 | * @param string $legal_name |
||
760 | * @return \Webservices\StructType\DutchBusinessDossier |
||
761 | */ |
||
762 | public function setLegal_name($legal_name = null) |
||
763 | { |
||
764 | // validation for constraint: string |
||
765 | if (!is_null($legal_name) && !is_string($legal_name)) { |
||
766 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($legal_name)), __LINE__); |
||
767 | } |
||
768 | $this->legal_name = $legal_name; |
||
769 | return $this; |
||
770 | } |
||
771 | /** |
||
772 | * Get trade_name value |
||
773 | * @return trade_name |
||
774 | */ |
||
775 | public function getTrade_name_45() |
||
776 | { |
||
777 | return $this->trade_name_45; |
||
778 | } |
||
779 | /** |
||
780 | * Set trade_name value |
||
781 | * @param trade_name $trade_name |
||
782 | * @return \Webservices\StructType\DutchBusinessDossier |
||
783 | */ |
||
784 | public function setTrade_name_45($trade_name_45 = null) |
||
785 | { |
||
786 | // validation for constraint: string |
||
787 | if (!is_null($trade_name_45) && !is_string($trade_name_45)) { |
||
788 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($trade_name_45)), __LINE__); |
||
789 | } |
||
790 | $this->trade_name_45 = $trade_name_45; |
||
791 | return $this; |
||
792 | } |
||
793 | /** |
||
794 | * Get trade_name_full value |
||
795 | * @return string|null |
||
796 | */ |
||
797 | public function getTrade_name_full() |
||
798 | { |
||
799 | return $this->trade_name_full; |
||
800 | } |
||
801 | /** |
||
802 | * Set trade_name_full value |
||
803 | * @param string $trade_name_full |
||
804 | * @return \Webservices\StructType\DutchBusinessDossier |
||
805 | */ |
||
806 | public function setTrade_name_full($trade_name_full = null) |
||
807 | { |
||
808 | // validation for constraint: string |
||
809 | if (!is_null($trade_name_full) && !is_string($trade_name_full)) { |
||
810 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($trade_name_full)), __LINE__); |
||
811 | } |
||
812 | $this->trade_name_full = $trade_name_full; |
||
813 | return $this; |
||
814 | } |
||
815 | /** |
||
816 | * Get trade_names value |
||
817 | * @return \Webservices\ArrayType\StringArray|null |
||
818 | */ |
||
819 | public function getTrade_names() |
||
820 | { |
||
821 | return $this->trade_names; |
||
822 | } |
||
823 | /** |
||
824 | * Set trade_names value |
||
825 | * @param \Webservices\ArrayType\StringArray $trade_names |
||
826 | * @return \Webservices\StructType\DutchBusinessDossier |
||
827 | */ |
||
828 | public function setTrade_names(\Webservices\ArrayType\StringArray $trade_names = null) |
||
829 | { |
||
830 | $this->trade_names = $trade_names; |
||
831 | return $this; |
||
832 | } |
||
833 | /** |
||
834 | * Get establishment_postcode value |
||
835 | * @return string|null |
||
836 | */ |
||
837 | public function getEstablishment_postcode() |
||
838 | { |
||
839 | return $this->establishment_postcode; |
||
840 | } |
||
841 | /** |
||
842 | * Set establishment_postcode value |
||
843 | * @param string $establishment_postcode |
||
844 | * @return \Webservices\StructType\DutchBusinessDossier |
||
845 | */ |
||
846 | public function setEstablishment_postcode($establishment_postcode = null) |
||
847 | { |
||
848 | // validation for constraint: string |
||
849 | if (!is_null($establishment_postcode) && !is_string($establishment_postcode)) { |
||
850 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($establishment_postcode)), __LINE__); |
||
851 | } |
||
852 | $this->establishment_postcode = $establishment_postcode; |
||
853 | return $this; |
||
854 | } |
||
855 | /** |
||
856 | * Get establishment_city value |
||
857 | * @return string|null |
||
858 | */ |
||
859 | public function getEstablishment_city() |
||
860 | { |
||
861 | return $this->establishment_city; |
||
862 | } |
||
863 | /** |
||
864 | * Set establishment_city value |
||
865 | * @param string $establishment_city |
||
866 | * @return \Webservices\StructType\DutchBusinessDossier |
||
867 | */ |
||
868 | public function setEstablishment_city($establishment_city = null) |
||
869 | { |
||
870 | // validation for constraint: string |
||
871 | if (!is_null($establishment_city) && !is_string($establishment_city)) { |
||
872 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($establishment_city)), __LINE__); |
||
873 | } |
||
874 | $this->establishment_city = $establishment_city; |
||
875 | return $this; |
||
876 | } |
||
877 | /** |
||
878 | * Get establishment_street value |
||
879 | * @return string|null |
||
880 | */ |
||
881 | public function getEstablishment_street() |
||
882 | { |
||
883 | return $this->establishment_street; |
||
884 | } |
||
885 | /** |
||
886 | * Set establishment_street value |
||
887 | * @param string $establishment_street |
||
888 | * @return \Webservices\StructType\DutchBusinessDossier |
||
889 | */ |
||
890 | public function setEstablishment_street($establishment_street = null) |
||
891 | { |
||
892 | // validation for constraint: string |
||
893 | if (!is_null($establishment_street) && !is_string($establishment_street)) { |
||
894 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($establishment_street)), __LINE__); |
||
895 | } |
||
896 | $this->establishment_street = $establishment_street; |
||
897 | return $this; |
||
898 | } |
||
899 | /** |
||
900 | * Get establishment_house_number value |
||
901 | * @return int|null |
||
902 | */ |
||
903 | public function getEstablishment_house_number() |
||
904 | { |
||
905 | return $this->establishment_house_number; |
||
906 | } |
||
907 | /** |
||
908 | * Set establishment_house_number value |
||
909 | * @param int $establishment_house_number |
||
910 | * @return \Webservices\StructType\DutchBusinessDossier |
||
911 | */ |
||
912 | public function setEstablishment_house_number($establishment_house_number = null) |
||
913 | { |
||
914 | // validation for constraint: int |
||
915 | if (!is_null($establishment_house_number) && !is_numeric($establishment_house_number)) { |
||
916 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($establishment_house_number)), __LINE__); |
||
917 | } |
||
918 | $this->establishment_house_number = $establishment_house_number; |
||
919 | return $this; |
||
920 | } |
||
921 | /** |
||
922 | * Get establishment_house_number_addition value |
||
923 | * @return string|null |
||
924 | */ |
||
925 | public function getEstablishment_house_number_addition() |
||
926 | { |
||
927 | return $this->establishment_house_number_addition; |
||
928 | } |
||
929 | /** |
||
930 | * Set establishment_house_number_addition value |
||
931 | * @param string $establishment_house_number_addition |
||
932 | * @return \Webservices\StructType\DutchBusinessDossier |
||
933 | */ |
||
934 | public function setEstablishment_house_number_addition($establishment_house_number_addition = null) |
||
935 | { |
||
936 | // validation for constraint: string |
||
937 | if (!is_null($establishment_house_number_addition) && !is_string($establishment_house_number_addition)) { |
||
938 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($establishment_house_number_addition)), __LINE__); |
||
939 | } |
||
940 | $this->establishment_house_number_addition = $establishment_house_number_addition; |
||
941 | return $this; |
||
942 | } |
||
943 | /** |
||
944 | * Get correspondence_postcode value |
||
945 | * @return string|null |
||
946 | */ |
||
947 | public function getCorrespondence_postcode() |
||
948 | { |
||
949 | return $this->correspondence_postcode; |
||
950 | } |
||
951 | /** |
||
952 | * Set correspondence_postcode value |
||
953 | * @param string $correspondence_postcode |
||
954 | * @return \Webservices\StructType\DutchBusinessDossier |
||
955 | */ |
||
956 | public function setCorrespondence_postcode($correspondence_postcode = null) |
||
957 | { |
||
958 | // validation for constraint: string |
||
959 | if (!is_null($correspondence_postcode) && !is_string($correspondence_postcode)) { |
||
960 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($correspondence_postcode)), __LINE__); |
||
961 | } |
||
962 | $this->correspondence_postcode = $correspondence_postcode; |
||
963 | return $this; |
||
964 | } |
||
965 | /** |
||
966 | * Get correspondence_city value |
||
967 | * @return string|null |
||
968 | */ |
||
969 | public function getCorrespondence_city() |
||
970 | { |
||
971 | return $this->correspondence_city; |
||
972 | } |
||
973 | /** |
||
974 | * Set correspondence_city value |
||
975 | * @param string $correspondence_city |
||
976 | * @return \Webservices\StructType\DutchBusinessDossier |
||
977 | */ |
||
978 | public function setCorrespondence_city($correspondence_city = null) |
||
979 | { |
||
980 | // validation for constraint: string |
||
981 | if (!is_null($correspondence_city) && !is_string($correspondence_city)) { |
||
982 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($correspondence_city)), __LINE__); |
||
983 | } |
||
984 | $this->correspondence_city = $correspondence_city; |
||
985 | return $this; |
||
986 | } |
||
987 | /** |
||
988 | * Get correspondence_street value |
||
989 | * @return string|null |
||
990 | */ |
||
991 | public function getCorrespondence_street() |
||
992 | { |
||
993 | return $this->correspondence_street; |
||
994 | } |
||
995 | /** |
||
996 | * Set correspondence_street value |
||
997 | * @param string $correspondence_street |
||
998 | * @return \Webservices\StructType\DutchBusinessDossier |
||
999 | */ |
||
1000 | public function setCorrespondence_street($correspondence_street = null) |
||
1001 | { |
||
1002 | // validation for constraint: string |
||
1003 | if (!is_null($correspondence_street) && !is_string($correspondence_street)) { |
||
1004 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($correspondence_street)), __LINE__); |
||
1005 | } |
||
1006 | $this->correspondence_street = $correspondence_street; |
||
1007 | return $this; |
||
1008 | } |
||
1009 | /** |
||
1010 | * Get correspondence_house_number value |
||
1011 | * @return int|null |
||
1012 | */ |
||
1013 | public function getCorrespondence_house_number() |
||
1014 | { |
||
1015 | return $this->correspondence_house_number; |
||
1016 | } |
||
1017 | /** |
||
1018 | * Set correspondence_house_number value |
||
1019 | * @param int $correspondence_house_number |
||
1020 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1021 | */ |
||
1022 | public function setCorrespondence_house_number($correspondence_house_number = null) |
||
1023 | { |
||
1024 | // validation for constraint: int |
||
1025 | if (!is_null($correspondence_house_number) && !is_numeric($correspondence_house_number)) { |
||
1026 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($correspondence_house_number)), __LINE__); |
||
1027 | } |
||
1028 | $this->correspondence_house_number = $correspondence_house_number; |
||
1029 | return $this; |
||
1030 | } |
||
1031 | /** |
||
1032 | * Get correspondence_house_number_addition value |
||
1033 | * @return string|null |
||
1034 | */ |
||
1035 | public function getCorrespondence_house_number_addition() |
||
1036 | { |
||
1037 | return $this->correspondence_house_number_addition; |
||
1038 | } |
||
1039 | /** |
||
1040 | * Set correspondence_house_number_addition value |
||
1041 | * @param string $correspondence_house_number_addition |
||
1042 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1043 | */ |
||
1044 | public function setCorrespondence_house_number_addition($correspondence_house_number_addition = null) |
||
1045 | { |
||
1046 | // validation for constraint: string |
||
1047 | if (!is_null($correspondence_house_number_addition) && !is_string($correspondence_house_number_addition)) { |
||
1048 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($correspondence_house_number_addition)), __LINE__); |
||
1049 | } |
||
1050 | $this->correspondence_house_number_addition = $correspondence_house_number_addition; |
||
1051 | return $this; |
||
1052 | } |
||
1053 | /** |
||
1054 | * Get correspondence_country value |
||
1055 | * @return string|null |
||
1056 | */ |
||
1057 | public function getCorrespondence_country() |
||
1058 | { |
||
1059 | return $this->correspondence_country; |
||
1060 | } |
||
1061 | /** |
||
1062 | * Set correspondence_country value |
||
1063 | * @param string $correspondence_country |
||
1064 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1065 | */ |
||
1066 | public function setCorrespondence_country($correspondence_country = null) |
||
1067 | { |
||
1068 | // validation for constraint: string |
||
1069 | if (!is_null($correspondence_country) && !is_string($correspondence_country)) { |
||
1070 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($correspondence_country)), __LINE__); |
||
1071 | } |
||
1072 | $this->correspondence_country = $correspondence_country; |
||
1073 | return $this; |
||
1074 | } |
||
1075 | /** |
||
1076 | * Get telephone_number value |
||
1077 | * @return string|null |
||
1078 | */ |
||
1079 | public function getTelephone_number() |
||
1080 | { |
||
1081 | return $this->telephone_number; |
||
1082 | } |
||
1083 | /** |
||
1084 | * Set telephone_number value |
||
1085 | * @param string $telephone_number |
||
1086 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1087 | */ |
||
1088 | public function setTelephone_number($telephone_number = null) |
||
1089 | { |
||
1090 | // validation for constraint: string |
||
1091 | if (!is_null($telephone_number) && !is_string($telephone_number)) { |
||
1092 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($telephone_number)), __LINE__); |
||
1093 | } |
||
1094 | $this->telephone_number = $telephone_number; |
||
1095 | return $this; |
||
1096 | } |
||
1097 | /** |
||
1098 | * Get mobile_number value |
||
1099 | * @return string|null |
||
1100 | */ |
||
1101 | public function getMobile_number() |
||
1102 | { |
||
1103 | return $this->mobile_number; |
||
1104 | } |
||
1105 | /** |
||
1106 | * Set mobile_number value |
||
1107 | * @param string $mobile_number |
||
1108 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1109 | */ |
||
1110 | public function setMobile_number($mobile_number = null) |
||
1111 | { |
||
1112 | // validation for constraint: string |
||
1113 | if (!is_null($mobile_number) && !is_string($mobile_number)) { |
||
1114 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($mobile_number)), __LINE__); |
||
1115 | } |
||
1116 | $this->mobile_number = $mobile_number; |
||
1117 | return $this; |
||
1118 | } |
||
1119 | /** |
||
1120 | * Get domain_name value |
||
1121 | * @return string|null |
||
1122 | */ |
||
1123 | public function getDomain_name() |
||
1124 | { |
||
1125 | return $this->domain_name; |
||
1126 | } |
||
1127 | /** |
||
1128 | * Set domain_name value |
||
1129 | * @param string $domain_name |
||
1130 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1131 | */ |
||
1132 | public function setDomain_name($domain_name = null) |
||
1133 | { |
||
1134 | // validation for constraint: string |
||
1135 | if (!is_null($domain_name) && !is_string($domain_name)) { |
||
1136 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($domain_name)), __LINE__); |
||
1137 | } |
||
1138 | $this->domain_name = $domain_name; |
||
1139 | return $this; |
||
1140 | } |
||
1141 | /** |
||
1142 | * Get contact_title1 value |
||
1143 | * @return string|null |
||
1144 | */ |
||
1145 | public function getContact_title1() |
||
1146 | { |
||
1147 | return $this->contact_title1; |
||
1148 | } |
||
1149 | /** |
||
1150 | * Set contact_title1 value |
||
1151 | * @param string $contact_title1 |
||
1152 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1153 | */ |
||
1154 | public function setContact_title1($contact_title1 = null) |
||
1155 | { |
||
1156 | // validation for constraint: string |
||
1157 | if (!is_null($contact_title1) && !is_string($contact_title1)) { |
||
1158 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($contact_title1)), __LINE__); |
||
1159 | } |
||
1160 | $this->contact_title1 = $contact_title1; |
||
1161 | return $this; |
||
1162 | } |
||
1163 | /** |
||
1164 | * Get contact_title2 value |
||
1165 | * @return string|null |
||
1166 | */ |
||
1167 | public function getContact_title2() |
||
1168 | { |
||
1169 | return $this->contact_title2; |
||
1170 | } |
||
1171 | /** |
||
1172 | * Set contact_title2 value |
||
1173 | * @param string $contact_title2 |
||
1174 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1175 | */ |
||
1176 | public function setContact_title2($contact_title2 = null) |
||
1177 | { |
||
1178 | // validation for constraint: string |
||
1179 | if (!is_null($contact_title2) && !is_string($contact_title2)) { |
||
1180 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($contact_title2)), __LINE__); |
||
1181 | } |
||
1182 | $this->contact_title2 = $contact_title2; |
||
1183 | return $this; |
||
1184 | } |
||
1185 | /** |
||
1186 | * Get contact_initials value |
||
1187 | * @return string|null |
||
1188 | */ |
||
1189 | public function getContact_initials() |
||
1190 | { |
||
1191 | return $this->contact_initials; |
||
1192 | } |
||
1193 | /** |
||
1194 | * Set contact_initials value |
||
1195 | * @param string $contact_initials |
||
1196 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1197 | */ |
||
1198 | public function setContact_initials($contact_initials = null) |
||
1199 | { |
||
1200 | // validation for constraint: string |
||
1201 | if (!is_null($contact_initials) && !is_string($contact_initials)) { |
||
1202 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($contact_initials)), __LINE__); |
||
1203 | } |
||
1204 | $this->contact_initials = $contact_initials; |
||
1205 | return $this; |
||
1206 | } |
||
1207 | /** |
||
1208 | * Get contact_prefix value |
||
1209 | * @return string|null |
||
1210 | */ |
||
1211 | public function getContact_prefix() |
||
1212 | { |
||
1213 | return $this->contact_prefix; |
||
1214 | } |
||
1215 | /** |
||
1216 | * Set contact_prefix value |
||
1217 | * @param string $contact_prefix |
||
1218 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1219 | */ |
||
1220 | public function setContact_prefix($contact_prefix = null) |
||
1221 | { |
||
1222 | // validation for constraint: string |
||
1223 | if (!is_null($contact_prefix) && !is_string($contact_prefix)) { |
||
1224 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($contact_prefix)), __LINE__); |
||
1225 | } |
||
1226 | $this->contact_prefix = $contact_prefix; |
||
1227 | return $this; |
||
1228 | } |
||
1229 | /** |
||
1230 | * Get contact_surname value |
||
1231 | * @return string|null |
||
1232 | */ |
||
1233 | public function getContact_surname() |
||
1234 | { |
||
1235 | return $this->contact_surname; |
||
1236 | } |
||
1237 | /** |
||
1238 | * Set contact_surname value |
||
1239 | * @param string $contact_surname |
||
1240 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1241 | */ |
||
1242 | public function setContact_surname($contact_surname = null) |
||
1243 | { |
||
1244 | // validation for constraint: string |
||
1245 | if (!is_null($contact_surname) && !is_string($contact_surname)) { |
||
1246 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($contact_surname)), __LINE__); |
||
1247 | } |
||
1248 | $this->contact_surname = $contact_surname; |
||
1249 | return $this; |
||
1250 | } |
||
1251 | /** |
||
1252 | * Get contact_gender value |
||
1253 | * @return string|null |
||
1254 | */ |
||
1255 | public function getContact_gender() |
||
1256 | { |
||
1257 | return $this->contact_gender; |
||
1258 | } |
||
1259 | /** |
||
1260 | * Set contact_gender value |
||
1261 | * @param string $contact_gender |
||
1262 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1263 | */ |
||
1264 | public function setContact_gender($contact_gender = null) |
||
1265 | { |
||
1266 | // validation for constraint: string |
||
1267 | if (!is_null($contact_gender) && !is_string($contact_gender)) { |
||
1268 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($contact_gender)), __LINE__); |
||
1269 | } |
||
1270 | $this->contact_gender = $contact_gender; |
||
1271 | return $this; |
||
1272 | } |
||
1273 | /** |
||
1274 | * Get primary_sbi_code value |
||
1275 | * @return string|null |
||
1276 | */ |
||
1277 | public function getPrimary_sbi_code() |
||
1278 | { |
||
1279 | return $this->primary_sbi_code; |
||
1280 | } |
||
1281 | /** |
||
1282 | * Set primary_sbi_code value |
||
1283 | * @param string $primary_sbi_code |
||
1284 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1285 | */ |
||
1286 | public function setPrimary_sbi_code($primary_sbi_code = null) |
||
1287 | { |
||
1288 | // validation for constraint: string |
||
1289 | if (!is_null($primary_sbi_code) && !is_string($primary_sbi_code)) { |
||
1290 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($primary_sbi_code)), __LINE__); |
||
1291 | } |
||
1292 | $this->primary_sbi_code = $primary_sbi_code; |
||
1293 | return $this; |
||
1294 | } |
||
1295 | /** |
||
1296 | * Get secondary_sbi_code1 value |
||
1297 | * @return string|null |
||
1298 | */ |
||
1299 | public function getSecondary_sbi_code1() |
||
1300 | { |
||
1301 | return $this->secondary_sbi_code1; |
||
1302 | } |
||
1303 | /** |
||
1304 | * Set secondary_sbi_code1 value |
||
1305 | * @param string $secondary_sbi_code1 |
||
1306 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1307 | */ |
||
1308 | public function setSecondary_sbi_code1($secondary_sbi_code1 = null) |
||
1309 | { |
||
1310 | // validation for constraint: string |
||
1311 | if (!is_null($secondary_sbi_code1) && !is_string($secondary_sbi_code1)) { |
||
1312 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($secondary_sbi_code1)), __LINE__); |
||
1313 | } |
||
1314 | $this->secondary_sbi_code1 = $secondary_sbi_code1; |
||
1315 | return $this; |
||
1316 | } |
||
1317 | /** |
||
1318 | * Get secondary_sbi_code2 value |
||
1319 | * @return string|null |
||
1320 | */ |
||
1321 | public function getSecondary_sbi_code2() |
||
1322 | { |
||
1323 | return $this->secondary_sbi_code2; |
||
1324 | } |
||
1325 | /** |
||
1326 | * Set secondary_sbi_code2 value |
||
1327 | * @param string $secondary_sbi_code2 |
||
1328 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1329 | */ |
||
1330 | public function setSecondary_sbi_code2($secondary_sbi_code2 = null) |
||
1331 | { |
||
1332 | // validation for constraint: string |
||
1333 | if (!is_null($secondary_sbi_code2) && !is_string($secondary_sbi_code2)) { |
||
1334 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($secondary_sbi_code2)), __LINE__); |
||
1335 | } |
||
1336 | $this->secondary_sbi_code2 = $secondary_sbi_code2; |
||
1337 | return $this; |
||
1338 | } |
||
1339 | /** |
||
1340 | * Get primary_sbi_code_text value |
||
1341 | * @return string|null |
||
1342 | */ |
||
1343 | public function getPrimary_sbi_code_text() |
||
1344 | { |
||
1345 | return $this->primary_sbi_code_text; |
||
1346 | } |
||
1347 | /** |
||
1348 | * Set primary_sbi_code_text value |
||
1349 | * @param string $primary_sbi_code_text |
||
1350 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1351 | */ |
||
1352 | public function setPrimary_sbi_code_text($primary_sbi_code_text = null) |
||
1353 | { |
||
1354 | // validation for constraint: string |
||
1355 | if (!is_null($primary_sbi_code_text) && !is_string($primary_sbi_code_text)) { |
||
1356 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($primary_sbi_code_text)), __LINE__); |
||
1357 | } |
||
1358 | $this->primary_sbi_code_text = $primary_sbi_code_text; |
||
1359 | return $this; |
||
1360 | } |
||
1361 | /** |
||
1362 | * Get secondary_sbi_code1_text value |
||
1363 | * @return string|null |
||
1364 | */ |
||
1365 | public function getSecondary_sbi_code1_text() |
||
1366 | { |
||
1367 | return $this->secondary_sbi_code1_text; |
||
1368 | } |
||
1369 | /** |
||
1370 | * Set secondary_sbi_code1_text value |
||
1371 | * @param string $secondary_sbi_code1_text |
||
1372 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1373 | */ |
||
1374 | public function setSecondary_sbi_code1_text($secondary_sbi_code1_text = null) |
||
1375 | { |
||
1376 | // validation for constraint: string |
||
1377 | if (!is_null($secondary_sbi_code1_text) && !is_string($secondary_sbi_code1_text)) { |
||
1378 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($secondary_sbi_code1_text)), __LINE__); |
||
1379 | } |
||
1380 | $this->secondary_sbi_code1_text = $secondary_sbi_code1_text; |
||
1381 | return $this; |
||
1382 | } |
||
1383 | /** |
||
1384 | * Get secondary_sbi_code2_text value |
||
1385 | * @return string|null |
||
1386 | */ |
||
1387 | public function getSecondary_sbi_code2_text() |
||
1388 | { |
||
1389 | return $this->secondary_sbi_code2_text; |
||
1390 | } |
||
1391 | /** |
||
1392 | * Set secondary_sbi_code2_text value |
||
1393 | * @param string $secondary_sbi_code2_text |
||
1394 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1395 | */ |
||
1396 | public function setSecondary_sbi_code2_text($secondary_sbi_code2_text = null) |
||
1397 | { |
||
1398 | // validation for constraint: string |
||
1399 | if (!is_null($secondary_sbi_code2_text) && !is_string($secondary_sbi_code2_text)) { |
||
1400 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($secondary_sbi_code2_text)), __LINE__); |
||
1401 | } |
||
1402 | $this->secondary_sbi_code2_text = $secondary_sbi_code2_text; |
||
1403 | return $this; |
||
1404 | } |
||
1405 | /** |
||
1406 | * Get personnel value |
||
1407 | * @return int|null |
||
1408 | */ |
||
1409 | public function getPersonnel() |
||
1410 | { |
||
1411 | return $this->personnel; |
||
1412 | } |
||
1413 | /** |
||
1414 | * Set personnel value |
||
1415 | * @param int $personnel |
||
1416 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1417 | */ |
||
1418 | public function setPersonnel($personnel = null) |
||
1419 | { |
||
1420 | // validation for constraint: int |
||
1421 | if (!is_null($personnel) && !is_numeric($personnel)) { |
||
1422 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($personnel)), __LINE__); |
||
1423 | } |
||
1424 | $this->personnel = $personnel; |
||
1425 | return $this; |
||
1426 | } |
||
1427 | /** |
||
1428 | * Get class_personnel value |
||
1429 | * @return int|null |
||
1430 | */ |
||
1431 | public function getClass_personnel() |
||
1432 | { |
||
1433 | return $this->class_personnel; |
||
1434 | } |
||
1435 | /** |
||
1436 | * Set class_personnel value |
||
1437 | * @param int $class_personnel |
||
1438 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1439 | */ |
||
1440 | public function setClass_personnel($class_personnel = null) |
||
1441 | { |
||
1442 | // validation for constraint: int |
||
1443 | if (!is_null($class_personnel) && !is_numeric($class_personnel)) { |
||
1444 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($class_personnel)), __LINE__); |
||
1445 | } |
||
1446 | $this->class_personnel = $class_personnel; |
||
1447 | return $this; |
||
1448 | } |
||
1449 | /** |
||
1450 | * Get personnel_fulltime value |
||
1451 | * @return int|null |
||
1452 | */ |
||
1453 | public function getPersonnel_fulltime() |
||
1454 | { |
||
1455 | return $this->personnel_fulltime; |
||
1456 | } |
||
1457 | /** |
||
1458 | * Set personnel_fulltime value |
||
1459 | * @param int $personnel_fulltime |
||
1460 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1461 | */ |
||
1462 | public function setPersonnel_fulltime($personnel_fulltime = null) |
||
1463 | { |
||
1464 | // validation for constraint: int |
||
1465 | if (!is_null($personnel_fulltime) && !is_numeric($personnel_fulltime)) { |
||
1466 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($personnel_fulltime)), __LINE__); |
||
1467 | } |
||
1468 | $this->personnel_fulltime = $personnel_fulltime; |
||
1469 | return $this; |
||
1470 | } |
||
1471 | /** |
||
1472 | * Get class_personnel_fulltime value |
||
1473 | * @return int|null |
||
1474 | */ |
||
1475 | public function getClass_personnel_fulltime() |
||
1476 | { |
||
1477 | return $this->class_personnel_fulltime; |
||
1478 | } |
||
1479 | /** |
||
1480 | * Set class_personnel_fulltime value |
||
1481 | * @param int $class_personnel_fulltime |
||
1482 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1483 | */ |
||
1484 | public function setClass_personnel_fulltime($class_personnel_fulltime = null) |
||
1485 | { |
||
1486 | // validation for constraint: int |
||
1487 | if (!is_null($class_personnel_fulltime) && !is_numeric($class_personnel_fulltime)) { |
||
1488 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($class_personnel_fulltime)), __LINE__); |
||
1489 | } |
||
1490 | $this->class_personnel_fulltime = $class_personnel_fulltime; |
||
1491 | return $this; |
||
1492 | } |
||
1493 | /** |
||
1494 | * Get personnel_reference_date value |
||
1495 | * @return \Webservices\StructType\DutchBusinessDate|null |
||
1496 | */ |
||
1497 | public function getPersonnel_reference_date() |
||
1498 | { |
||
1499 | return $this->personnel_reference_date; |
||
1500 | } |
||
1501 | /** |
||
1502 | * Set personnel_reference_date value |
||
1503 | * @param \Webservices\StructType\DutchBusinessDate $personnel_reference_date |
||
1504 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1505 | */ |
||
1506 | public function setPersonnel_reference_date(\Webservices\StructType\DutchBusinessDate $personnel_reference_date = null) |
||
1507 | { |
||
1508 | $this->personnel_reference_date = $personnel_reference_date; |
||
1509 | return $this; |
||
1510 | } |
||
1511 | /** |
||
1512 | * Get indication_import value |
||
1513 | * @return bool|null |
||
1514 | */ |
||
1515 | public function getIndication_import() |
||
1516 | { |
||
1517 | return $this->indication_import; |
||
1518 | } |
||
1519 | /** |
||
1520 | * Set indication_import value |
||
1521 | * @param bool $indication_import |
||
1522 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1523 | */ |
||
1524 | public function setIndication_import($indication_import = null) |
||
1525 | { |
||
1526 | // validation for constraint: boolean |
||
1527 | if (!is_null($indication_import) && !is_bool($indication_import)) { |
||
1528 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($indication_import)), __LINE__); |
||
1529 | } |
||
1530 | $this->indication_import = $indication_import; |
||
1531 | return $this; |
||
1532 | } |
||
1533 | /** |
||
1534 | * Get indication_export value |
||
1535 | * @return bool|null |
||
1536 | */ |
||
1537 | public function getIndication_export() |
||
1538 | { |
||
1539 | return $this->indication_export; |
||
1540 | } |
||
1541 | /** |
||
1542 | * Set indication_export value |
||
1543 | * @param bool $indication_export |
||
1544 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1545 | */ |
||
1546 | public function setIndication_export($indication_export = null) |
||
1547 | { |
||
1548 | // validation for constraint: boolean |
||
1549 | if (!is_null($indication_export) && !is_bool($indication_export)) { |
||
1550 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($indication_export)), __LINE__); |
||
1551 | } |
||
1552 | $this->indication_export = $indication_export; |
||
1553 | return $this; |
||
1554 | } |
||
1555 | /** |
||
1556 | * Get indication_economically_active value |
||
1557 | * @return bool|null |
||
1558 | */ |
||
1559 | public function getIndication_economically_active() |
||
1560 | { |
||
1561 | return $this->indication_economically_active; |
||
1562 | } |
||
1563 | /** |
||
1564 | * Set indication_economically_active value |
||
1565 | * @param bool $indication_economically_active |
||
1566 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1567 | */ |
||
1568 | public function setIndication_economically_active($indication_economically_active = null) |
||
1569 | { |
||
1570 | // validation for constraint: boolean |
||
1571 | if (!is_null($indication_economically_active) && !is_bool($indication_economically_active)) { |
||
1572 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($indication_economically_active)), __LINE__); |
||
1573 | } |
||
1574 | $this->indication_economically_active = $indication_economically_active; |
||
1575 | return $this; |
||
1576 | } |
||
1577 | /** |
||
1578 | * Get indication_non_mailing value |
||
1579 | * @return bool|null |
||
1580 | */ |
||
1581 | public function getIndication_non_mailing() |
||
1582 | { |
||
1583 | return $this->indication_non_mailing; |
||
1584 | } |
||
1585 | /** |
||
1586 | * Set indication_non_mailing value |
||
1587 | * @param bool $indication_non_mailing |
||
1588 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1589 | */ |
||
1590 | public function setIndication_non_mailing($indication_non_mailing = null) |
||
1591 | { |
||
1592 | // validation for constraint: boolean |
||
1593 | if (!is_null($indication_non_mailing) && !is_bool($indication_non_mailing)) { |
||
1594 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($indication_non_mailing)), __LINE__); |
||
1595 | } |
||
1596 | $this->indication_non_mailing = $indication_non_mailing; |
||
1597 | return $this; |
||
1598 | } |
||
1599 | /** |
||
1600 | * Get indication_bankruptcy value |
||
1601 | * @return bool|null |
||
1602 | */ |
||
1603 | public function getIndication_bankruptcy() |
||
1604 | { |
||
1605 | return $this->indication_bankruptcy; |
||
1606 | } |
||
1607 | /** |
||
1608 | * Set indication_bankruptcy value |
||
1609 | * @param bool $indication_bankruptcy |
||
1610 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1611 | */ |
||
1612 | public function setIndication_bankruptcy($indication_bankruptcy = null) |
||
1613 | { |
||
1614 | // validation for constraint: boolean |
||
1615 | if (!is_null($indication_bankruptcy) && !is_bool($indication_bankruptcy)) { |
||
1616 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($indication_bankruptcy)), __LINE__); |
||
1617 | } |
||
1618 | $this->indication_bankruptcy = $indication_bankruptcy; |
||
1619 | return $this; |
||
1620 | } |
||
1621 | /** |
||
1622 | * Get indication_dip value |
||
1623 | * @return bool|null |
||
1624 | */ |
||
1625 | public function getIndication_dip() |
||
1626 | { |
||
1627 | return $this->indication_dip; |
||
1628 | } |
||
1629 | /** |
||
1630 | * Set indication_dip value |
||
1631 | * @param bool $indication_dip |
||
1632 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1633 | */ |
||
1634 | public function setIndication_dip($indication_dip = null) |
||
1635 | { |
||
1636 | // validation for constraint: boolean |
||
1637 | if (!is_null($indication_dip) && !is_bool($indication_dip)) { |
||
1638 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($indication_dip)), __LINE__); |
||
1639 | } |
||
1640 | $this->indication_dip = $indication_dip; |
||
1641 | return $this; |
||
1642 | } |
||
1643 | /** |
||
1644 | * Get authorized_share_capital value |
||
1645 | * @return int|null |
||
1646 | */ |
||
1647 | public function getAuthorized_share_capital() |
||
1648 | { |
||
1649 | return $this->authorized_share_capital; |
||
1650 | } |
||
1651 | /** |
||
1652 | * Set authorized_share_capital value |
||
1653 | * @param int $authorized_share_capital |
||
1654 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1655 | */ |
||
1656 | public function setAuthorized_share_capital($authorized_share_capital = null) |
||
1657 | { |
||
1658 | // validation for constraint: int |
||
1659 | if (!is_null($authorized_share_capital) && !is_numeric($authorized_share_capital)) { |
||
1660 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($authorized_share_capital)), __LINE__); |
||
1661 | } |
||
1662 | $this->authorized_share_capital = $authorized_share_capital; |
||
1663 | return $this; |
||
1664 | } |
||
1665 | /** |
||
1666 | * Get authorized_share_capital_currency value |
||
1667 | * @return string|null |
||
1668 | */ |
||
1669 | public function getAuthorized_share_capital_currency() |
||
1670 | { |
||
1671 | return $this->authorized_share_capital_currency; |
||
1672 | } |
||
1673 | /** |
||
1674 | * Set authorized_share_capital_currency value |
||
1675 | * @param string $authorized_share_capital_currency |
||
1676 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1677 | */ |
||
1678 | public function setAuthorized_share_capital_currency($authorized_share_capital_currency = null) |
||
1679 | { |
||
1680 | // validation for constraint: string |
||
1681 | if (!is_null($authorized_share_capital_currency) && !is_string($authorized_share_capital_currency)) { |
||
1682 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($authorized_share_capital_currency)), __LINE__); |
||
1683 | } |
||
1684 | $this->authorized_share_capital_currency = $authorized_share_capital_currency; |
||
1685 | return $this; |
||
1686 | } |
||
1687 | /** |
||
1688 | * Get paid_up_share_capital value |
||
1689 | * @return int|null |
||
1690 | */ |
||
1691 | public function getPaid_up_share_capital() |
||
1692 | { |
||
1693 | return $this->paid_up_share_capital; |
||
1694 | } |
||
1695 | /** |
||
1696 | * Set paid_up_share_capital value |
||
1697 | * @param int $paid_up_share_capital |
||
1698 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1699 | */ |
||
1700 | public function setPaid_up_share_capital($paid_up_share_capital = null) |
||
1701 | { |
||
1702 | // validation for constraint: int |
||
1703 | if (!is_null($paid_up_share_capital) && !is_numeric($paid_up_share_capital)) { |
||
1704 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($paid_up_share_capital)), __LINE__); |
||
1705 | } |
||
1706 | $this->paid_up_share_capital = $paid_up_share_capital; |
||
1707 | return $this; |
||
1708 | } |
||
1709 | /** |
||
1710 | * Get paid_up_share_capital_currency value |
||
1711 | * @return string|null |
||
1712 | */ |
||
1713 | public function getPaid_up_share_capital_currency() |
||
1714 | { |
||
1715 | return $this->paid_up_share_capital_currency; |
||
1716 | } |
||
1717 | /** |
||
1718 | * Set paid_up_share_capital_currency value |
||
1719 | * @param string $paid_up_share_capital_currency |
||
1720 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1721 | */ |
||
1722 | public function setPaid_up_share_capital_currency($paid_up_share_capital_currency = null) |
||
1723 | { |
||
1724 | // validation for constraint: string |
||
1725 | if (!is_null($paid_up_share_capital_currency) && !is_string($paid_up_share_capital_currency)) { |
||
1726 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($paid_up_share_capital_currency)), __LINE__); |
||
1727 | } |
||
1728 | $this->paid_up_share_capital_currency = $paid_up_share_capital_currency; |
||
1729 | return $this; |
||
1730 | } |
||
1731 | /** |
||
1732 | * Get issued_share_capital value |
||
1733 | * @return int|null |
||
1734 | */ |
||
1735 | public function getIssued_share_capital() |
||
1736 | { |
||
1737 | return $this->issued_share_capital; |
||
1738 | } |
||
1739 | /** |
||
1740 | * Set issued_share_capital value |
||
1741 | * @param int $issued_share_capital |
||
1742 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1743 | */ |
||
1744 | public function setIssued_share_capital($issued_share_capital = null) |
||
1745 | { |
||
1746 | // validation for constraint: int |
||
1747 | if (!is_null($issued_share_capital) && !is_numeric($issued_share_capital)) { |
||
1748 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($issued_share_capital)), __LINE__); |
||
1749 | } |
||
1750 | $this->issued_share_capital = $issued_share_capital; |
||
1751 | return $this; |
||
1752 | } |
||
1753 | /** |
||
1754 | * Get issued_share_capital_currency value |
||
1755 | * @return string|null |
||
1756 | */ |
||
1757 | public function getIssued_share_capital_currency() |
||
1758 | { |
||
1759 | return $this->issued_share_capital_currency; |
||
1760 | } |
||
1761 | /** |
||
1762 | * Set issued_share_capital_currency value |
||
1763 | * @param string $issued_share_capital_currency |
||
1764 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1765 | */ |
||
1766 | public function setIssued_share_capital_currency($issued_share_capital_currency = null) |
||
1767 | { |
||
1768 | // validation for constraint: string |
||
1769 | if (!is_null($issued_share_capital_currency) && !is_string($issued_share_capital_currency)) { |
||
1770 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($issued_share_capital_currency)), __LINE__); |
||
1771 | } |
||
1772 | $this->issued_share_capital_currency = $issued_share_capital_currency; |
||
1773 | return $this; |
||
1774 | } |
||
1775 | /** |
||
1776 | * Get founding_date value |
||
1777 | * @return \Webservices\StructType\DutchBusinessDate|null |
||
1778 | */ |
||
1779 | public function getFounding_date() |
||
1780 | { |
||
1781 | return $this->founding_date; |
||
1782 | } |
||
1783 | /** |
||
1784 | * Set founding_date value |
||
1785 | * @param \Webservices\StructType\DutchBusinessDate $founding_date |
||
1786 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1787 | */ |
||
1788 | public function setFounding_date(\Webservices\StructType\DutchBusinessDate $founding_date = null) |
||
1789 | { |
||
1790 | $this->founding_date = $founding_date; |
||
1791 | return $this; |
||
1792 | } |
||
1793 | /** |
||
1794 | * Get continuation_date value |
||
1795 | * @return \Webservices\StructType\DutchBusinessDate|null |
||
1796 | */ |
||
1797 | public function getContinuation_date() |
||
1798 | { |
||
1799 | return $this->continuation_date; |
||
1800 | } |
||
1801 | /** |
||
1802 | * Set continuation_date value |
||
1803 | * @param \Webservices\StructType\DutchBusinessDate $continuation_date |
||
1804 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1805 | */ |
||
1806 | public function setContinuation_date(\Webservices\StructType\DutchBusinessDate $continuation_date = null) |
||
1810 | } |
||
1811 | /** |
||
1812 | * Get establishment_date value |
||
1813 | * @return \Webservices\StructType\DutchBusinessDate|null |
||
1814 | */ |
||
1815 | public function getEstablishment_date() |
||
1818 | } |
||
1819 | /** |
||
1820 | * Set establishment_date value |
||
1821 | * @param \Webservices\StructType\DutchBusinessDate $establishment_date |
||
1822 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1823 | */ |
||
1824 | public function setEstablishment_date(\Webservices\StructType\DutchBusinessDate $establishment_date = null) |
||
1825 | { |
||
1826 | $this->establishment_date = $establishment_date; |
||
1827 | return $this; |
||
1828 | } |
||
1829 | /** |
||
1830 | * Method called when an object has been exported with var_export() functions |
||
1831 | * It allows to return an object instantiated with the values |
||
1832 | * @see AbstractStructBase::__set_state() |
||
1833 | * @uses AbstractStructBase::__set_state() |
||
1834 | * @param array $array the exported values |
||
1835 | * @return \Webservices\StructType\DutchBusinessDossier |
||
1836 | */ |
||
1837 | public static function __set_state(array $array) |
||
1838 | { |
||
1839 | return parent::__set_state($array); |
||
1840 | } |
||
1841 | /** |
||
1842 | * Method returning the class name |
||
1843 | * @return string __CLASS__ |
||
1844 | */ |
||
1845 | public function __toString() |
||
1846 | { |
||
1847 | return __CLASS__; |
||
1848 | } |
||
1849 | } |
||
1850 |