DutchBusinessLegalEntity   F
last analyzed

Complexity

Total Complexity 193

Size/Duplication

Total Lines 1776
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1776
rs 0.6314
c 0
b 0
f 0
wmc 193

117 Methods

Rating   Name   Duplication   Size   Complexity  
A getDomain_names() 0 3 1
A getCorrespondence_street() 0 3 1
A setSbi_codes() 0 4 1
A setCorrespondence_street() 0 8 3
A getTelephone_numbers() 0 3 1
A getShortened_name() 0 3 1
A getSbi_codes() 0 3 1
A setLegal_name() 0 8 3
A setStatus() 0 8 3
A getLegal_form_change() 0 3 1
A getFax_numbers() 0 3 1
A getDeed_incorporation_date() 0 3 1
A getDuration() 0 3 1
A setRegistration() 0 8 3
A setCorrespondence_house_number() 0 8 3
A getDiscontinuation_date() 0 3 1
A setEstablishment_house_number_addition() 0 8 3
A setForeign_legal_form_description() 0 8 3
A setLiquidation_closure_date() 0 4 1
A setDomain_names() 0 4 1
A getActivity() 0 3 1
A setLegal_form_change() 0 8 3
A getIssued_share_capital() 0 3 1
A getForeign_legal_form_description() 0 3 1
A getLegal_entity_end_date() 0 3 1
A getLegal_name() 0 3 1
A setDeed_incorporation_date() 0 4 1
A getRegistration_date() 0 3 1
A getCorrespondence_house_number() 0 3 1
A __set_state() 0 3 1
A setAnnual_report_submission() 0 8 3
A setEstablishment_house_number() 0 8 3
A getSbi_codes_text() 0 3 1
A setActivity() 0 8 3
A getLiquidation_closure_date() 0 3 1
A getEstablishment_postcode() 0 3 1
A setEstablishment_street() 0 8 3
A getCorrespondence_house_number_addition() 0 3 1
A setAuthorized_share_capital_currency() 0 8 3
A getRsin_number() 0 3 1
A setDuration_end_date() 0 4 1
A getAlternative_name() 0 3 1
A getEstablishment_country() 0 3 1
A setSbi_codes_text() 0 4 1
A setCorrespondence_country() 0 8 3
A setShare_holders() 0 8 3
A getPaid_up_share_capital() 0 3 1
A getStatutory_seat() 0 3 1
A setAuthorized_share_capital() 0 8 3
A setEmail_addresses() 0 4 1
A setMerger_description() 0 8 3
A setLegal_form_text() 0 8 3
A getIssued_share_capital_currency() 0 3 1
A __toString() 0 3 1
A setFax_numbers() 0 4 1
A getStatus() 0 3 1
A setEstablishment_city() 0 8 3
A getEstablishment_house_number_addition() 0 3 1
A getShares() 0 3 1
A getAuthorized_share_capital_currency() 0 3 1
A setPaid_up_share_capital_currency() 0 8 3
A setShortened_name() 0 8 3
A setName() 0 8 3
A setCorrespondence_house_number_addition() 0 8 3
A getShare_holders() 0 3 1
A getLiability() 0 3 1
A setEstablishment_postcode() 0 8 3
A getCorrespondence_city() 0 3 1
A setLegal_entity_end_date() 0 4 1
A setFounding_date() 0 4 1
A setStatutory_seat() 0 8 3
A getRegistration_end_date() 0 3 1
A getDissolution_reason() 0 3 1
A getName() 0 3 1
A setCorrespondence_postcode() 0 8 3
A getLiquidation_reopening_date() 0 3 1
A __construct() 0 60 1
A getEmail_addresses() 0 3 1
A getCompany_arrangement() 0 3 1
A getAuthorized_share_capital() 0 3 1
A setLiquidation_reopening_date() 0 4 1
A getEstablishment_city() 0 3 1
A setDiscontinuation_date() 0 4 1
A getMerger_description() 0 3 1
A setDissolution_reason() 0 8 3
A getDeed_last_statutes_amendment_date() 0 3 1
A setRegistration_date() 0 4 1
A setLast_statutes_amendment_date() 0 4 1
A setRegistration_end_date() 0 4 1
A getLegal_form_text() 0 3 1
A setTelephone_numbers() 0 4 1
A getPaid_up_share_capital_currency() 0 3 1
A setRemoval_date() 0 4 1
A setDeed_last_statutes_amendment_date() 0 4 1
A getEstablishment_house_number() 0 3 1
A getAnnual_report_submission() 0 3 1
A setDuration() 0 8 3
A setCorrespondence_city() 0 8 3
A setIssued_share_capital_currency() 0 8 3
A setShares() 0 8 3
A getCorrespondence_country() 0 3 1
A getRegistration() 0 3 1
A setEstablishment_country() 0 8 3
A getEstablishment_street() 0 3 1
A getDuration_end_date() 0 3 1
A getRemoval_date() 0 3 1
A getFounding_date() 0 3 1
A setLiability() 0 8 3
A setDissolution_date() 0 4 1
A getLast_statutes_amendment_date() 0 3 1
A setAlternative_name() 0 8 3
A getCorrespondence_postcode() 0 3 1
A setCompany_arrangement() 0 8 3
A setPaid_up_share_capital() 0 8 3
A getDissolution_date() 0 3 1
A setIssued_share_capital() 0 8 3
A setRsin_number() 0 8 3

How to fix   Complexity   

Complex Class

Complex classes like DutchBusinessLegalEntity 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 DutchBusinessLegalEntity, and based on these observations, apply Extract Interface, too.

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