DutchBusinessLegalEntityV2   F
last analyzed

Complexity

Total Complexity 127

Size/Duplication

Total Lines 1308
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1308
rs 0.6314
c 0
b 0
f 0
wmc 127

89 Methods

Rating   Name   Duplication   Size   Complexity  
A setSbi_codes() 0 4 1
A setAnnual_report_submission() 0 8 3
A getRemarks() 0 3 1
A getShortened_name() 0 3 1
A getCorrespondence_address() 0 3 1
A setAlternative_name() 0 8 3
A setLiability() 0 8 3
A setLegal_form_change() 0 8 3
A setCorrespondence_address() 0 4 1
A setShares() 0 8 3
A setLegal_form_text() 0 8 3
A setDissolution_date() 0 4 1
A getLast_statutes_amendment_date() 0 3 1
A getDomain_names() 0 3 1
A getIssued_share_capital() 0 3 1
A getLegal_form_change() 0 3 1
A setRegistration_date() 0 4 1
A setTelephone_numbers() 0 4 1
A setIssued_share_capital() 0 4 1
A getFax_numbers() 0 3 1
A getStatutory_seat() 0 3 1
A setName() 0 8 3
A setLegal_entity_end_date() 0 4 1
A getFounding_date() 0 3 1
A setLast_statutes_amendment_date() 0 4 1
A setLiquidation_closure_date() 0 4 1
A getAnnual_report_submission() 0 3 1
A setDeed_last_statutes_amendment_date() 0 4 1
A getDeed_incorporation_date() 0 3 1
A setPaid_up_share_capital() 0 4 1
A setDuration_end_date() 0 4 1
A getDuration() 0 3 1
A setDiscontinuation_date() 0 4 1
A getLiquidation_closure_date() 0 3 1
A setStatutory_seat() 0 8 3
A getShare_holders() 0 3 1
A getLegal_name() 0 3 1
A __toString() 0 3 1
A getPaid_up_share_capital() 0 3 1
A getDeed_last_statutes_amendment_date() 0 3 1
A setEmail_addresses() 0 4 1
A setDissolution_reason() 0 8 3
A getLiability() 0 3 1
A getDuration_end_date() 0 3 1
A getSbi_codes() 0 3 1
A setDomain_names() 0 4 1
A setRegistration_end_date() 0 4 1
A getLegal_form_text() 0 3 1
A setRemarks() 0 4 1
A setCompany_arrangement() 0 8 3
A getCompany_arrangement() 0 3 1
A getDiscontinuation_date() 0 3 1
A setDuration() 0 8 3
A setDeed_incorporation_date() 0 4 1
A setRemoval_date() 0 4 1
A getRegistration_end_date() 0 3 1
A setFax_numbers() 0 4 1
A setShortened_name() 0 8 3
A setMerger_description() 0 8 3
A getRemoval_date() 0 3 1
A getEmail_addresses() 0 3 1
A setFounding_date() 0 4 1
A setRsin_number() 0 8 3
A setRegistration() 0 8 3
A getForeign_legal_form_description() 0 3 1
A setForeign_legal_form_description() 0 8 3
A setLiquidation_reopening_date() 0 4 1
A getShares() 0 3 1
A getDissolution_reason() 0 3 1
A __set_state() 0 3 1
A setEstablishment_address() 0 4 1
A getAlternative_name() 0 3 1
A getRegistration() 0 3 1
A getLiquidation_reopening_date() 0 3 1
B __construct() 0 46 1
A setShare_holders() 0 8 3
A getRegistration_date() 0 3 1
A getRsin_number() 0 3 1
A setAuthorized_share_capital() 0 4 1
A setLegal_name() 0 8 3
A getAuthorized_share_capital() 0 3 1
A getTelephone_numbers() 0 3 1
A getLegal_entity_end_date() 0 3 1
A setActivity() 0 8 3
A getActivity() 0 3 1
A getDissolution_date() 0 3 1
A getEstablishment_address() 0 3 1
A getName() 0 3 1
A getMerger_description() 0 3 1

How to fix   Complexity   

Complex Class

Complex classes like DutchBusinessLegalEntityV2 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 DutchBusinessLegalEntityV2, 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 DutchBusinessLegalEntityV2 StructType
9
 * @subpackage Structs
10
 * @author JCID <[email protected]>
11
 */
12
class DutchBusinessLegalEntityV2 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 legal_form_text
51
     * Meta informations extracted from the WSDL
52
     * - minOccurs: 0
53
     * @var string
54
     */
55
    public $legal_form_text;
56
    /**
57
     * The legal_form_change
58
     * Meta informations extracted from the WSDL
59
     * - minOccurs: 0
60
     * @var string
61
     */
62
    public $legal_form_change;
63
    /**
64
     * The foreign_legal_form_description
65
     * Meta informations extracted from the WSDL
66
     * - minOccurs: 0
67
     * @var string
68
     */
69
    public $foreign_legal_form_description;
70
    /**
71
     * The activity
72
     * Meta informations extracted from the WSDL
73
     * - minOccurs: 0
74
     * @var string
75
     */
76
    public $activity;
77
    /**
78
     * The company_arrangement
79
     * Meta informations extracted from the WSDL
80
     * - minOccurs: 0
81
     * @var string
82
     */
83
    public $company_arrangement;
84
    /**
85
     * The legal_name
86
     * Meta informations extracted from the WSDL
87
     * - minOccurs: 0
88
     * @var string
89
     */
90
    public $legal_name;
91
    /**
92
     * The statutory_seat
93
     * Meta informations extracted from the WSDL
94
     * - minOccurs: 0
95
     * @var string
96
     */
97
    public $statutory_seat;
98
    /**
99
     * The registration_date
100
     * Meta informations extracted from the WSDL
101
     * - minOccurs: 0
102
     * @var \Webservices\StructType\DutchBusinessDateV2
103
     */
104
    public $registration_date;
105
    /**
106
     * The founding_date
107
     * Meta informations extracted from the WSDL
108
     * - minOccurs: 0
109
     * @var \Webservices\StructType\DutchBusinessDateV2
110
     */
111
    public $founding_date;
112
    /**
113
     * The discontinuation_date
114
     * Meta informations extracted from the WSDL
115
     * - minOccurs: 0
116
     * @var \Webservices\StructType\DutchBusinessDateV2
117
     */
118
    public $discontinuation_date;
119
    /**
120
     * The dissolution_date
121
     * Meta informations extracted from the WSDL
122
     * - minOccurs: 0
123
     * @var \Webservices\StructType\DutchBusinessDateV2
124
     */
125
    public $dissolution_date;
126
    /**
127
     * The dissolution_reason
128
     * Meta informations extracted from the WSDL
129
     * - minOccurs: 0
130
     * @var string
131
     */
132
    public $dissolution_reason;
133
    /**
134
     * The removal_date
135
     * Meta informations extracted from the WSDL
136
     * - minOccurs: 0
137
     * @var \Webservices\StructType\DutchBusinessDateV2
138
     */
139
    public $removal_date;
140
    /**
141
     * The registration_end_date
142
     * Meta informations extracted from the WSDL
143
     * - minOccurs: 0
144
     * @var \Webservices\StructType\DutchBusinessDateV2
145
     */
146
    public $registration_end_date;
147
    /**
148
     * The legal_entity_end_date
149
     * Meta informations extracted from the WSDL
150
     * - minOccurs: 0
151
     * @var \Webservices\StructType\DutchBusinessDateV2
152
     */
153
    public $legal_entity_end_date;
154
    /**
155
     * The liquidation_closure_date
156
     * Meta informations extracted from the WSDL
157
     * - minOccurs: 0
158
     * @var \Webservices\StructType\DutchBusinessDateV2
159
     */
160
    public $liquidation_closure_date;
161
    /**
162
     * The liquidation_reopening_date
163
     * Meta informations extracted from the WSDL
164
     * - minOccurs: 0
165
     * @var \Webservices\StructType\DutchBusinessDateV2
166
     */
167
    public $liquidation_reopening_date;
168
    /**
169
     * The deed_incorporation_date
170
     * Meta informations extracted from the WSDL
171
     * - minOccurs: 0
172
     * @var \Webservices\StructType\DutchBusinessDateV2
173
     */
174
    public $deed_incorporation_date;
175
    /**
176
     * The deed_last_statutes_amendment_date
177
     * Meta informations extracted from the WSDL
178
     * - minOccurs: 0
179
     * @var \Webservices\StructType\DutchBusinessDateV2
180
     */
181
    public $deed_last_statutes_amendment_date;
182
    /**
183
     * The last_statutes_amendment_date
184
     * Meta informations extracted from the WSDL
185
     * - minOccurs: 0
186
     * @var \Webservices\StructType\DutchBusinessDateV2
187
     */
188
    public $last_statutes_amendment_date;
189
    /**
190
     * The liability
191
     * Meta informations extracted from the WSDL
192
     * - minOccurs: 0
193
     * @var string
194
     */
195
    public $liability;
196
    /**
197
     * The merger_description
198
     * Meta informations extracted from the WSDL
199
     * - minOccurs: 0
200
     * @var string
201
     */
202
    public $merger_description;
203
    /**
204
     * The annual_report_submission
205
     * Meta informations extracted from the WSDL
206
     * - minOccurs: 0
207
     * @var string
208
     */
209
    public $annual_report_submission;
210
    /**
211
     * The authorized_share_capital
212
     * Meta informations extracted from the WSDL
213
     * - minOccurs: 0
214
     * @var \Webservices\StructType\DutchBusinessMoneyV2
215
     */
216
    public $authorized_share_capital;
217
    /**
218
     * The issued_share_capital
219
     * Meta informations extracted from the WSDL
220
     * - minOccurs: 0
221
     * @var \Webservices\StructType\DutchBusinessMoneyV2
222
     */
223
    public $issued_share_capital;
224
    /**
225
     * The paid_up_share_capital
226
     * Meta informations extracted from the WSDL
227
     * - minOccurs: 0
228
     * @var \Webservices\StructType\DutchBusinessMoneyV2
229
     */
230
    public $paid_up_share_capital;
231
    /**
232
     * The duration
233
     * Meta informations extracted from the WSDL
234
     * - minOccurs: 0
235
     * @var string
236
     */
237
    public $duration;
238
    /**
239
     * The duration_end_date
240
     * Meta informations extracted from the WSDL
241
     * - minOccurs: 0
242
     * @var \Webservices\StructType\DutchBusinessDateV2
243
     */
244
    public $duration_end_date;
245
    /**
246
     * The shares
247
     * Meta informations extracted from the WSDL
248
     * - minOccurs: 0
249
     * @var string
250
     */
251
    public $shares;
252
    /**
253
     * The share_holders
254
     * Meta informations extracted from the WSDL
255
     * - minOccurs: 0
256
     * @var string
257
     */
258
    public $share_holders;
259
    /**
260
     * The remarks
261
     * Meta informations extracted from the WSDL
262
     * - minOccurs: 0
263
     * @var \Webservices\ArrayType\StringArray
264
     */
265
    public $remarks;
266
    /**
267
     * The establishment_address
268
     * Meta informations extracted from the WSDL
269
     * - minOccurs: 0
270
     * @var \Webservices\StructType\DutchBusinessAddressV2
271
     */
272
    public $establishment_address;
273
    /**
274
     * The correspondence_address
275
     * Meta informations extracted from the WSDL
276
     * - minOccurs: 0
277
     * @var \Webservices\StructType\DutchBusinessAddressV2
278
     */
279
    public $correspondence_address;
280
    /**
281
     * The telephone_numbers
282
     * Meta informations extracted from the WSDL
283
     * - minOccurs: 0
284
     * @var \Webservices\ArrayType\StringArray
285
     */
286
    public $telephone_numbers;
287
    /**
288
     * The fax_numbers
289
     * Meta informations extracted from the WSDL
290
     * - minOccurs: 0
291
     * @var \Webservices\ArrayType\StringArray
292
     */
293
    public $fax_numbers;
294
    /**
295
     * The email_addresses
296
     * Meta informations extracted from the WSDL
297
     * - minOccurs: 0
298
     * @var \Webservices\ArrayType\StringArray
299
     */
300
    public $email_addresses;
301
    /**
302
     * The domain_names
303
     * Meta informations extracted from the WSDL
304
     * - minOccurs: 0
305
     * @var \Webservices\ArrayType\StringArray
306
     */
307
    public $domain_names;
308
    /**
309
     * The sbi_codes
310
     * Meta informations extracted from the WSDL
311
     * - minOccurs: 0
312
     * @var \Webservices\ArrayType\DutchBusinessSbiCodeV2Array
313
     */
314
    public $sbi_codes;
315
    /**
316
     * Constructor method for DutchBusinessLegalEntityV2
317
     * @uses DutchBusinessLegalEntityV2::setRsin_number()
318
     * @uses DutchBusinessLegalEntityV2::setName()
319
     * @uses DutchBusinessLegalEntityV2::setAlternative_name()
320
     * @uses DutchBusinessLegalEntityV2::setShortened_name()
321
     * @uses DutchBusinessLegalEntityV2::setRegistration()
322
     * @uses DutchBusinessLegalEntityV2::setLegal_form_text()
323
     * @uses DutchBusinessLegalEntityV2::setLegal_form_change()
324
     * @uses DutchBusinessLegalEntityV2::setForeign_legal_form_description()
325
     * @uses DutchBusinessLegalEntityV2::setActivity()
326
     * @uses DutchBusinessLegalEntityV2::setCompany_arrangement()
327
     * @uses DutchBusinessLegalEntityV2::setLegal_name()
328
     * @uses DutchBusinessLegalEntityV2::setStatutory_seat()
329
     * @uses DutchBusinessLegalEntityV2::setRegistration_date()
330
     * @uses DutchBusinessLegalEntityV2::setFounding_date()
331
     * @uses DutchBusinessLegalEntityV2::setDiscontinuation_date()
332
     * @uses DutchBusinessLegalEntityV2::setDissolution_date()
333
     * @uses DutchBusinessLegalEntityV2::setDissolution_reason()
334
     * @uses DutchBusinessLegalEntityV2::setRemoval_date()
335
     * @uses DutchBusinessLegalEntityV2::setRegistration_end_date()
336
     * @uses DutchBusinessLegalEntityV2::setLegal_entity_end_date()
337
     * @uses DutchBusinessLegalEntityV2::setLiquidation_closure_date()
338
     * @uses DutchBusinessLegalEntityV2::setLiquidation_reopening_date()
339
     * @uses DutchBusinessLegalEntityV2::setDeed_incorporation_date()
340
     * @uses DutchBusinessLegalEntityV2::setDeed_last_statutes_amendment_date()
341
     * @uses DutchBusinessLegalEntityV2::setLast_statutes_amendment_date()
342
     * @uses DutchBusinessLegalEntityV2::setLiability()
343
     * @uses DutchBusinessLegalEntityV2::setMerger_description()
344
     * @uses DutchBusinessLegalEntityV2::setAnnual_report_submission()
345
     * @uses DutchBusinessLegalEntityV2::setAuthorized_share_capital()
346
     * @uses DutchBusinessLegalEntityV2::setIssued_share_capital()
347
     * @uses DutchBusinessLegalEntityV2::setPaid_up_share_capital()
348
     * @uses DutchBusinessLegalEntityV2::setDuration()
349
     * @uses DutchBusinessLegalEntityV2::setDuration_end_date()
350
     * @uses DutchBusinessLegalEntityV2::setShares()
351
     * @uses DutchBusinessLegalEntityV2::setShare_holders()
352
     * @uses DutchBusinessLegalEntityV2::setRemarks()
353
     * @uses DutchBusinessLegalEntityV2::setEstablishment_address()
354
     * @uses DutchBusinessLegalEntityV2::setCorrespondence_address()
355
     * @uses DutchBusinessLegalEntityV2::setTelephone_numbers()
356
     * @uses DutchBusinessLegalEntityV2::setFax_numbers()
357
     * @uses DutchBusinessLegalEntityV2::setEmail_addresses()
358
     * @uses DutchBusinessLegalEntityV2::setDomain_names()
359
     * @uses DutchBusinessLegalEntityV2::setSbi_codes()
360
     * @param string $rsin_number
361
     * @param string $name
362
     * @param string $alternative_name
363
     * @param string $shortened_name
364
     * @param string $registration
365
     * @param string $legal_form_text
366
     * @param string $legal_form_change
367
     * @param string $foreign_legal_form_description
368
     * @param string $activity
369
     * @param string $company_arrangement
370
     * @param string $legal_name
371
     * @param string $statutory_seat
372
     * @param \Webservices\StructType\DutchBusinessDateV2 $registration_date
373
     * @param \Webservices\StructType\DutchBusinessDateV2 $founding_date
374
     * @param \Webservices\StructType\DutchBusinessDateV2 $discontinuation_date
375
     * @param \Webservices\StructType\DutchBusinessDateV2 $dissolution_date
376
     * @param string $dissolution_reason
377
     * @param \Webservices\StructType\DutchBusinessDateV2 $removal_date
378
     * @param \Webservices\StructType\DutchBusinessDateV2 $registration_end_date
379
     * @param \Webservices\StructType\DutchBusinessDateV2 $legal_entity_end_date
380
     * @param \Webservices\StructType\DutchBusinessDateV2 $liquidation_closure_date
381
     * @param \Webservices\StructType\DutchBusinessDateV2 $liquidation_reopening_date
382
     * @param \Webservices\StructType\DutchBusinessDateV2 $deed_incorporation_date
383
     * @param \Webservices\StructType\DutchBusinessDateV2 $deed_last_statutes_amendment_date
384
     * @param \Webservices\StructType\DutchBusinessDateV2 $last_statutes_amendment_date
385
     * @param string $liability
386
     * @param string $merger_description
387
     * @param string $annual_report_submission
388
     * @param \Webservices\StructType\DutchBusinessMoneyV2 $authorized_share_capital
389
     * @param \Webservices\StructType\DutchBusinessMoneyV2 $issued_share_capital
390
     * @param \Webservices\StructType\DutchBusinessMoneyV2 $paid_up_share_capital
391
     * @param string $duration
392
     * @param \Webservices\StructType\DutchBusinessDateV2 $duration_end_date
393
     * @param string $shares
394
     * @param string $share_holders
395
     * @param \Webservices\ArrayType\StringArray $remarks
396
     * @param \Webservices\StructType\DutchBusinessAddressV2 $establishment_address
397
     * @param \Webservices\StructType\DutchBusinessAddressV2 $correspondence_address
398
     * @param \Webservices\ArrayType\StringArray $telephone_numbers
399
     * @param \Webservices\ArrayType\StringArray $fax_numbers
400
     * @param \Webservices\ArrayType\StringArray $email_addresses
401
     * @param \Webservices\ArrayType\StringArray $domain_names
402
     * @param \Webservices\ArrayType\DutchBusinessSbiCodeV2Array $sbi_codes
403
     */
404
    public function __construct($rsin_number = null, $name = null, $alternative_name = null, $shortened_name = null, $registration = null, $legal_form_text = null, $legal_form_change = null, $foreign_legal_form_description = null, $activity = null, $company_arrangement = null, $legal_name = null, $statutory_seat = null, \Webservices\StructType\DutchBusinessDateV2 $registration_date = null, \Webservices\StructType\DutchBusinessDateV2 $founding_date = null, \Webservices\StructType\DutchBusinessDateV2 $discontinuation_date = null, \Webservices\StructType\DutchBusinessDateV2 $dissolution_date = null, $dissolution_reason = null, \Webservices\StructType\DutchBusinessDateV2 $removal_date = null, \Webservices\StructType\DutchBusinessDateV2 $registration_end_date = null, \Webservices\StructType\DutchBusinessDateV2 $legal_entity_end_date = null, \Webservices\StructType\DutchBusinessDateV2 $liquidation_closure_date = null, \Webservices\StructType\DutchBusinessDateV2 $liquidation_reopening_date = null, \Webservices\StructType\DutchBusinessDateV2 $deed_incorporation_date = null, \Webservices\StructType\DutchBusinessDateV2 $deed_last_statutes_amendment_date = null, \Webservices\StructType\DutchBusinessDateV2 $last_statutes_amendment_date = null, $liability = null, $merger_description = null, $annual_report_submission = null, \Webservices\StructType\DutchBusinessMoneyV2 $authorized_share_capital = null, \Webservices\StructType\DutchBusinessMoneyV2 $issued_share_capital = null, \Webservices\StructType\DutchBusinessMoneyV2 $paid_up_share_capital = null, $duration = null, \Webservices\StructType\DutchBusinessDateV2 $duration_end_date = null, $shares = null, $share_holders = null, \Webservices\ArrayType\StringArray $remarks = null, \Webservices\StructType\DutchBusinessAddressV2 $establishment_address = null, \Webservices\StructType\DutchBusinessAddressV2 $correspondence_address = 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, \Webservices\ArrayType\DutchBusinessSbiCodeV2Array $sbi_codes = null)
405
    {
406
        $this
407
            ->setRsin_number($rsin_number)
408
            ->setName($name)
409
            ->setAlternative_name($alternative_name)
410
            ->setShortened_name($shortened_name)
411
            ->setRegistration($registration)
412
            ->setLegal_form_text($legal_form_text)
413
            ->setLegal_form_change($legal_form_change)
414
            ->setForeign_legal_form_description($foreign_legal_form_description)
415
            ->setActivity($activity)
416
            ->setCompany_arrangement($company_arrangement)
417
            ->setLegal_name($legal_name)
418
            ->setStatutory_seat($statutory_seat)
419
            ->setRegistration_date($registration_date)
420
            ->setFounding_date($founding_date)
421
            ->setDiscontinuation_date($discontinuation_date)
422
            ->setDissolution_date($dissolution_date)
423
            ->setDissolution_reason($dissolution_reason)
424
            ->setRemoval_date($removal_date)
425
            ->setRegistration_end_date($registration_end_date)
426
            ->setLegal_entity_end_date($legal_entity_end_date)
427
            ->setLiquidation_closure_date($liquidation_closure_date)
428
            ->setLiquidation_reopening_date($liquidation_reopening_date)
429
            ->setDeed_incorporation_date($deed_incorporation_date)
430
            ->setDeed_last_statutes_amendment_date($deed_last_statutes_amendment_date)
431
            ->setLast_statutes_amendment_date($last_statutes_amendment_date)
432
            ->setLiability($liability)
433
            ->setMerger_description($merger_description)
434
            ->setAnnual_report_submission($annual_report_submission)
435
            ->setAuthorized_share_capital($authorized_share_capital)
436
            ->setIssued_share_capital($issued_share_capital)
437
            ->setPaid_up_share_capital($paid_up_share_capital)
438
            ->setDuration($duration)
439
            ->setDuration_end_date($duration_end_date)
440
            ->setShares($shares)
441
            ->setShare_holders($share_holders)
442
            ->setRemarks($remarks)
443
            ->setEstablishment_address($establishment_address)
444
            ->setCorrespondence_address($correspondence_address)
445
            ->setTelephone_numbers($telephone_numbers)
446
            ->setFax_numbers($fax_numbers)
447
            ->setEmail_addresses($email_addresses)
448
            ->setDomain_names($domain_names)
449
            ->setSbi_codes($sbi_codes);
450
    }
451
    /**
452
     * Get rsin_number value
453
     * @return string|null
454
     */
455
    public function getRsin_number()
456
    {
457
        return $this->rsin_number;
458
    }
459
    /**
460
     * Set rsin_number value
461
     * @param string $rsin_number
462
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
463
     */
464
    public function setRsin_number($rsin_number = null)
465
    {
466
        // validation for constraint: string
467
        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...
468
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($rsin_number)), __LINE__);
469
        }
470
        $this->rsin_number = $rsin_number;
471
        return $this;
472
    }
473
    /**
474
     * Get name value
475
     * @return string|null
476
     */
477
    public function getName()
478
    {
479
        return $this->name;
480
    }
481
    /**
482
     * Set name value
483
     * @param string $name
484
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
485
     */
486
    public function setName($name = null)
487
    {
488
        // validation for constraint: string
489
        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...
490
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($name)), __LINE__);
491
        }
492
        $this->name = $name;
493
        return $this;
494
    }
495
    /**
496
     * Get alternative_name value
497
     * @return string|null
498
     */
499
    public function getAlternative_name()
500
    {
501
        return $this->alternative_name;
502
    }
503
    /**
504
     * Set alternative_name value
505
     * @param string $alternative_name
506
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
507
     */
508
    public function setAlternative_name($alternative_name = null)
509
    {
510
        // validation for constraint: string
511
        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...
512
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($alternative_name)), __LINE__);
513
        }
514
        $this->alternative_name = $alternative_name;
515
        return $this;
516
    }
517
    /**
518
     * Get shortened_name value
519
     * @return string|null
520
     */
521
    public function getShortened_name()
522
    {
523
        return $this->shortened_name;
524
    }
525
    /**
526
     * Set shortened_name value
527
     * @param string $shortened_name
528
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
529
     */
530
    public function setShortened_name($shortened_name = null)
531
    {
532
        // validation for constraint: string
533
        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...
534
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($shortened_name)), __LINE__);
535
        }
536
        $this->shortened_name = $shortened_name;
537
        return $this;
538
    }
539
    /**
540
     * Get registration value
541
     * @return string|null
542
     */
543
    public function getRegistration()
544
    {
545
        return $this->registration;
546
    }
547
    /**
548
     * Set registration value
549
     * @param string $registration
550
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
551
     */
552
    public function setRegistration($registration = null)
553
    {
554
        // validation for constraint: string
555
        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...
556
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($registration)), __LINE__);
557
        }
558
        $this->registration = $registration;
559
        return $this;
560
    }
561
    /**
562
     * Get legal_form_text value
563
     * @return string|null
564
     */
565
    public function getLegal_form_text()
566
    {
567
        return $this->legal_form_text;
568
    }
569
    /**
570
     * Set legal_form_text value
571
     * @param string $legal_form_text
572
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
573
     */
574
    public function setLegal_form_text($legal_form_text = null)
575
    {
576
        // validation for constraint: string
577
        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...
578
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($legal_form_text)), __LINE__);
579
        }
580
        $this->legal_form_text = $legal_form_text;
581
        return $this;
582
    }
583
    /**
584
     * Get legal_form_change value
585
     * @return string|null
586
     */
587
    public function getLegal_form_change()
588
    {
589
        return $this->legal_form_change;
590
    }
591
    /**
592
     * Set legal_form_change value
593
     * @param string $legal_form_change
594
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
595
     */
596
    public function setLegal_form_change($legal_form_change = null)
597
    {
598
        // validation for constraint: string
599
        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...
600
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($legal_form_change)), __LINE__);
601
        }
602
        $this->legal_form_change = $legal_form_change;
603
        return $this;
604
    }
605
    /**
606
     * Get foreign_legal_form_description value
607
     * @return string|null
608
     */
609
    public function getForeign_legal_form_description()
610
    {
611
        return $this->foreign_legal_form_description;
612
    }
613
    /**
614
     * Set foreign_legal_form_description value
615
     * @param string $foreign_legal_form_description
616
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
617
     */
618
    public function setForeign_legal_form_description($foreign_legal_form_description = null)
619
    {
620
        // validation for constraint: string
621
        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...
622
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($foreign_legal_form_description)), __LINE__);
623
        }
624
        $this->foreign_legal_form_description = $foreign_legal_form_description;
625
        return $this;
626
    }
627
    /**
628
     * Get activity value
629
     * @return string|null
630
     */
631
    public function getActivity()
632
    {
633
        return $this->activity;
634
    }
635
    /**
636
     * Set activity value
637
     * @param string $activity
638
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
639
     */
640
    public function setActivity($activity = null)
641
    {
642
        // validation for constraint: string
643
        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...
644
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($activity)), __LINE__);
645
        }
646
        $this->activity = $activity;
647
        return $this;
648
    }
649
    /**
650
     * Get company_arrangement value
651
     * @return string|null
652
     */
653
    public function getCompany_arrangement()
654
    {
655
        return $this->company_arrangement;
656
    }
657
    /**
658
     * Set company_arrangement value
659
     * @param string $company_arrangement
660
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
661
     */
662
    public function setCompany_arrangement($company_arrangement = null)
663
    {
664
        // validation for constraint: string
665
        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...
666
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($company_arrangement)), __LINE__);
667
        }
668
        $this->company_arrangement = $company_arrangement;
669
        return $this;
670
    }
671
    /**
672
     * Get legal_name value
673
     * @return string|null
674
     */
675
    public function getLegal_name()
676
    {
677
        return $this->legal_name;
678
    }
679
    /**
680
     * Set legal_name value
681
     * @param string $legal_name
682
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
683
     */
684
    public function setLegal_name($legal_name = null)
685
    {
686
        // validation for constraint: string
687
        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...
688
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($legal_name)), __LINE__);
689
        }
690
        $this->legal_name = $legal_name;
691
        return $this;
692
    }
693
    /**
694
     * Get statutory_seat value
695
     * @return string|null
696
     */
697
    public function getStatutory_seat()
698
    {
699
        return $this->statutory_seat;
700
    }
701
    /**
702
     * Set statutory_seat value
703
     * @param string $statutory_seat
704
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
705
     */
706
    public function setStatutory_seat($statutory_seat = null)
707
    {
708
        // validation for constraint: string
709
        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...
710
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($statutory_seat)), __LINE__);
711
        }
712
        $this->statutory_seat = $statutory_seat;
713
        return $this;
714
    }
715
    /**
716
     * Get registration_date value
717
     * @return \Webservices\StructType\DutchBusinessDateV2|null
718
     */
719
    public function getRegistration_date()
720
    {
721
        return $this->registration_date;
722
    }
723
    /**
724
     * Set registration_date value
725
     * @param \Webservices\StructType\DutchBusinessDateV2 $registration_date
726
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
727
     */
728
    public function setRegistration_date(\Webservices\StructType\DutchBusinessDateV2 $registration_date = null)
729
    {
730
        $this->registration_date = $registration_date;
731
        return $this;
732
    }
733
    /**
734
     * Get founding_date value
735
     * @return \Webservices\StructType\DutchBusinessDateV2|null
736
     */
737
    public function getFounding_date()
738
    {
739
        return $this->founding_date;
740
    }
741
    /**
742
     * Set founding_date value
743
     * @param \Webservices\StructType\DutchBusinessDateV2 $founding_date
744
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
745
     */
746
    public function setFounding_date(\Webservices\StructType\DutchBusinessDateV2 $founding_date = null)
747
    {
748
        $this->founding_date = $founding_date;
749
        return $this;
750
    }
751
    /**
752
     * Get discontinuation_date value
753
     * @return \Webservices\StructType\DutchBusinessDateV2|null
754
     */
755
    public function getDiscontinuation_date()
756
    {
757
        return $this->discontinuation_date;
758
    }
759
    /**
760
     * Set discontinuation_date value
761
     * @param \Webservices\StructType\DutchBusinessDateV2 $discontinuation_date
762
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
763
     */
764
    public function setDiscontinuation_date(\Webservices\StructType\DutchBusinessDateV2 $discontinuation_date = null)
765
    {
766
        $this->discontinuation_date = $discontinuation_date;
767
        return $this;
768
    }
769
    /**
770
     * Get dissolution_date value
771
     * @return \Webservices\StructType\DutchBusinessDateV2|null
772
     */
773
    public function getDissolution_date()
774
    {
775
        return $this->dissolution_date;
776
    }
777
    /**
778
     * Set dissolution_date value
779
     * @param \Webservices\StructType\DutchBusinessDateV2 $dissolution_date
780
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
781
     */
782
    public function setDissolution_date(\Webservices\StructType\DutchBusinessDateV2 $dissolution_date = null)
783
    {
784
        $this->dissolution_date = $dissolution_date;
785
        return $this;
786
    }
787
    /**
788
     * Get dissolution_reason value
789
     * @return string|null
790
     */
791
    public function getDissolution_reason()
792
    {
793
        return $this->dissolution_reason;
794
    }
795
    /**
796
     * Set dissolution_reason value
797
     * @param string $dissolution_reason
798
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
799
     */
800
    public function setDissolution_reason($dissolution_reason = null)
801
    {
802
        // validation for constraint: string
803
        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...
804
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($dissolution_reason)), __LINE__);
805
        }
806
        $this->dissolution_reason = $dissolution_reason;
807
        return $this;
808
    }
809
    /**
810
     * Get removal_date value
811
     * @return \Webservices\StructType\DutchBusinessDateV2|null
812
     */
813
    public function getRemoval_date()
814
    {
815
        return $this->removal_date;
816
    }
817
    /**
818
     * Set removal_date value
819
     * @param \Webservices\StructType\DutchBusinessDateV2 $removal_date
820
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
821
     */
822
    public function setRemoval_date(\Webservices\StructType\DutchBusinessDateV2 $removal_date = null)
823
    {
824
        $this->removal_date = $removal_date;
825
        return $this;
826
    }
827
    /**
828
     * Get registration_end_date value
829
     * @return \Webservices\StructType\DutchBusinessDateV2|null
830
     */
831
    public function getRegistration_end_date()
832
    {
833
        return $this->registration_end_date;
834
    }
835
    /**
836
     * Set registration_end_date value
837
     * @param \Webservices\StructType\DutchBusinessDateV2 $registration_end_date
838
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
839
     */
840
    public function setRegistration_end_date(\Webservices\StructType\DutchBusinessDateV2 $registration_end_date = null)
841
    {
842
        $this->registration_end_date = $registration_end_date;
843
        return $this;
844
    }
845
    /**
846
     * Get legal_entity_end_date value
847
     * @return \Webservices\StructType\DutchBusinessDateV2|null
848
     */
849
    public function getLegal_entity_end_date()
850
    {
851
        return $this->legal_entity_end_date;
852
    }
853
    /**
854
     * Set legal_entity_end_date value
855
     * @param \Webservices\StructType\DutchBusinessDateV2 $legal_entity_end_date
856
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
857
     */
858
    public function setLegal_entity_end_date(\Webservices\StructType\DutchBusinessDateV2 $legal_entity_end_date = null)
859
    {
860
        $this->legal_entity_end_date = $legal_entity_end_date;
861
        return $this;
862
    }
863
    /**
864
     * Get liquidation_closure_date value
865
     * @return \Webservices\StructType\DutchBusinessDateV2|null
866
     */
867
    public function getLiquidation_closure_date()
868
    {
869
        return $this->liquidation_closure_date;
870
    }
871
    /**
872
     * Set liquidation_closure_date value
873
     * @param \Webservices\StructType\DutchBusinessDateV2 $liquidation_closure_date
874
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
875
     */
876
    public function setLiquidation_closure_date(\Webservices\StructType\DutchBusinessDateV2 $liquidation_closure_date = null)
877
    {
878
        $this->liquidation_closure_date = $liquidation_closure_date;
879
        return $this;
880
    }
881
    /**
882
     * Get liquidation_reopening_date value
883
     * @return \Webservices\StructType\DutchBusinessDateV2|null
884
     */
885
    public function getLiquidation_reopening_date()
886
    {
887
        return $this->liquidation_reopening_date;
888
    }
889
    /**
890
     * Set liquidation_reopening_date value
891
     * @param \Webservices\StructType\DutchBusinessDateV2 $liquidation_reopening_date
892
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
893
     */
894
    public function setLiquidation_reopening_date(\Webservices\StructType\DutchBusinessDateV2 $liquidation_reopening_date = null)
895
    {
896
        $this->liquidation_reopening_date = $liquidation_reopening_date;
897
        return $this;
898
    }
899
    /**
900
     * Get deed_incorporation_date value
901
     * @return \Webservices\StructType\DutchBusinessDateV2|null
902
     */
903
    public function getDeed_incorporation_date()
904
    {
905
        return $this->deed_incorporation_date;
906
    }
907
    /**
908
     * Set deed_incorporation_date value
909
     * @param \Webservices\StructType\DutchBusinessDateV2 $deed_incorporation_date
910
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
911
     */
912
    public function setDeed_incorporation_date(\Webservices\StructType\DutchBusinessDateV2 $deed_incorporation_date = null)
913
    {
914
        $this->deed_incorporation_date = $deed_incorporation_date;
915
        return $this;
916
    }
917
    /**
918
     * Get deed_last_statutes_amendment_date value
919
     * @return \Webservices\StructType\DutchBusinessDateV2|null
920
     */
921
    public function getDeed_last_statutes_amendment_date()
922
    {
923
        return $this->deed_last_statutes_amendment_date;
924
    }
925
    /**
926
     * Set deed_last_statutes_amendment_date value
927
     * @param \Webservices\StructType\DutchBusinessDateV2 $deed_last_statutes_amendment_date
928
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
929
     */
930
    public function setDeed_last_statutes_amendment_date(\Webservices\StructType\DutchBusinessDateV2 $deed_last_statutes_amendment_date = null)
931
    {
932
        $this->deed_last_statutes_amendment_date = $deed_last_statutes_amendment_date;
933
        return $this;
934
    }
935
    /**
936
     * Get last_statutes_amendment_date value
937
     * @return \Webservices\StructType\DutchBusinessDateV2|null
938
     */
939
    public function getLast_statutes_amendment_date()
940
    {
941
        return $this->last_statutes_amendment_date;
942
    }
943
    /**
944
     * Set last_statutes_amendment_date value
945
     * @param \Webservices\StructType\DutchBusinessDateV2 $last_statutes_amendment_date
946
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
947
     */
948
    public function setLast_statutes_amendment_date(\Webservices\StructType\DutchBusinessDateV2 $last_statutes_amendment_date = null)
949
    {
950
        $this->last_statutes_amendment_date = $last_statutes_amendment_date;
951
        return $this;
952
    }
953
    /**
954
     * Get liability value
955
     * @return string|null
956
     */
957
    public function getLiability()
958
    {
959
        return $this->liability;
960
    }
961
    /**
962
     * Set liability value
963
     * @param string $liability
964
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
965
     */
966
    public function setLiability($liability = null)
967
    {
968
        // validation for constraint: string
969
        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...
970
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($liability)), __LINE__);
971
        }
972
        $this->liability = $liability;
973
        return $this;
974
    }
975
    /**
976
     * Get merger_description value
977
     * @return string|null
978
     */
979
    public function getMerger_description()
980
    {
981
        return $this->merger_description;
982
    }
983
    /**
984
     * Set merger_description value
985
     * @param string $merger_description
986
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
987
     */
988
    public function setMerger_description($merger_description = null)
989
    {
990
        // validation for constraint: string
991
        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...
992
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($merger_description)), __LINE__);
993
        }
994
        $this->merger_description = $merger_description;
995
        return $this;
996
    }
997
    /**
998
     * Get annual_report_submission value
999
     * @return string|null
1000
     */
1001
    public function getAnnual_report_submission()
1002
    {
1003
        return $this->annual_report_submission;
1004
    }
1005
    /**
1006
     * Set annual_report_submission value
1007
     * @param string $annual_report_submission
1008
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
1009
     */
1010
    public function setAnnual_report_submission($annual_report_submission = null)
1011
    {
1012
        // validation for constraint: string
1013
        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...
1014
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($annual_report_submission)), __LINE__);
1015
        }
1016
        $this->annual_report_submission = $annual_report_submission;
1017
        return $this;
1018
    }
1019
    /**
1020
     * Get authorized_share_capital value
1021
     * @return \Webservices\StructType\DutchBusinessMoneyV2|null
1022
     */
1023
    public function getAuthorized_share_capital()
1024
    {
1025
        return $this->authorized_share_capital;
1026
    }
1027
    /**
1028
     * Set authorized_share_capital value
1029
     * @param \Webservices\StructType\DutchBusinessMoneyV2 $authorized_share_capital
1030
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
1031
     */
1032
    public function setAuthorized_share_capital(\Webservices\StructType\DutchBusinessMoneyV2 $authorized_share_capital = null)
1033
    {
1034
        $this->authorized_share_capital = $authorized_share_capital;
1035
        return $this;
1036
    }
1037
    /**
1038
     * Get issued_share_capital value
1039
     * @return \Webservices\StructType\DutchBusinessMoneyV2|null
1040
     */
1041
    public function getIssued_share_capital()
1042
    {
1043
        return $this->issued_share_capital;
1044
    }
1045
    /**
1046
     * Set issued_share_capital value
1047
     * @param \Webservices\StructType\DutchBusinessMoneyV2 $issued_share_capital
1048
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
1049
     */
1050
    public function setIssued_share_capital(\Webservices\StructType\DutchBusinessMoneyV2 $issued_share_capital = null)
1051
    {
1052
        $this->issued_share_capital = $issued_share_capital;
1053
        return $this;
1054
    }
1055
    /**
1056
     * Get paid_up_share_capital value
1057
     * @return \Webservices\StructType\DutchBusinessMoneyV2|null
1058
     */
1059
    public function getPaid_up_share_capital()
1060
    {
1061
        return $this->paid_up_share_capital;
1062
    }
1063
    /**
1064
     * Set paid_up_share_capital value
1065
     * @param \Webservices\StructType\DutchBusinessMoneyV2 $paid_up_share_capital
1066
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
1067
     */
1068
    public function setPaid_up_share_capital(\Webservices\StructType\DutchBusinessMoneyV2 $paid_up_share_capital = null)
1069
    {
1070
        $this->paid_up_share_capital = $paid_up_share_capital;
1071
        return $this;
1072
    }
1073
    /**
1074
     * Get duration value
1075
     * @return string|null
1076
     */
1077
    public function getDuration()
1078
    {
1079
        return $this->duration;
1080
    }
1081
    /**
1082
     * Set duration value
1083
     * @param string $duration
1084
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
1085
     */
1086
    public function setDuration($duration = null)
1087
    {
1088
        // validation for constraint: string
1089
        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...
1090
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($duration)), __LINE__);
1091
        }
1092
        $this->duration = $duration;
1093
        return $this;
1094
    }
1095
    /**
1096
     * Get duration_end_date value
1097
     * @return \Webservices\StructType\DutchBusinessDateV2|null
1098
     */
1099
    public function getDuration_end_date()
1100
    {
1101
        return $this->duration_end_date;
1102
    }
1103
    /**
1104
     * Set duration_end_date value
1105
     * @param \Webservices\StructType\DutchBusinessDateV2 $duration_end_date
1106
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
1107
     */
1108
    public function setDuration_end_date(\Webservices\StructType\DutchBusinessDateV2 $duration_end_date = null)
1109
    {
1110
        $this->duration_end_date = $duration_end_date;
1111
        return $this;
1112
    }
1113
    /**
1114
     * Get shares value
1115
     * @return string|null
1116
     */
1117
    public function getShares()
1118
    {
1119
        return $this->shares;
1120
    }
1121
    /**
1122
     * Set shares value
1123
     * @param string $shares
1124
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
1125
     */
1126
    public function setShares($shares = null)
1127
    {
1128
        // validation for constraint: string
1129
        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...
1130
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($shares)), __LINE__);
1131
        }
1132
        $this->shares = $shares;
1133
        return $this;
1134
    }
1135
    /**
1136
     * Get share_holders value
1137
     * @return string|null
1138
     */
1139
    public function getShare_holders()
1140
    {
1141
        return $this->share_holders;
1142
    }
1143
    /**
1144
     * Set share_holders value
1145
     * @param string $share_holders
1146
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
1147
     */
1148
    public function setShare_holders($share_holders = null)
1149
    {
1150
        // validation for constraint: string
1151
        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...
1152
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($share_holders)), __LINE__);
1153
        }
1154
        $this->share_holders = $share_holders;
1155
        return $this;
1156
    }
1157
    /**
1158
     * Get remarks value
1159
     * @return \Webservices\ArrayType\StringArray|null
1160
     */
1161
    public function getRemarks()
1162
    {
1163
        return $this->remarks;
1164
    }
1165
    /**
1166
     * Set remarks value
1167
     * @param \Webservices\ArrayType\StringArray $remarks
1168
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
1169
     */
1170
    public function setRemarks(\Webservices\ArrayType\StringArray $remarks = null)
1171
    {
1172
        $this->remarks = $remarks;
1173
        return $this;
1174
    }
1175
    /**
1176
     * Get establishment_address value
1177
     * @return \Webservices\StructType\DutchBusinessAddressV2|null
1178
     */
1179
    public function getEstablishment_address()
1180
    {
1181
        return $this->establishment_address;
1182
    }
1183
    /**
1184
     * Set establishment_address value
1185
     * @param \Webservices\StructType\DutchBusinessAddressV2 $establishment_address
1186
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
1187
     */
1188
    public function setEstablishment_address(\Webservices\StructType\DutchBusinessAddressV2 $establishment_address = null)
1189
    {
1190
        $this->establishment_address = $establishment_address;
1191
        return $this;
1192
    }
1193
    /**
1194
     * Get correspondence_address value
1195
     * @return \Webservices\StructType\DutchBusinessAddressV2|null
1196
     */
1197
    public function getCorrespondence_address()
1198
    {
1199
        return $this->correspondence_address;
1200
    }
1201
    /**
1202
     * Set correspondence_address value
1203
     * @param \Webservices\StructType\DutchBusinessAddressV2 $correspondence_address
1204
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
1205
     */
1206
    public function setCorrespondence_address(\Webservices\StructType\DutchBusinessAddressV2 $correspondence_address = null)
1207
    {
1208
        $this->correspondence_address = $correspondence_address;
1209
        return $this;
1210
    }
1211
    /**
1212
     * Get telephone_numbers value
1213
     * @return \Webservices\ArrayType\StringArray|null
1214
     */
1215
    public function getTelephone_numbers()
1216
    {
1217
        return $this->telephone_numbers;
1218
    }
1219
    /**
1220
     * Set telephone_numbers value
1221
     * @param \Webservices\ArrayType\StringArray $telephone_numbers
1222
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
1223
     */
1224
    public function setTelephone_numbers(\Webservices\ArrayType\StringArray $telephone_numbers = null)
1225
    {
1226
        $this->telephone_numbers = $telephone_numbers;
1227
        return $this;
1228
    }
1229
    /**
1230
     * Get fax_numbers value
1231
     * @return \Webservices\ArrayType\StringArray|null
1232
     */
1233
    public function getFax_numbers()
1234
    {
1235
        return $this->fax_numbers;
1236
    }
1237
    /**
1238
     * Set fax_numbers value
1239
     * @param \Webservices\ArrayType\StringArray $fax_numbers
1240
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
1241
     */
1242
    public function setFax_numbers(\Webservices\ArrayType\StringArray $fax_numbers = null)
1243
    {
1244
        $this->fax_numbers = $fax_numbers;
1245
        return $this;
1246
    }
1247
    /**
1248
     * Get email_addresses value
1249
     * @return \Webservices\ArrayType\StringArray|null
1250
     */
1251
    public function getEmail_addresses()
1252
    {
1253
        return $this->email_addresses;
1254
    }
1255
    /**
1256
     * Set email_addresses value
1257
     * @param \Webservices\ArrayType\StringArray $email_addresses
1258
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
1259
     */
1260
    public function setEmail_addresses(\Webservices\ArrayType\StringArray $email_addresses = null)
1261
    {
1262
        $this->email_addresses = $email_addresses;
1263
        return $this;
1264
    }
1265
    /**
1266
     * Get domain_names value
1267
     * @return \Webservices\ArrayType\StringArray|null
1268
     */
1269
    public function getDomain_names()
1270
    {
1271
        return $this->domain_names;
1272
    }
1273
    /**
1274
     * Set domain_names value
1275
     * @param \Webservices\ArrayType\StringArray $domain_names
1276
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
1277
     */
1278
    public function setDomain_names(\Webservices\ArrayType\StringArray $domain_names = null)
1279
    {
1280
        $this->domain_names = $domain_names;
1281
        return $this;
1282
    }
1283
    /**
1284
     * Get sbi_codes value
1285
     * @return \Webservices\ArrayType\DutchBusinessSbiCodeV2Array|null
1286
     */
1287
    public function getSbi_codes()
1288
    {
1289
        return $this->sbi_codes;
1290
    }
1291
    /**
1292
     * Set sbi_codes value
1293
     * @param \Webservices\ArrayType\DutchBusinessSbiCodeV2Array $sbi_codes
1294
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
1295
     */
1296
    public function setSbi_codes(\Webservices\ArrayType\DutchBusinessSbiCodeV2Array $sbi_codes = null)
1297
    {
1298
        $this->sbi_codes = $sbi_codes;
1299
        return $this;
1300
    }
1301
    /**
1302
     * Method called when an object has been exported with var_export() functions
1303
     * It allows to return an object instantiated with the values
1304
     * @see AbstractStructBase::__set_state()
1305
     * @uses AbstractStructBase::__set_state()
1306
     * @param array $array the exported values
1307
     * @return \Webservices\StructType\DutchBusinessLegalEntityV2
1308
     */
1309
    public static function __set_state(array $array)
1310
    {
1311
        return parent::__set_state($array);
1312
    }
1313
    /**
1314
     * Method returning the class name
1315
     * @return string __CLASS__
1316
     */
1317
    public function __toString()
1318
    {
1319
        return __CLASS__;
1320
    }
1321
}
1322