Total Complexity | 155 |
Total Lines | 1168 |
Duplicated Lines | 0 % |
Changes | 0 |
Complex classes like BusinessDossierV2 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 BusinessDossierV2, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
12 | class BusinessDossierV2 extends AbstractStructBase |
||
13 | { |
||
14 | /** |
||
15 | * The RegisterLetter |
||
16 | * @var string |
||
17 | */ |
||
18 | public $RegisterLetter; |
||
19 | /** |
||
20 | * The DossierNo |
||
21 | * @var string |
||
22 | */ |
||
23 | public $DossierNo; |
||
24 | /** |
||
25 | * The SubDossierNo |
||
26 | * @var string |
||
27 | */ |
||
28 | public $SubDossierNo; |
||
29 | /** |
||
30 | * The ChamberNo |
||
31 | * @var string |
||
32 | */ |
||
33 | public $ChamberNo; |
||
34 | /** |
||
35 | * The Legalformcode |
||
36 | * @var string |
||
37 | */ |
||
38 | public $Legalformcode; |
||
39 | /** |
||
40 | * The LegalformcodeText |
||
41 | * @var string |
||
42 | */ |
||
43 | public $LegalformcodeText; |
||
44 | /** |
||
45 | * The PreviousDossierNo |
||
46 | * @var string |
||
47 | */ |
||
48 | public $PreviousDossierNo; |
||
49 | /** |
||
50 | * The PreviousSubDossierNo |
||
51 | * @var string |
||
52 | */ |
||
53 | public $PreviousSubDossierNo; |
||
54 | /** |
||
55 | * The Tradename30 |
||
56 | * @var string |
||
57 | */ |
||
58 | public $Tradename30; |
||
59 | /** |
||
60 | * The Tradename1x30 |
||
61 | * @var string |
||
62 | */ |
||
63 | public $Tradename1x30; |
||
64 | /** |
||
65 | * The Tradename2x30 |
||
66 | * @var string |
||
67 | */ |
||
68 | public $Tradename2x30; |
||
69 | /** |
||
70 | * The Tradename45 |
||
71 | * @var string |
||
72 | */ |
||
73 | public $Tradename45; |
||
74 | /** |
||
75 | * The TradenameFull |
||
76 | * @var string |
||
77 | */ |
||
78 | public $TradenameFull; |
||
79 | /** |
||
80 | * The EstablishmentPostcode |
||
81 | * @var string |
||
82 | */ |
||
83 | public $EstablishmentPostcode; |
||
84 | /** |
||
85 | * The EstablishmentCity |
||
86 | * @var string |
||
87 | */ |
||
88 | public $EstablishmentCity; |
||
89 | /** |
||
90 | * The EstablishmentStreetname |
||
91 | * @var string |
||
92 | */ |
||
93 | public $EstablishmentStreetname; |
||
94 | /** |
||
95 | * The EstablishmentHouseNo |
||
96 | * @var int |
||
97 | */ |
||
98 | public $EstablishmentHouseNo; |
||
99 | /** |
||
100 | * The EstablishmentHouseNoAddition |
||
101 | * @var string |
||
102 | */ |
||
103 | public $EstablishmentHouseNoAddition; |
||
104 | /** |
||
105 | * The CorrespondencePostcode |
||
106 | * @var string |
||
107 | */ |
||
108 | public $CorrespondencePostcode; |
||
109 | /** |
||
110 | * The CorrespondenceCity |
||
111 | * @var string |
||
112 | */ |
||
113 | public $CorrespondenceCity; |
||
114 | /** |
||
115 | * The CorrespondenceStreetname |
||
116 | * @var string |
||
117 | */ |
||
118 | public $CorrespondenceStreetname; |
||
119 | /** |
||
120 | * The CorrespondenceHouseNo |
||
121 | * @var int |
||
122 | */ |
||
123 | public $CorrespondenceHouseNo; |
||
124 | /** |
||
125 | * The CorrespondenceHouseNoAddition |
||
126 | * @var string |
||
127 | */ |
||
128 | public $CorrespondenceHouseNoAddition; |
||
129 | /** |
||
130 | * The TelephoneNo |
||
131 | * @var string |
||
132 | */ |
||
133 | public $TelephoneNo; |
||
134 | /** |
||
135 | * The Domainname |
||
136 | * @var string |
||
137 | */ |
||
138 | public $Domainname; |
||
139 | /** |
||
140 | * The PrimaryActivitycode |
||
141 | * @var string |
||
142 | */ |
||
143 | public $PrimaryActivitycode; |
||
144 | /** |
||
145 | * The SecondaryActivitycode1 |
||
146 | * @var string |
||
147 | */ |
||
148 | public $SecondaryActivitycode1; |
||
149 | /** |
||
150 | * The SecondaryActivitycode2 |
||
151 | * @var string |
||
152 | */ |
||
153 | public $SecondaryActivitycode2; |
||
154 | /** |
||
155 | * The PrimaryActivitycodeText |
||
156 | * @var string |
||
157 | */ |
||
158 | public $PrimaryActivitycodeText; |
||
159 | /** |
||
160 | * The SecondaryActivitycode1Text |
||
161 | * @var string |
||
162 | */ |
||
163 | public $SecondaryActivitycode1Text; |
||
164 | /** |
||
165 | * The SecondaryActivitycode2Text |
||
166 | * @var string |
||
167 | */ |
||
168 | public $SecondaryActivitycode2Text; |
||
169 | /** |
||
170 | * The PersonnelFulltime |
||
171 | * @var int |
||
172 | */ |
||
173 | public $PersonnelFulltime; |
||
174 | /** |
||
175 | * The ClassPersonnelFulltime |
||
176 | * @var int |
||
177 | */ |
||
178 | public $ClassPersonnelFulltime; |
||
179 | /** |
||
180 | * The IndicationOrganisationcode |
||
181 | * @var string |
||
182 | */ |
||
183 | public $IndicationOrganisationcode; |
||
184 | /** |
||
185 | * The IndicationEconomicallyActive |
||
186 | * @var bool |
||
187 | */ |
||
188 | public $IndicationEconomicallyActive; |
||
189 | /** |
||
190 | * The IndicationNonMailing |
||
191 | * @var bool |
||
192 | */ |
||
193 | public $IndicationNonMailing; |
||
194 | /** |
||
195 | * The IndicationBankruptcy |
||
196 | * @var bool |
||
197 | */ |
||
198 | public $IndicationBankruptcy; |
||
199 | /** |
||
200 | * The IndicationDIP |
||
201 | * @var bool |
||
202 | */ |
||
203 | public $IndicationDIP; |
||
204 | /** |
||
205 | * Constructor method for BusinessDossierV2 |
||
206 | * @uses BusinessDossierV2::setRegisterLetter() |
||
207 | * @uses BusinessDossierV2::setDossierNo() |
||
208 | * @uses BusinessDossierV2::setSubDossierNo() |
||
209 | * @uses BusinessDossierV2::setChamberNo() |
||
210 | * @uses BusinessDossierV2::setLegalformcode() |
||
211 | * @uses BusinessDossierV2::setLegalformcodeText() |
||
212 | * @uses BusinessDossierV2::setPreviousDossierNo() |
||
213 | * @uses BusinessDossierV2::setPreviousSubDossierNo() |
||
214 | * @uses BusinessDossierV2::setTradename30() |
||
215 | * @uses BusinessDossierV2::setTradename1x30() |
||
216 | * @uses BusinessDossierV2::setTradename2x30() |
||
217 | * @uses BusinessDossierV2::setTradename45() |
||
218 | * @uses BusinessDossierV2::setTradenameFull() |
||
219 | * @uses BusinessDossierV2::setEstablishmentPostcode() |
||
220 | * @uses BusinessDossierV2::setEstablishmentCity() |
||
221 | * @uses BusinessDossierV2::setEstablishmentStreetname() |
||
222 | * @uses BusinessDossierV2::setEstablishmentHouseNo() |
||
223 | * @uses BusinessDossierV2::setEstablishmentHouseNoAddition() |
||
224 | * @uses BusinessDossierV2::setCorrespondencePostcode() |
||
225 | * @uses BusinessDossierV2::setCorrespondenceCity() |
||
226 | * @uses BusinessDossierV2::setCorrespondenceStreetname() |
||
227 | * @uses BusinessDossierV2::setCorrespondenceHouseNo() |
||
228 | * @uses BusinessDossierV2::setCorrespondenceHouseNoAddition() |
||
229 | * @uses BusinessDossierV2::setTelephoneNo() |
||
230 | * @uses BusinessDossierV2::setDomainname() |
||
231 | * @uses BusinessDossierV2::setPrimaryActivitycode() |
||
232 | * @uses BusinessDossierV2::setSecondaryActivitycode1() |
||
233 | * @uses BusinessDossierV2::setSecondaryActivitycode2() |
||
234 | * @uses BusinessDossierV2::setPrimaryActivitycodeText() |
||
235 | * @uses BusinessDossierV2::setSecondaryActivitycode1Text() |
||
236 | * @uses BusinessDossierV2::setSecondaryActivitycode2Text() |
||
237 | * @uses BusinessDossierV2::setPersonnelFulltime() |
||
238 | * @uses BusinessDossierV2::setClassPersonnelFulltime() |
||
239 | * @uses BusinessDossierV2::setIndicationOrganisationcode() |
||
240 | * @uses BusinessDossierV2::setIndicationEconomicallyActive() |
||
241 | * @uses BusinessDossierV2::setIndicationNonMailing() |
||
242 | * @uses BusinessDossierV2::setIndicationBankruptcy() |
||
243 | * @uses BusinessDossierV2::setIndicationDIP() |
||
244 | * @param string $registerLetter |
||
245 | * @param string $dossierNo |
||
246 | * @param string $subDossierNo |
||
247 | * @param string $chamberNo |
||
248 | * @param string $legalformcode |
||
249 | * @param string $legalformcodeText |
||
250 | * @param string $previousDossierNo |
||
251 | * @param string $previousSubDossierNo |
||
252 | * @param string $tradename30 |
||
253 | * @param string $tradename1x30 |
||
254 | * @param string $tradename2x30 |
||
255 | * @param string $tradename45 |
||
256 | * @param string $tradenameFull |
||
257 | * @param string $establishmentPostcode |
||
258 | * @param string $establishmentCity |
||
259 | * @param string $establishmentStreetname |
||
260 | * @param int $establishmentHouseNo |
||
261 | * @param string $establishmentHouseNoAddition |
||
262 | * @param string $correspondencePostcode |
||
263 | * @param string $correspondenceCity |
||
264 | * @param string $correspondenceStreetname |
||
265 | * @param int $correspondenceHouseNo |
||
266 | * @param string $correspondenceHouseNoAddition |
||
267 | * @param string $telephoneNo |
||
268 | * @param string $domainname |
||
269 | * @param string $primaryActivitycode |
||
270 | * @param string $secondaryActivitycode1 |
||
271 | * @param string $secondaryActivitycode2 |
||
272 | * @param string $primaryActivitycodeText |
||
273 | * @param string $secondaryActivitycode1Text |
||
274 | * @param string $secondaryActivitycode2Text |
||
275 | * @param int $personnelFulltime |
||
276 | * @param int $classPersonnelFulltime |
||
277 | * @param string $indicationOrganisationcode |
||
278 | * @param bool $indicationEconomicallyActive |
||
279 | * @param bool $indicationNonMailing |
||
280 | * @param bool $indicationBankruptcy |
||
281 | * @param bool $indicationDIP |
||
282 | */ |
||
283 | public function __construct($registerLetter = null, $dossierNo = null, $subDossierNo = null, $chamberNo = null, $legalformcode = null, $legalformcodeText = null, $previousDossierNo = null, $previousSubDossierNo = null, $tradename30 = null, $tradename1x30 = null, $tradename2x30 = null, $tradename45 = null, $tradenameFull = null, $establishmentPostcode = null, $establishmentCity = null, $establishmentStreetname = null, $establishmentHouseNo = null, $establishmentHouseNoAddition = null, $correspondencePostcode = null, $correspondenceCity = null, $correspondenceStreetname = null, $correspondenceHouseNo = null, $correspondenceHouseNoAddition = null, $telephoneNo = null, $domainname = null, $primaryActivitycode = null, $secondaryActivitycode1 = null, $secondaryActivitycode2 = null, $primaryActivitycodeText = null, $secondaryActivitycode1Text = null, $secondaryActivitycode2Text = null, $personnelFulltime = null, $classPersonnelFulltime = null, $indicationOrganisationcode = null, $indicationEconomicallyActive = null, $indicationNonMailing = null, $indicationBankruptcy = null, $indicationDIP = null) |
||
284 | { |
||
285 | $this |
||
286 | ->setRegisterLetter($registerLetter) |
||
287 | ->setDossierNo($dossierNo) |
||
288 | ->setSubDossierNo($subDossierNo) |
||
289 | ->setChamberNo($chamberNo) |
||
290 | ->setLegalformcode($legalformcode) |
||
291 | ->setLegalformcodeText($legalformcodeText) |
||
292 | ->setPreviousDossierNo($previousDossierNo) |
||
293 | ->setPreviousSubDossierNo($previousSubDossierNo) |
||
294 | ->setTradename30($tradename30) |
||
295 | ->setTradename1x30($tradename1x30) |
||
296 | ->setTradename2x30($tradename2x30) |
||
297 | ->setTradename45($tradename45) |
||
298 | ->setTradenameFull($tradenameFull) |
||
299 | ->setEstablishmentPostcode($establishmentPostcode) |
||
300 | ->setEstablishmentCity($establishmentCity) |
||
301 | ->setEstablishmentStreetname($establishmentStreetname) |
||
302 | ->setEstablishmentHouseNo($establishmentHouseNo) |
||
303 | ->setEstablishmentHouseNoAddition($establishmentHouseNoAddition) |
||
304 | ->setCorrespondencePostcode($correspondencePostcode) |
||
305 | ->setCorrespondenceCity($correspondenceCity) |
||
306 | ->setCorrespondenceStreetname($correspondenceStreetname) |
||
307 | ->setCorrespondenceHouseNo($correspondenceHouseNo) |
||
308 | ->setCorrespondenceHouseNoAddition($correspondenceHouseNoAddition) |
||
309 | ->setTelephoneNo($telephoneNo) |
||
310 | ->setDomainname($domainname) |
||
311 | ->setPrimaryActivitycode($primaryActivitycode) |
||
312 | ->setSecondaryActivitycode1($secondaryActivitycode1) |
||
313 | ->setSecondaryActivitycode2($secondaryActivitycode2) |
||
314 | ->setPrimaryActivitycodeText($primaryActivitycodeText) |
||
315 | ->setSecondaryActivitycode1Text($secondaryActivitycode1Text) |
||
316 | ->setSecondaryActivitycode2Text($secondaryActivitycode2Text) |
||
317 | ->setPersonnelFulltime($personnelFulltime) |
||
318 | ->setClassPersonnelFulltime($classPersonnelFulltime) |
||
319 | ->setIndicationOrganisationcode($indicationOrganisationcode) |
||
320 | ->setIndicationEconomicallyActive($indicationEconomicallyActive) |
||
321 | ->setIndicationNonMailing($indicationNonMailing) |
||
322 | ->setIndicationBankruptcy($indicationBankruptcy) |
||
323 | ->setIndicationDIP($indicationDIP); |
||
324 | } |
||
325 | /** |
||
326 | * Get RegisterLetter value |
||
327 | * @return string|null |
||
328 | */ |
||
329 | public function getRegisterLetter() |
||
330 | { |
||
331 | return $this->RegisterLetter; |
||
332 | } |
||
333 | /** |
||
334 | * Set RegisterLetter value |
||
335 | * @param string $registerLetter |
||
336 | * @return \Webservices\StructType\BusinessDossierV2 |
||
337 | */ |
||
338 | public function setRegisterLetter($registerLetter = null) |
||
339 | { |
||
340 | // validation for constraint: string |
||
341 | if (!is_null($registerLetter) && !is_string($registerLetter)) { |
||
|
|||
342 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($registerLetter)), __LINE__); |
||
343 | } |
||
344 | $this->RegisterLetter = $registerLetter; |
||
345 | return $this; |
||
346 | } |
||
347 | /** |
||
348 | * Get DossierNo value |
||
349 | * @return string|null |
||
350 | */ |
||
351 | public function getDossierNo() |
||
352 | { |
||
353 | return $this->DossierNo; |
||
354 | } |
||
355 | /** |
||
356 | * Set DossierNo value |
||
357 | * @param string $dossierNo |
||
358 | * @return \Webservices\StructType\BusinessDossierV2 |
||
359 | */ |
||
360 | public function setDossierNo($dossierNo = null) |
||
361 | { |
||
362 | // validation for constraint: string |
||
363 | if (!is_null($dossierNo) && !is_string($dossierNo)) { |
||
364 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($dossierNo)), __LINE__); |
||
365 | } |
||
366 | $this->DossierNo = $dossierNo; |
||
367 | return $this; |
||
368 | } |
||
369 | /** |
||
370 | * Get SubDossierNo value |
||
371 | * @return string|null |
||
372 | */ |
||
373 | public function getSubDossierNo() |
||
374 | { |
||
375 | return $this->SubDossierNo; |
||
376 | } |
||
377 | /** |
||
378 | * Set SubDossierNo value |
||
379 | * @param string $subDossierNo |
||
380 | * @return \Webservices\StructType\BusinessDossierV2 |
||
381 | */ |
||
382 | public function setSubDossierNo($subDossierNo = null) |
||
383 | { |
||
384 | // validation for constraint: string |
||
385 | if (!is_null($subDossierNo) && !is_string($subDossierNo)) { |
||
386 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($subDossierNo)), __LINE__); |
||
387 | } |
||
388 | $this->SubDossierNo = $subDossierNo; |
||
389 | return $this; |
||
390 | } |
||
391 | /** |
||
392 | * Get ChamberNo value |
||
393 | * @return string|null |
||
394 | */ |
||
395 | public function getChamberNo() |
||
396 | { |
||
397 | return $this->ChamberNo; |
||
398 | } |
||
399 | /** |
||
400 | * Set ChamberNo value |
||
401 | * @param string $chamberNo |
||
402 | * @return \Webservices\StructType\BusinessDossierV2 |
||
403 | */ |
||
404 | public function setChamberNo($chamberNo = null) |
||
405 | { |
||
406 | // validation for constraint: string |
||
407 | if (!is_null($chamberNo) && !is_string($chamberNo)) { |
||
408 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($chamberNo)), __LINE__); |
||
409 | } |
||
410 | $this->ChamberNo = $chamberNo; |
||
411 | return $this; |
||
412 | } |
||
413 | /** |
||
414 | * Get Legalformcode value |
||
415 | * @return string|null |
||
416 | */ |
||
417 | public function getLegalformcode() |
||
418 | { |
||
419 | return $this->Legalformcode; |
||
420 | } |
||
421 | /** |
||
422 | * Set Legalformcode value |
||
423 | * @param string $legalformcode |
||
424 | * @return \Webservices\StructType\BusinessDossierV2 |
||
425 | */ |
||
426 | public function setLegalformcode($legalformcode = null) |
||
427 | { |
||
428 | // validation for constraint: string |
||
429 | if (!is_null($legalformcode) && !is_string($legalformcode)) { |
||
430 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($legalformcode)), __LINE__); |
||
431 | } |
||
432 | $this->Legalformcode = $legalformcode; |
||
433 | return $this; |
||
434 | } |
||
435 | /** |
||
436 | * Get LegalformcodeText value |
||
437 | * @return string|null |
||
438 | */ |
||
439 | public function getLegalformcodeText() |
||
440 | { |
||
441 | return $this->LegalformcodeText; |
||
442 | } |
||
443 | /** |
||
444 | * Set LegalformcodeText value |
||
445 | * @param string $legalformcodeText |
||
446 | * @return \Webservices\StructType\BusinessDossierV2 |
||
447 | */ |
||
448 | public function setLegalformcodeText($legalformcodeText = null) |
||
449 | { |
||
450 | // validation for constraint: string |
||
451 | if (!is_null($legalformcodeText) && !is_string($legalformcodeText)) { |
||
452 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($legalformcodeText)), __LINE__); |
||
453 | } |
||
454 | $this->LegalformcodeText = $legalformcodeText; |
||
455 | return $this; |
||
456 | } |
||
457 | /** |
||
458 | * Get PreviousDossierNo value |
||
459 | * @return string|null |
||
460 | */ |
||
461 | public function getPreviousDossierNo() |
||
462 | { |
||
463 | return $this->PreviousDossierNo; |
||
464 | } |
||
465 | /** |
||
466 | * Set PreviousDossierNo value |
||
467 | * @param string $previousDossierNo |
||
468 | * @return \Webservices\StructType\BusinessDossierV2 |
||
469 | */ |
||
470 | public function setPreviousDossierNo($previousDossierNo = null) |
||
471 | { |
||
472 | // validation for constraint: string |
||
473 | if (!is_null($previousDossierNo) && !is_string($previousDossierNo)) { |
||
474 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($previousDossierNo)), __LINE__); |
||
475 | } |
||
476 | $this->PreviousDossierNo = $previousDossierNo; |
||
477 | return $this; |
||
478 | } |
||
479 | /** |
||
480 | * Get PreviousSubDossierNo value |
||
481 | * @return string|null |
||
482 | */ |
||
483 | public function getPreviousSubDossierNo() |
||
484 | { |
||
485 | return $this->PreviousSubDossierNo; |
||
486 | } |
||
487 | /** |
||
488 | * Set PreviousSubDossierNo value |
||
489 | * @param string $previousSubDossierNo |
||
490 | * @return \Webservices\StructType\BusinessDossierV2 |
||
491 | */ |
||
492 | public function setPreviousSubDossierNo($previousSubDossierNo = null) |
||
493 | { |
||
494 | // validation for constraint: string |
||
495 | if (!is_null($previousSubDossierNo) && !is_string($previousSubDossierNo)) { |
||
496 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($previousSubDossierNo)), __LINE__); |
||
497 | } |
||
498 | $this->PreviousSubDossierNo = $previousSubDossierNo; |
||
499 | return $this; |
||
500 | } |
||
501 | /** |
||
502 | * Get Tradename30 value |
||
503 | * @return string|null |
||
504 | */ |
||
505 | public function getTradename30() |
||
506 | { |
||
507 | return $this->Tradename30; |
||
508 | } |
||
509 | /** |
||
510 | * Set Tradename30 value |
||
511 | * @param string $tradename30 |
||
512 | * @return \Webservices\StructType\BusinessDossierV2 |
||
513 | */ |
||
514 | public function setTradename30($tradename30 = null) |
||
515 | { |
||
516 | // validation for constraint: string |
||
517 | if (!is_null($tradename30) && !is_string($tradename30)) { |
||
518 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($tradename30)), __LINE__); |
||
519 | } |
||
520 | $this->Tradename30 = $tradename30; |
||
521 | return $this; |
||
522 | } |
||
523 | /** |
||
524 | * Get Tradename1x30 value |
||
525 | * @return string|null |
||
526 | */ |
||
527 | public function getTradename1x30() |
||
528 | { |
||
529 | return $this->Tradename1x30; |
||
530 | } |
||
531 | /** |
||
532 | * Set Tradename1x30 value |
||
533 | * @param string $tradename1x30 |
||
534 | * @return \Webservices\StructType\BusinessDossierV2 |
||
535 | */ |
||
536 | public function setTradename1x30($tradename1x30 = null) |
||
537 | { |
||
538 | // validation for constraint: string |
||
539 | if (!is_null($tradename1x30) && !is_string($tradename1x30)) { |
||
540 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($tradename1x30)), __LINE__); |
||
541 | } |
||
542 | $this->Tradename1x30 = $tradename1x30; |
||
543 | return $this; |
||
544 | } |
||
545 | /** |
||
546 | * Get Tradename2x30 value |
||
547 | * @return string|null |
||
548 | */ |
||
549 | public function getTradename2x30() |
||
550 | { |
||
551 | return $this->Tradename2x30; |
||
552 | } |
||
553 | /** |
||
554 | * Set Tradename2x30 value |
||
555 | * @param string $tradename2x30 |
||
556 | * @return \Webservices\StructType\BusinessDossierV2 |
||
557 | */ |
||
558 | public function setTradename2x30($tradename2x30 = null) |
||
559 | { |
||
560 | // validation for constraint: string |
||
561 | if (!is_null($tradename2x30) && !is_string($tradename2x30)) { |
||
562 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($tradename2x30)), __LINE__); |
||
563 | } |
||
564 | $this->Tradename2x30 = $tradename2x30; |
||
565 | return $this; |
||
566 | } |
||
567 | /** |
||
568 | * Get Tradename45 value |
||
569 | * @return string|null |
||
570 | */ |
||
571 | public function getTradename45() |
||
572 | { |
||
573 | return $this->Tradename45; |
||
574 | } |
||
575 | /** |
||
576 | * Set Tradename45 value |
||
577 | * @param string $tradename45 |
||
578 | * @return \Webservices\StructType\BusinessDossierV2 |
||
579 | */ |
||
580 | public function setTradename45($tradename45 = null) |
||
581 | { |
||
582 | // validation for constraint: string |
||
583 | if (!is_null($tradename45) && !is_string($tradename45)) { |
||
584 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($tradename45)), __LINE__); |
||
585 | } |
||
586 | $this->Tradename45 = $tradename45; |
||
587 | return $this; |
||
588 | } |
||
589 | /** |
||
590 | * Get TradenameFull value |
||
591 | * @return string|null |
||
592 | */ |
||
593 | public function getTradenameFull() |
||
594 | { |
||
595 | return $this->TradenameFull; |
||
596 | } |
||
597 | /** |
||
598 | * Set TradenameFull value |
||
599 | * @param string $tradenameFull |
||
600 | * @return \Webservices\StructType\BusinessDossierV2 |
||
601 | */ |
||
602 | public function setTradenameFull($tradenameFull = null) |
||
603 | { |
||
604 | // validation for constraint: string |
||
605 | if (!is_null($tradenameFull) && !is_string($tradenameFull)) { |
||
606 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($tradenameFull)), __LINE__); |
||
607 | } |
||
608 | $this->TradenameFull = $tradenameFull; |
||
609 | return $this; |
||
610 | } |
||
611 | /** |
||
612 | * Get EstablishmentPostcode value |
||
613 | * @return string|null |
||
614 | */ |
||
615 | public function getEstablishmentPostcode() |
||
616 | { |
||
617 | return $this->EstablishmentPostcode; |
||
618 | } |
||
619 | /** |
||
620 | * Set EstablishmentPostcode value |
||
621 | * @param string $establishmentPostcode |
||
622 | * @return \Webservices\StructType\BusinessDossierV2 |
||
623 | */ |
||
624 | public function setEstablishmentPostcode($establishmentPostcode = null) |
||
625 | { |
||
626 | // validation for constraint: string |
||
627 | if (!is_null($establishmentPostcode) && !is_string($establishmentPostcode)) { |
||
628 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($establishmentPostcode)), __LINE__); |
||
629 | } |
||
630 | $this->EstablishmentPostcode = $establishmentPostcode; |
||
631 | return $this; |
||
632 | } |
||
633 | /** |
||
634 | * Get EstablishmentCity value |
||
635 | * @return string|null |
||
636 | */ |
||
637 | public function getEstablishmentCity() |
||
638 | { |
||
639 | return $this->EstablishmentCity; |
||
640 | } |
||
641 | /** |
||
642 | * Set EstablishmentCity value |
||
643 | * @param string $establishmentCity |
||
644 | * @return \Webservices\StructType\BusinessDossierV2 |
||
645 | */ |
||
646 | public function setEstablishmentCity($establishmentCity = null) |
||
647 | { |
||
648 | // validation for constraint: string |
||
649 | if (!is_null($establishmentCity) && !is_string($establishmentCity)) { |
||
650 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($establishmentCity)), __LINE__); |
||
651 | } |
||
652 | $this->EstablishmentCity = $establishmentCity; |
||
653 | return $this; |
||
654 | } |
||
655 | /** |
||
656 | * Get EstablishmentStreetname value |
||
657 | * @return string|null |
||
658 | */ |
||
659 | public function getEstablishmentStreetname() |
||
660 | { |
||
661 | return $this->EstablishmentStreetname; |
||
662 | } |
||
663 | /** |
||
664 | * Set EstablishmentStreetname value |
||
665 | * @param string $establishmentStreetname |
||
666 | * @return \Webservices\StructType\BusinessDossierV2 |
||
667 | */ |
||
668 | public function setEstablishmentStreetname($establishmentStreetname = null) |
||
669 | { |
||
670 | // validation for constraint: string |
||
671 | if (!is_null($establishmentStreetname) && !is_string($establishmentStreetname)) { |
||
672 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($establishmentStreetname)), __LINE__); |
||
673 | } |
||
674 | $this->EstablishmentStreetname = $establishmentStreetname; |
||
675 | return $this; |
||
676 | } |
||
677 | /** |
||
678 | * Get EstablishmentHouseNo value |
||
679 | * @return int|null |
||
680 | */ |
||
681 | public function getEstablishmentHouseNo() |
||
682 | { |
||
683 | return $this->EstablishmentHouseNo; |
||
684 | } |
||
685 | /** |
||
686 | * Set EstablishmentHouseNo value |
||
687 | * @param int $establishmentHouseNo |
||
688 | * @return \Webservices\StructType\BusinessDossierV2 |
||
689 | */ |
||
690 | public function setEstablishmentHouseNo($establishmentHouseNo = null) |
||
691 | { |
||
692 | // validation for constraint: int |
||
693 | if (!is_null($establishmentHouseNo) && !is_numeric($establishmentHouseNo)) { |
||
694 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($establishmentHouseNo)), __LINE__); |
||
695 | } |
||
696 | $this->EstablishmentHouseNo = $establishmentHouseNo; |
||
697 | return $this; |
||
698 | } |
||
699 | /** |
||
700 | * Get EstablishmentHouseNoAddition value |
||
701 | * @return string|null |
||
702 | */ |
||
703 | public function getEstablishmentHouseNoAddition() |
||
704 | { |
||
705 | return $this->EstablishmentHouseNoAddition; |
||
706 | } |
||
707 | /** |
||
708 | * Set EstablishmentHouseNoAddition value |
||
709 | * @param string $establishmentHouseNoAddition |
||
710 | * @return \Webservices\StructType\BusinessDossierV2 |
||
711 | */ |
||
712 | public function setEstablishmentHouseNoAddition($establishmentHouseNoAddition = null) |
||
713 | { |
||
714 | // validation for constraint: string |
||
715 | if (!is_null($establishmentHouseNoAddition) && !is_string($establishmentHouseNoAddition)) { |
||
716 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($establishmentHouseNoAddition)), __LINE__); |
||
717 | } |
||
718 | $this->EstablishmentHouseNoAddition = $establishmentHouseNoAddition; |
||
719 | return $this; |
||
720 | } |
||
721 | /** |
||
722 | * Get CorrespondencePostcode value |
||
723 | * @return string|null |
||
724 | */ |
||
725 | public function getCorrespondencePostcode() |
||
726 | { |
||
727 | return $this->CorrespondencePostcode; |
||
728 | } |
||
729 | /** |
||
730 | * Set CorrespondencePostcode value |
||
731 | * @param string $correspondencePostcode |
||
732 | * @return \Webservices\StructType\BusinessDossierV2 |
||
733 | */ |
||
734 | public function setCorrespondencePostcode($correspondencePostcode = null) |
||
735 | { |
||
736 | // validation for constraint: string |
||
737 | if (!is_null($correspondencePostcode) && !is_string($correspondencePostcode)) { |
||
738 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($correspondencePostcode)), __LINE__); |
||
739 | } |
||
740 | $this->CorrespondencePostcode = $correspondencePostcode; |
||
741 | return $this; |
||
742 | } |
||
743 | /** |
||
744 | * Get CorrespondenceCity value |
||
745 | * @return string|null |
||
746 | */ |
||
747 | public function getCorrespondenceCity() |
||
748 | { |
||
749 | return $this->CorrespondenceCity; |
||
750 | } |
||
751 | /** |
||
752 | * Set CorrespondenceCity value |
||
753 | * @param string $correspondenceCity |
||
754 | * @return \Webservices\StructType\BusinessDossierV2 |
||
755 | */ |
||
756 | public function setCorrespondenceCity($correspondenceCity = null) |
||
757 | { |
||
758 | // validation for constraint: string |
||
759 | if (!is_null($correspondenceCity) && !is_string($correspondenceCity)) { |
||
760 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($correspondenceCity)), __LINE__); |
||
761 | } |
||
762 | $this->CorrespondenceCity = $correspondenceCity; |
||
763 | return $this; |
||
764 | } |
||
765 | /** |
||
766 | * Get CorrespondenceStreetname value |
||
767 | * @return string|null |
||
768 | */ |
||
769 | public function getCorrespondenceStreetname() |
||
770 | { |
||
771 | return $this->CorrespondenceStreetname; |
||
772 | } |
||
773 | /** |
||
774 | * Set CorrespondenceStreetname value |
||
775 | * @param string $correspondenceStreetname |
||
776 | * @return \Webservices\StructType\BusinessDossierV2 |
||
777 | */ |
||
778 | public function setCorrespondenceStreetname($correspondenceStreetname = null) |
||
786 | } |
||
787 | /** |
||
788 | * Get CorrespondenceHouseNo value |
||
789 | * @return int|null |
||
790 | */ |
||
791 | public function getCorrespondenceHouseNo() |
||
792 | { |
||
793 | return $this->CorrespondenceHouseNo; |
||
794 | } |
||
795 | /** |
||
796 | * Set CorrespondenceHouseNo value |
||
797 | * @param int $correspondenceHouseNo |
||
798 | * @return \Webservices\StructType\BusinessDossierV2 |
||
799 | */ |
||
800 | public function setCorrespondenceHouseNo($correspondenceHouseNo = null) |
||
801 | { |
||
802 | // validation for constraint: int |
||
803 | if (!is_null($correspondenceHouseNo) && !is_numeric($correspondenceHouseNo)) { |
||
804 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($correspondenceHouseNo)), __LINE__); |
||
805 | } |
||
806 | $this->CorrespondenceHouseNo = $correspondenceHouseNo; |
||
807 | return $this; |
||
808 | } |
||
809 | /** |
||
810 | * Get CorrespondenceHouseNoAddition value |
||
811 | * @return string|null |
||
812 | */ |
||
813 | public function getCorrespondenceHouseNoAddition() |
||
814 | { |
||
815 | return $this->CorrespondenceHouseNoAddition; |
||
816 | } |
||
817 | /** |
||
818 | * Set CorrespondenceHouseNoAddition value |
||
819 | * @param string $correspondenceHouseNoAddition |
||
820 | * @return \Webservices\StructType\BusinessDossierV2 |
||
821 | */ |
||
822 | public function setCorrespondenceHouseNoAddition($correspondenceHouseNoAddition = null) |
||
823 | { |
||
824 | // validation for constraint: string |
||
825 | if (!is_null($correspondenceHouseNoAddition) && !is_string($correspondenceHouseNoAddition)) { |
||
826 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($correspondenceHouseNoAddition)), __LINE__); |
||
827 | } |
||
828 | $this->CorrespondenceHouseNoAddition = $correspondenceHouseNoAddition; |
||
829 | return $this; |
||
830 | } |
||
831 | /** |
||
832 | * Get TelephoneNo value |
||
833 | * @return string|null |
||
834 | */ |
||
835 | public function getTelephoneNo() |
||
836 | { |
||
837 | return $this->TelephoneNo; |
||
838 | } |
||
839 | /** |
||
840 | * Set TelephoneNo value |
||
841 | * @param string $telephoneNo |
||
842 | * @return \Webservices\StructType\BusinessDossierV2 |
||
843 | */ |
||
844 | public function setTelephoneNo($telephoneNo = null) |
||
845 | { |
||
846 | // validation for constraint: string |
||
847 | if (!is_null($telephoneNo) && !is_string($telephoneNo)) { |
||
848 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($telephoneNo)), __LINE__); |
||
849 | } |
||
850 | $this->TelephoneNo = $telephoneNo; |
||
851 | return $this; |
||
852 | } |
||
853 | /** |
||
854 | * Get Domainname value |
||
855 | * @return string|null |
||
856 | */ |
||
857 | public function getDomainname() |
||
858 | { |
||
859 | return $this->Domainname; |
||
860 | } |
||
861 | /** |
||
862 | * Set Domainname value |
||
863 | * @param string $domainname |
||
864 | * @return \Webservices\StructType\BusinessDossierV2 |
||
865 | */ |
||
866 | public function setDomainname($domainname = null) |
||
867 | { |
||
868 | // validation for constraint: string |
||
869 | if (!is_null($domainname) && !is_string($domainname)) { |
||
870 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($domainname)), __LINE__); |
||
871 | } |
||
872 | $this->Domainname = $domainname; |
||
873 | return $this; |
||
874 | } |
||
875 | /** |
||
876 | * Get PrimaryActivitycode value |
||
877 | * @return string|null |
||
878 | */ |
||
879 | public function getPrimaryActivitycode() |
||
880 | { |
||
881 | return $this->PrimaryActivitycode; |
||
882 | } |
||
883 | /** |
||
884 | * Set PrimaryActivitycode value |
||
885 | * @param string $primaryActivitycode |
||
886 | * @return \Webservices\StructType\BusinessDossierV2 |
||
887 | */ |
||
888 | public function setPrimaryActivitycode($primaryActivitycode = null) |
||
889 | { |
||
890 | // validation for constraint: string |
||
891 | if (!is_null($primaryActivitycode) && !is_string($primaryActivitycode)) { |
||
892 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($primaryActivitycode)), __LINE__); |
||
893 | } |
||
894 | $this->PrimaryActivitycode = $primaryActivitycode; |
||
895 | return $this; |
||
896 | } |
||
897 | /** |
||
898 | * Get SecondaryActivitycode1 value |
||
899 | * @return string|null |
||
900 | */ |
||
901 | public function getSecondaryActivitycode1() |
||
902 | { |
||
903 | return $this->SecondaryActivitycode1; |
||
904 | } |
||
905 | /** |
||
906 | * Set SecondaryActivitycode1 value |
||
907 | * @param string $secondaryActivitycode1 |
||
908 | * @return \Webservices\StructType\BusinessDossierV2 |
||
909 | */ |
||
910 | public function setSecondaryActivitycode1($secondaryActivitycode1 = null) |
||
911 | { |
||
912 | // validation for constraint: string |
||
913 | if (!is_null($secondaryActivitycode1) && !is_string($secondaryActivitycode1)) { |
||
914 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($secondaryActivitycode1)), __LINE__); |
||
915 | } |
||
916 | $this->SecondaryActivitycode1 = $secondaryActivitycode1; |
||
917 | return $this; |
||
918 | } |
||
919 | /** |
||
920 | * Get SecondaryActivitycode2 value |
||
921 | * @return string|null |
||
922 | */ |
||
923 | public function getSecondaryActivitycode2() |
||
924 | { |
||
925 | return $this->SecondaryActivitycode2; |
||
926 | } |
||
927 | /** |
||
928 | * Set SecondaryActivitycode2 value |
||
929 | * @param string $secondaryActivitycode2 |
||
930 | * @return \Webservices\StructType\BusinessDossierV2 |
||
931 | */ |
||
932 | public function setSecondaryActivitycode2($secondaryActivitycode2 = null) |
||
933 | { |
||
934 | // validation for constraint: string |
||
935 | if (!is_null($secondaryActivitycode2) && !is_string($secondaryActivitycode2)) { |
||
936 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($secondaryActivitycode2)), __LINE__); |
||
937 | } |
||
938 | $this->SecondaryActivitycode2 = $secondaryActivitycode2; |
||
939 | return $this; |
||
940 | } |
||
941 | /** |
||
942 | * Get PrimaryActivitycodeText value |
||
943 | * @return string|null |
||
944 | */ |
||
945 | public function getPrimaryActivitycodeText() |
||
946 | { |
||
947 | return $this->PrimaryActivitycodeText; |
||
948 | } |
||
949 | /** |
||
950 | * Set PrimaryActivitycodeText value |
||
951 | * @param string $primaryActivitycodeText |
||
952 | * @return \Webservices\StructType\BusinessDossierV2 |
||
953 | */ |
||
954 | public function setPrimaryActivitycodeText($primaryActivitycodeText = null) |
||
955 | { |
||
956 | // validation for constraint: string |
||
957 | if (!is_null($primaryActivitycodeText) && !is_string($primaryActivitycodeText)) { |
||
958 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($primaryActivitycodeText)), __LINE__); |
||
959 | } |
||
960 | $this->PrimaryActivitycodeText = $primaryActivitycodeText; |
||
961 | return $this; |
||
962 | } |
||
963 | /** |
||
964 | * Get SecondaryActivitycode1Text value |
||
965 | * @return string|null |
||
966 | */ |
||
967 | public function getSecondaryActivitycode1Text() |
||
968 | { |
||
969 | return $this->SecondaryActivitycode1Text; |
||
970 | } |
||
971 | /** |
||
972 | * Set SecondaryActivitycode1Text value |
||
973 | * @param string $secondaryActivitycode1Text |
||
974 | * @return \Webservices\StructType\BusinessDossierV2 |
||
975 | */ |
||
976 | public function setSecondaryActivitycode1Text($secondaryActivitycode1Text = null) |
||
977 | { |
||
978 | // validation for constraint: string |
||
979 | if (!is_null($secondaryActivitycode1Text) && !is_string($secondaryActivitycode1Text)) { |
||
980 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($secondaryActivitycode1Text)), __LINE__); |
||
981 | } |
||
982 | $this->SecondaryActivitycode1Text = $secondaryActivitycode1Text; |
||
983 | return $this; |
||
984 | } |
||
985 | /** |
||
986 | * Get SecondaryActivitycode2Text value |
||
987 | * @return string|null |
||
988 | */ |
||
989 | public function getSecondaryActivitycode2Text() |
||
990 | { |
||
991 | return $this->SecondaryActivitycode2Text; |
||
992 | } |
||
993 | /** |
||
994 | * Set SecondaryActivitycode2Text value |
||
995 | * @param string $secondaryActivitycode2Text |
||
996 | * @return \Webservices\StructType\BusinessDossierV2 |
||
997 | */ |
||
998 | public function setSecondaryActivitycode2Text($secondaryActivitycode2Text = null) |
||
999 | { |
||
1000 | // validation for constraint: string |
||
1001 | if (!is_null($secondaryActivitycode2Text) && !is_string($secondaryActivitycode2Text)) { |
||
1002 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($secondaryActivitycode2Text)), __LINE__); |
||
1003 | } |
||
1004 | $this->SecondaryActivitycode2Text = $secondaryActivitycode2Text; |
||
1005 | return $this; |
||
1006 | } |
||
1007 | /** |
||
1008 | * Get PersonnelFulltime value |
||
1009 | * @return int|null |
||
1010 | */ |
||
1011 | public function getPersonnelFulltime() |
||
1012 | { |
||
1013 | return $this->PersonnelFulltime; |
||
1014 | } |
||
1015 | /** |
||
1016 | * Set PersonnelFulltime value |
||
1017 | * @param int $personnelFulltime |
||
1018 | * @return \Webservices\StructType\BusinessDossierV2 |
||
1019 | */ |
||
1020 | public function setPersonnelFulltime($personnelFulltime = null) |
||
1021 | { |
||
1022 | // validation for constraint: int |
||
1023 | if (!is_null($personnelFulltime) && !is_numeric($personnelFulltime)) { |
||
1024 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($personnelFulltime)), __LINE__); |
||
1025 | } |
||
1026 | $this->PersonnelFulltime = $personnelFulltime; |
||
1027 | return $this; |
||
1028 | } |
||
1029 | /** |
||
1030 | * Get ClassPersonnelFulltime value |
||
1031 | * @return int|null |
||
1032 | */ |
||
1033 | public function getClassPersonnelFulltime() |
||
1034 | { |
||
1035 | return $this->ClassPersonnelFulltime; |
||
1036 | } |
||
1037 | /** |
||
1038 | * Set ClassPersonnelFulltime value |
||
1039 | * @param int $classPersonnelFulltime |
||
1040 | * @return \Webservices\StructType\BusinessDossierV2 |
||
1041 | */ |
||
1042 | public function setClassPersonnelFulltime($classPersonnelFulltime = null) |
||
1043 | { |
||
1044 | // validation for constraint: int |
||
1045 | if (!is_null($classPersonnelFulltime) && !is_numeric($classPersonnelFulltime)) { |
||
1046 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($classPersonnelFulltime)), __LINE__); |
||
1047 | } |
||
1048 | $this->ClassPersonnelFulltime = $classPersonnelFulltime; |
||
1049 | return $this; |
||
1050 | } |
||
1051 | /** |
||
1052 | * Get IndicationOrganisationcode value |
||
1053 | * @return string|null |
||
1054 | */ |
||
1055 | public function getIndicationOrganisationcode() |
||
1056 | { |
||
1057 | return $this->IndicationOrganisationcode; |
||
1058 | } |
||
1059 | /** |
||
1060 | * Set IndicationOrganisationcode value |
||
1061 | * @param string $indicationOrganisationcode |
||
1062 | * @return \Webservices\StructType\BusinessDossierV2 |
||
1063 | */ |
||
1064 | public function setIndicationOrganisationcode($indicationOrganisationcode = null) |
||
1065 | { |
||
1066 | // validation for constraint: string |
||
1067 | if (!is_null($indicationOrganisationcode) && !is_string($indicationOrganisationcode)) { |
||
1068 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($indicationOrganisationcode)), __LINE__); |
||
1069 | } |
||
1070 | $this->IndicationOrganisationcode = $indicationOrganisationcode; |
||
1071 | return $this; |
||
1072 | } |
||
1073 | /** |
||
1074 | * Get IndicationEconomicallyActive value |
||
1075 | * @return bool|null |
||
1076 | */ |
||
1077 | public function getIndicationEconomicallyActive() |
||
1078 | { |
||
1079 | return $this->IndicationEconomicallyActive; |
||
1080 | } |
||
1081 | /** |
||
1082 | * Set IndicationEconomicallyActive value |
||
1083 | * @param bool $indicationEconomicallyActive |
||
1084 | * @return \Webservices\StructType\BusinessDossierV2 |
||
1085 | */ |
||
1086 | public function setIndicationEconomicallyActive($indicationEconomicallyActive = null) |
||
1087 | { |
||
1088 | // validation for constraint: boolean |
||
1089 | if (!is_null($indicationEconomicallyActive) && !is_bool($indicationEconomicallyActive)) { |
||
1090 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($indicationEconomicallyActive)), __LINE__); |
||
1091 | } |
||
1092 | $this->IndicationEconomicallyActive = $indicationEconomicallyActive; |
||
1093 | return $this; |
||
1094 | } |
||
1095 | /** |
||
1096 | * Get IndicationNonMailing value |
||
1097 | * @return bool|null |
||
1098 | */ |
||
1099 | public function getIndicationNonMailing() |
||
1100 | { |
||
1101 | return $this->IndicationNonMailing; |
||
1102 | } |
||
1103 | /** |
||
1104 | * Set IndicationNonMailing value |
||
1105 | * @param bool $indicationNonMailing |
||
1106 | * @return \Webservices\StructType\BusinessDossierV2 |
||
1107 | */ |
||
1108 | public function setIndicationNonMailing($indicationNonMailing = null) |
||
1109 | { |
||
1110 | // validation for constraint: boolean |
||
1111 | if (!is_null($indicationNonMailing) && !is_bool($indicationNonMailing)) { |
||
1112 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($indicationNonMailing)), __LINE__); |
||
1113 | } |
||
1114 | $this->IndicationNonMailing = $indicationNonMailing; |
||
1115 | return $this; |
||
1116 | } |
||
1117 | /** |
||
1118 | * Get IndicationBankruptcy value |
||
1119 | * @return bool|null |
||
1120 | */ |
||
1121 | public function getIndicationBankruptcy() |
||
1122 | { |
||
1123 | return $this->IndicationBankruptcy; |
||
1124 | } |
||
1125 | /** |
||
1126 | * Set IndicationBankruptcy value |
||
1127 | * @param bool $indicationBankruptcy |
||
1128 | * @return \Webservices\StructType\BusinessDossierV2 |
||
1129 | */ |
||
1130 | public function setIndicationBankruptcy($indicationBankruptcy = null) |
||
1131 | { |
||
1132 | // validation for constraint: boolean |
||
1133 | if (!is_null($indicationBankruptcy) && !is_bool($indicationBankruptcy)) { |
||
1134 | throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($indicationBankruptcy)), __LINE__); |
||
1135 | } |
||
1136 | $this->IndicationBankruptcy = $indicationBankruptcy; |
||
1137 | return $this; |
||
1138 | } |
||
1139 | /** |
||
1140 | * Get IndicationDIP value |
||
1141 | * @return bool|null |
||
1142 | */ |
||
1143 | public function getIndicationDIP() |
||
1144 | { |
||
1145 | return $this->IndicationDIP; |
||
1146 | } |
||
1147 | /** |
||
1148 | * Set IndicationDIP value |
||
1149 | * @param bool $indicationDIP |
||
1150 | * @return \Webservices\StructType\BusinessDossierV2 |
||
1151 | */ |
||
1152 | public function setIndicationDIP($indicationDIP = null) |
||
1160 | } |
||
1161 | /** |
||
1162 | * Method called when an object has been exported with var_export() functions |
||
1163 | * It allows to return an object instantiated with the values |
||
1164 | * @see AbstractStructBase::__set_state() |
||
1165 | * @uses AbstractStructBase::__set_state() |
||
1166 | * @param array $array the exported values |
||
1167 | * @return \Webservices\StructType\BusinessDossierV2 |
||
1168 | */ |
||
1169 | public static function __set_state(array $array) |
||
1170 | { |
||
1171 | return parent::__set_state($array); |
||
1172 | } |
||
1173 | /** |
||
1174 | * Method returning the class name |
||
1175 | * @return string __CLASS__ |
||
1176 | */ |
||
1177 | public function __toString() |
||
1178 | { |
||
1179 | return __CLASS__; |
||
1180 | } |
||
1181 | } |
||
1182 |