DNBQuickCheck::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 65
Code Lines 63

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 63
nc 1
nop 62
dl 0
loc 65
rs 9.3571
c 0
b 0
f 0

How to fix   Long Method    Many Parameters   

Long Method

Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.

For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.

Commonly applied refactorings include:

Many Parameters

Methods with many parameters are not only hard to understand, but their parameters also often become inconsistent when you need more, or different data.

There are several approaches to avoid long parameter lists:

1
<?php
2
3
namespace Webservices\StructType;
4
5
use \WsdlToPhp\PackageBase\AbstractStructBase;
6
7
/**
8
 * This class stands for DNBQuickCheck StructType
9
 * @subpackage Structs
10
 * @author JCID <[email protected]>
11
 */
12
class DNBQuickCheck extends AbstractStructBase
13
{
14
    /**
15
     * The duns
16
     * @var string
17
     */
18
    public $duns;
19
    /**
20
     * The dnb_key
21
     * @var string
22
     */
23
    public $dnb_key;
24
    /**
25
     * The enquiry_duns
26
     * @var string
27
     */
28
    public $enquiry_duns;
29
    /**
30
     * The business_number
31
     * Meta informations extracted from the WSDL
32
     * - minOccurs: 0
33
     * @var string
34
     */
35
    public $business_number;
36
    /**
37
     * The business_number_type
38
     * Meta informations extracted from the WSDL
39
     * - minOccurs: 0
40
     * @var string
41
     */
42
    public $business_number_type;
43
    /**
44
     * The business_number_description
45
     * Meta informations extracted from the WSDL
46
     * - minOccurs: 0
47
     * @var string
48
     */
49
    public $business_number_description;
50
    /**
51
     * The trade_name
52
     * @var string
53
     */
54
    public $trade_name;
55
    /**
56
     * The address
57
     * @var \Webservices\ArrayType\StringArray
58
     */
59
    public $address;
60
    /**
61
     * The postcode
62
     * @var string
63
     */
64
    public $postcode;
65
    /**
66
     * The city
67
     * @var string
68
     */
69
    public $city;
70
    /**
71
     * The region
72
     * Meta informations extracted from the WSDL
73
     * - minOccurs: 0
74
     * @var string
75
     */
76
    public $region;
77
    /**
78
     * The subregion
79
     * Meta informations extracted from the WSDL
80
     * - minOccurs: 0
81
     * @var string
82
     */
83
    public $subregion;
84
    /**
85
     * The country_calling_code
86
     * @var string
87
     */
88
    public $country_calling_code;
89
    /**
90
     * The phone_number
91
     * Meta informations extracted from the WSDL
92
     * - minOccurs: 0
93
     * @var string
94
     */
95
    public $phone_number;
96
    /**
97
     * The fax_number
98
     * Meta informations extracted from the WSDL
99
     * - minOccurs: 0
100
     * @var string
101
     */
102
    public $fax_number;
103
    /**
104
     * The country
105
     * @var string
106
     */
107
    public $country;
108
    /**
109
     * The ceo_name
110
     * Meta informations extracted from the WSDL
111
     * - minOccurs: 0
112
     * @var string
113
     */
114
    public $ceo_name;
115
    /**
116
     * The ceo_title
117
     * Meta informations extracted from the WSDL
118
     * - minOccurs: 0
119
     * @var string
120
     */
121
    public $ceo_title;
122
    /**
123
     * The principal_name
124
     * Meta informations extracted from the WSDL
125
     * - minOccurs: 0
126
     * @var string
127
     */
128
    public $principal_name;
129
    /**
130
     * The principal_title
131
     * Meta informations extracted from the WSDL
132
     * - minOccurs: 0
133
     * @var string
134
     */
135
    public $principal_title;
136
    /**
137
     * The currency
138
     * @var string
139
     */
140
    public $currency;
141
    /**
142
     * The statement_currency
143
     * Meta informations extracted from the WSDL
144
     * - minOccurs: 0
145
     * @var string
146
     */
147
    public $statement_currency;
148
    /**
149
     * The debtor_inpossession
150
     * Meta informations extracted from the WSDL
151
     * - minOccurs: 0
152
     * @var bool
153
     */
154
    public $debtor_inpossession;
155
    /**
156
     * The criminal_proceedings
157
     * Meta informations extracted from the WSDL
158
     * - minOccurs: 0
159
     * @var bool
160
     */
161
    public $criminal_proceedings;
162
    /**
163
     * The suit_judgement
164
     * Meta informations extracted from the WSDL
165
     * - minOccurs: 0
166
     * @var bool
167
     */
168
    public $suit_judgement;
169
    /**
170
     * The financial_embarrassment
171
     * Meta informations extracted from the WSDL
172
     * - minOccurs: 0
173
     * @var bool
174
     */
175
    public $financial_embarrassment;
176
    /**
177
     * The financial_legal_events
178
     * Meta informations extracted from the WSDL
179
     * - minOccurs: 0
180
     * @var bool
181
     */
182
    public $financial_legal_events;
183
    /**
184
     * The operational_events
185
     * Meta informations extracted from the WSDL
186
     * - minOccurs: 0
187
     * @var bool
188
     */
189
    public $operational_events;
190
    /**
191
     * The other_events
192
     * Meta informations extracted from the WSDL
193
     * - minOccurs: 0
194
     * @var bool
195
     */
196
    public $other_events;
197
    /**
198
     * The disaster
199
     * Meta informations extracted from the WSDL
200
     * - minOccurs: 0
201
     * @var bool
202
     */
203
    public $disaster;
204
    /**
205
     * The secured_filings
206
     * Meta informations extracted from the WSDL
207
     * - minOccurs: 0
208
     * @var bool
209
     */
210
    public $secured_filings;
211
    /**
212
     * The out_of_business
213
     * Meta informations extracted from the WSDL
214
     * - minOccurs: 0
215
     * @var bool
216
     */
217
    public $out_of_business;
218
    /**
219
     * The history_indicator
220
     * Meta informations extracted from the WSDL
221
     * - minOccurs: 0
222
     * @var string
223
     */
224
    public $history_indicator;
225
    /**
226
     * The history_description
227
     * Meta informations extracted from the WSDL
228
     * - minOccurs: 0
229
     * @var string
230
     */
231
    public $history_description;
232
    /**
233
     * The income_statement_date
234
     * Meta informations extracted from the WSDL
235
     * - minOccurs: 0
236
     * @var string
237
     */
238
    public $income_statement_date;
239
    /**
240
     * The income_statement_date_start
241
     * Meta informations extracted from the WSDL
242
     * - minOccurs: 0
243
     * @var string
244
     */
245
    public $income_statement_date_start;
246
    /**
247
     * The income_statement_date_end
248
     * Meta informations extracted from the WSDL
249
     * - minOccurs: 0
250
     * @var string
251
     */
252
    public $income_statement_date_end;
253
    /**
254
     * The financial_statement_date
255
     * Meta informations extracted from the WSDL
256
     * - minOccurs: 0
257
     * @var string
258
     */
259
    public $financial_statement_date;
260
    /**
261
     * The incorporation_year
262
     * Meta informations extracted from the WSDL
263
     * - minOccurs: 0
264
     * @var int
265
     */
266
    public $incorporation_year;
267
    /**
268
     * The start_year
269
     * Meta informations extracted from the WSDL
270
     * - minOccurs: 0
271
     * @var int
272
     */
273
    public $start_year;
274
    /**
275
     * The current_control_year
276
     * Meta informations extracted from the WSDL
277
     * - minOccurs: 0
278
     * @var int
279
     */
280
    public $current_control_year;
281
    /**
282
     * The local_activity_code
283
     * Meta informations extracted from the WSDL
284
     * - minOccurs: 0
285
     * @var string
286
     */
287
    public $local_activity_code;
288
    /**
289
     * The local_activity_code_type
290
     * Meta informations extracted from the WSDL
291
     * - minOccurs: 0
292
     * @var string
293
     */
294
    public $local_activity_code_type;
295
    /**
296
     * The local_activity_description
297
     * Meta informations extracted from the WSDL
298
     * - minOccurs: 0
299
     * @var string
300
     */
301
    public $local_activity_description;
302
    /**
303
     * The sic_activity_code
304
     * @var string
305
     */
306
    public $sic_activity_code;
307
    /**
308
     * The sic_activity_description
309
     * @var string
310
     */
311
    public $sic_activity_description;
312
    /**
313
     * The sic_version
314
     * @var string
315
     */
316
    public $sic_version;
317
    /**
318
     * The legal_form
319
     * @var string
320
     */
321
    public $legal_form;
322
    /**
323
     * The legal_form_description
324
     * @var string
325
     */
326
    public $legal_form_description;
327
    /**
328
     * The paydex_norm
329
     * Meta informations extracted from the WSDL
330
     * - minOccurs: 0
331
     * @var int
332
     */
333
    public $paydex_norm;
334
    /**
335
     * The paydex_score
336
     * Meta informations extracted from the WSDL
337
     * - minOccurs: 0
338
     * @var int
339
     */
340
    public $paydex_score;
341
    /**
342
     * The dnb_rating
343
     * @var string
344
     */
345
    public $dnb_rating;
346
    /**
347
     * The maximum_credit
348
     * Meta informations extracted from the WSDL
349
     * - minOccurs: 0
350
     * @var int
351
     */
352
    public $maximum_credit;
353
    /**
354
     * The maximum_credit_currency
355
     * Meta informations extracted from the WSDL
356
     * - minOccurs: 0
357
     * @var string
358
     */
359
    public $maximum_credit_currency;
360
    /**
361
     * The intangible_assets
362
     * Meta informations extracted from the WSDL
363
     * - minOccurs: 0
364
     * @var int
365
     */
366
    public $intangible_assets;
367
    /**
368
     * The net_worth
369
     * Meta informations extracted from the WSDL
370
     * - minOccurs: 0
371
     * @var int
372
     */
373
    public $net_worth;
374
    /**
375
     * The tangible_net_worth
376
     * Meta informations extracted from the WSDL
377
     * - minOccurs: 0
378
     * @var \Webservices\StructType\DNBMonetaryAmount
379
     */
380
    public $tangible_net_worth;
381
    /**
382
     * The sales
383
     * Meta informations extracted from the WSDL
384
     * - minOccurs: 0
385
     * @var int
386
     */
387
    public $sales;
388
    /**
389
     * The annual_sales
390
     * Meta informations extracted from the WSDL
391
     * - minOccurs: 0
392
     * @var \Webservices\StructType\DNBMonetaryAmount
393
     */
394
    public $annual_sales;
395
    /**
396
     * The employees_primary
397
     * Meta informations extracted from the WSDL
398
     * - minOccurs: 0
399
     * @var \Webservices\StructType\DNBEmployeeCount
400
     */
401
    public $employees_primary;
402
    /**
403
     * The employees_total
404
     * Meta informations extracted from the WSDL
405
     * - minOccurs: 0
406
     * @var \Webservices\StructType\DNBEmployeeCount
407
     */
408
    public $employees_total;
409
    /**
410
     * The trade_names
411
     * Meta informations extracted from the WSDL
412
     * - minOccurs: 0
413
     * @var \Webservices\ArrayType\StringArray
414
     */
415
    public $trade_names;
416
    /**
417
     * Constructor method for DNBQuickCheck
418
     * @uses DNBQuickCheck::setDuns()
419
     * @uses DNBQuickCheck::setDnb_key()
420
     * @uses DNBQuickCheck::setEnquiry_duns()
421
     * @uses DNBQuickCheck::setBusiness_number()
422
     * @uses DNBQuickCheck::setBusiness_number_type()
423
     * @uses DNBQuickCheck::setBusiness_number_description()
424
     * @uses DNBQuickCheck::setTrade_name()
425
     * @uses DNBQuickCheck::setAddress()
426
     * @uses DNBQuickCheck::setPostcode()
427
     * @uses DNBQuickCheck::setCity()
428
     * @uses DNBQuickCheck::setRegion()
429
     * @uses DNBQuickCheck::setSubregion()
430
     * @uses DNBQuickCheck::setCountry_calling_code()
431
     * @uses DNBQuickCheck::setPhone_number()
432
     * @uses DNBQuickCheck::setFax_number()
433
     * @uses DNBQuickCheck::setCountry()
434
     * @uses DNBQuickCheck::setCeo_name()
435
     * @uses DNBQuickCheck::setCeo_title()
436
     * @uses DNBQuickCheck::setPrincipal_name()
437
     * @uses DNBQuickCheck::setPrincipal_title()
438
     * @uses DNBQuickCheck::setCurrency()
439
     * @uses DNBQuickCheck::setStatement_currency()
440
     * @uses DNBQuickCheck::setDebtor_inpossession()
441
     * @uses DNBQuickCheck::setCriminal_proceedings()
442
     * @uses DNBQuickCheck::setSuit_judgement()
443
     * @uses DNBQuickCheck::setFinancial_embarrassment()
444
     * @uses DNBQuickCheck::setFinancial_legal_events()
445
     * @uses DNBQuickCheck::setOperational_events()
446
     * @uses DNBQuickCheck::setOther_events()
447
     * @uses DNBQuickCheck::setDisaster()
448
     * @uses DNBQuickCheck::setSecured_filings()
449
     * @uses DNBQuickCheck::setOut_of_business()
450
     * @uses DNBQuickCheck::setHistory_indicator()
451
     * @uses DNBQuickCheck::setHistory_description()
452
     * @uses DNBQuickCheck::setIncome_statement_date()
453
     * @uses DNBQuickCheck::setIncome_statement_date_start()
454
     * @uses DNBQuickCheck::setIncome_statement_date_end()
455
     * @uses DNBQuickCheck::setFinancial_statement_date()
456
     * @uses DNBQuickCheck::setIncorporation_year()
457
     * @uses DNBQuickCheck::setStart_year()
458
     * @uses DNBQuickCheck::setCurrent_control_year()
459
     * @uses DNBQuickCheck::setLocal_activity_code()
460
     * @uses DNBQuickCheck::setLocal_activity_code_type()
461
     * @uses DNBQuickCheck::setLocal_activity_description()
462
     * @uses DNBQuickCheck::setSic_activity_code()
463
     * @uses DNBQuickCheck::setSic_activity_description()
464
     * @uses DNBQuickCheck::setSic_version()
465
     * @uses DNBQuickCheck::setLegal_form()
466
     * @uses DNBQuickCheck::setLegal_form_description()
467
     * @uses DNBQuickCheck::setPaydex_norm()
468
     * @uses DNBQuickCheck::setPaydex_score()
469
     * @uses DNBQuickCheck::setDnb_rating()
470
     * @uses DNBQuickCheck::setMaximum_credit()
471
     * @uses DNBQuickCheck::setMaximum_credit_currency()
472
     * @uses DNBQuickCheck::setIntangible_assets()
473
     * @uses DNBQuickCheck::setNet_worth()
474
     * @uses DNBQuickCheck::setTangible_net_worth()
475
     * @uses DNBQuickCheck::setSales()
476
     * @uses DNBQuickCheck::setAnnual_sales()
477
     * @uses DNBQuickCheck::setEmployees_primary()
478
     * @uses DNBQuickCheck::setEmployees_total()
479
     * @uses DNBQuickCheck::setTrade_names()
480
     * @param string $duns
481
     * @param string $dnb_key
482
     * @param string $enquiry_duns
483
     * @param string $business_number
484
     * @param string $business_number_type
485
     * @param string $business_number_description
486
     * @param string $trade_name
487
     * @param \Webservices\ArrayType\StringArray $address
488
     * @param string $postcode
489
     * @param string $city
490
     * @param string $region
491
     * @param string $subregion
492
     * @param string $country_calling_code
493
     * @param string $phone_number
494
     * @param string $fax_number
495
     * @param string $country
496
     * @param string $ceo_name
497
     * @param string $ceo_title
498
     * @param string $principal_name
499
     * @param string $principal_title
500
     * @param string $currency
501
     * @param string $statement_currency
502
     * @param bool $debtor_inpossession
503
     * @param bool $criminal_proceedings
504
     * @param bool $suit_judgement
505
     * @param bool $financial_embarrassment
506
     * @param bool $financial_legal_events
507
     * @param bool $operational_events
508
     * @param bool $other_events
509
     * @param bool $disaster
510
     * @param bool $secured_filings
511
     * @param bool $out_of_business
512
     * @param string $history_indicator
513
     * @param string $history_description
514
     * @param string $income_statement_date
515
     * @param string $income_statement_date_start
516
     * @param string $income_statement_date_end
517
     * @param string $financial_statement_date
518
     * @param int $incorporation_year
519
     * @param int $start_year
520
     * @param int $current_control_year
521
     * @param string $local_activity_code
522
     * @param string $local_activity_code_type
523
     * @param string $local_activity_description
524
     * @param string $sic_activity_code
525
     * @param string $sic_activity_description
526
     * @param string $sic_version
527
     * @param string $legal_form
528
     * @param string $legal_form_description
529
     * @param int $paydex_norm
530
     * @param int $paydex_score
531
     * @param string $dnb_rating
532
     * @param int $maximum_credit
533
     * @param string $maximum_credit_currency
534
     * @param int $intangible_assets
535
     * @param int $net_worth
536
     * @param \Webservices\StructType\DNBMonetaryAmount $tangible_net_worth
537
     * @param int $sales
538
     * @param \Webservices\StructType\DNBMonetaryAmount $annual_sales
539
     * @param \Webservices\StructType\DNBEmployeeCount $employees_primary
540
     * @param \Webservices\StructType\DNBEmployeeCount $employees_total
541
     * @param \Webservices\ArrayType\StringArray $trade_names
542
     */
543
    public function __construct($duns = null, $dnb_key = null, $enquiry_duns = null, $business_number = null, $business_number_type = null, $business_number_description = null, $trade_name = null, \Webservices\ArrayType\StringArray $address = null, $postcode = null, $city = null, $region = null, $subregion = null, $country_calling_code = null, $phone_number = null, $fax_number = null, $country = null, $ceo_name = null, $ceo_title = null, $principal_name = null, $principal_title = null, $currency = null, $statement_currency = null, $debtor_inpossession = null, $criminal_proceedings = null, $suit_judgement = null, $financial_embarrassment = null, $financial_legal_events = null, $operational_events = null, $other_events = null, $disaster = null, $secured_filings = null, $out_of_business = null, $history_indicator = null, $history_description = null, $income_statement_date = null, $income_statement_date_start = null, $income_statement_date_end = null, $financial_statement_date = null, $incorporation_year = null, $start_year = null, $current_control_year = null, $local_activity_code = null, $local_activity_code_type = null, $local_activity_description = null, $sic_activity_code = null, $sic_activity_description = null, $sic_version = null, $legal_form = null, $legal_form_description = null, $paydex_norm = null, $paydex_score = null, $dnb_rating = null, $maximum_credit = null, $maximum_credit_currency = null, $intangible_assets = null, $net_worth = null, \Webservices\StructType\DNBMonetaryAmount $tangible_net_worth = null, $sales = null, \Webservices\StructType\DNBMonetaryAmount $annual_sales = null, \Webservices\StructType\DNBEmployeeCount $employees_primary = null, \Webservices\StructType\DNBEmployeeCount $employees_total = null, \Webservices\ArrayType\StringArray $trade_names = null)
544
    {
545
        $this
546
            ->setDuns($duns)
547
            ->setDnb_key($dnb_key)
548
            ->setEnquiry_duns($enquiry_duns)
549
            ->setBusiness_number($business_number)
550
            ->setBusiness_number_type($business_number_type)
551
            ->setBusiness_number_description($business_number_description)
552
            ->setTrade_name($trade_name)
553
            ->setAddress($address)
554
            ->setPostcode($postcode)
555
            ->setCity($city)
556
            ->setRegion($region)
557
            ->setSubregion($subregion)
558
            ->setCountry_calling_code($country_calling_code)
559
            ->setPhone_number($phone_number)
560
            ->setFax_number($fax_number)
561
            ->setCountry($country)
562
            ->setCeo_name($ceo_name)
563
            ->setCeo_title($ceo_title)
564
            ->setPrincipal_name($principal_name)
565
            ->setPrincipal_title($principal_title)
566
            ->setCurrency($currency)
567
            ->setStatement_currency($statement_currency)
568
            ->setDebtor_inpossession($debtor_inpossession)
569
            ->setCriminal_proceedings($criminal_proceedings)
570
            ->setSuit_judgement($suit_judgement)
571
            ->setFinancial_embarrassment($financial_embarrassment)
572
            ->setFinancial_legal_events($financial_legal_events)
573
            ->setOperational_events($operational_events)
574
            ->setOther_events($other_events)
575
            ->setDisaster($disaster)
576
            ->setSecured_filings($secured_filings)
577
            ->setOut_of_business($out_of_business)
578
            ->setHistory_indicator($history_indicator)
579
            ->setHistory_description($history_description)
580
            ->setIncome_statement_date($income_statement_date)
581
            ->setIncome_statement_date_start($income_statement_date_start)
582
            ->setIncome_statement_date_end($income_statement_date_end)
583
            ->setFinancial_statement_date($financial_statement_date)
584
            ->setIncorporation_year($incorporation_year)
585
            ->setStart_year($start_year)
586
            ->setCurrent_control_year($current_control_year)
587
            ->setLocal_activity_code($local_activity_code)
588
            ->setLocal_activity_code_type($local_activity_code_type)
589
            ->setLocal_activity_description($local_activity_description)
590
            ->setSic_activity_code($sic_activity_code)
591
            ->setSic_activity_description($sic_activity_description)
592
            ->setSic_version($sic_version)
593
            ->setLegal_form($legal_form)
594
            ->setLegal_form_description($legal_form_description)
595
            ->setPaydex_norm($paydex_norm)
596
            ->setPaydex_score($paydex_score)
597
            ->setDnb_rating($dnb_rating)
598
            ->setMaximum_credit($maximum_credit)
599
            ->setMaximum_credit_currency($maximum_credit_currency)
600
            ->setIntangible_assets($intangible_assets)
601
            ->setNet_worth($net_worth)
602
            ->setTangible_net_worth($tangible_net_worth)
603
            ->setSales($sales)
604
            ->setAnnual_sales($annual_sales)
605
            ->setEmployees_primary($employees_primary)
606
            ->setEmployees_total($employees_total)
607
            ->setTrade_names($trade_names);
608
    }
609
    /**
610
     * Get duns value
611
     * @return string|null
612
     */
613
    public function getDuns()
614
    {
615
        return $this->duns;
616
    }
617
    /**
618
     * Set duns value
619
     * @param string $duns
620
     * @return \Webservices\StructType\DNBQuickCheck
621
     */
622
    public function setDuns($duns = null)
623
    {
624
        // validation for constraint: string
625
        if (!is_null($duns) && !is_string($duns)) {
0 ignored issues
show
introduced by
The condition ! is_null($duns) && ! is_string($duns) can never be true.
Loading history...
626
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($duns)), __LINE__);
627
        }
628
        $this->duns = $duns;
629
        return $this;
630
    }
631
    /**
632
     * Get dnb_key value
633
     * @return string|null
634
     */
635
    public function getDnb_key()
636
    {
637
        return $this->dnb_key;
638
    }
639
    /**
640
     * Set dnb_key value
641
     * @param string $dnb_key
642
     * @return \Webservices\StructType\DNBQuickCheck
643
     */
644
    public function setDnb_key($dnb_key = null)
645
    {
646
        // validation for constraint: string
647
        if (!is_null($dnb_key) && !is_string($dnb_key)) {
0 ignored issues
show
introduced by
The condition ! is_null($dnb_key) && ! is_string($dnb_key) can never be true.
Loading history...
648
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($dnb_key)), __LINE__);
649
        }
650
        $this->dnb_key = $dnb_key;
651
        return $this;
652
    }
653
    /**
654
     * Get enquiry_duns value
655
     * @return string|null
656
     */
657
    public function getEnquiry_duns()
658
    {
659
        return $this->enquiry_duns;
660
    }
661
    /**
662
     * Set enquiry_duns value
663
     * @param string $enquiry_duns
664
     * @return \Webservices\StructType\DNBQuickCheck
665
     */
666
    public function setEnquiry_duns($enquiry_duns = null)
667
    {
668
        // validation for constraint: string
669
        if (!is_null($enquiry_duns) && !is_string($enquiry_duns)) {
0 ignored issues
show
introduced by
The condition ! is_null($enquiry_duns)...s_string($enquiry_duns) can never be true.
Loading history...
670
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($enquiry_duns)), __LINE__);
671
        }
672
        $this->enquiry_duns = $enquiry_duns;
673
        return $this;
674
    }
675
    /**
676
     * Get business_number value
677
     * @return string|null
678
     */
679
    public function getBusiness_number()
680
    {
681
        return $this->business_number;
682
    }
683
    /**
684
     * Set business_number value
685
     * @param string $business_number
686
     * @return \Webservices\StructType\DNBQuickCheck
687
     */
688
    public function setBusiness_number($business_number = null)
689
    {
690
        // validation for constraint: string
691
        if (!is_null($business_number) && !is_string($business_number)) {
0 ignored issues
show
introduced by
The condition ! is_null($business_numb...tring($business_number) can never be true.
Loading history...
692
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($business_number)), __LINE__);
693
        }
694
        $this->business_number = $business_number;
695
        return $this;
696
    }
697
    /**
698
     * Get business_number_type value
699
     * @return string|null
700
     */
701
    public function getBusiness_number_type()
702
    {
703
        return $this->business_number_type;
704
    }
705
    /**
706
     * Set business_number_type value
707
     * @param string $business_number_type
708
     * @return \Webservices\StructType\DNBQuickCheck
709
     */
710
    public function setBusiness_number_type($business_number_type = null)
711
    {
712
        // validation for constraint: string
713
        if (!is_null($business_number_type) && !is_string($business_number_type)) {
0 ignored issues
show
introduced by
The condition ! is_null($business_numb...($business_number_type) can never be true.
Loading history...
714
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($business_number_type)), __LINE__);
715
        }
716
        $this->business_number_type = $business_number_type;
717
        return $this;
718
    }
719
    /**
720
     * Get business_number_description value
721
     * @return string|null
722
     */
723
    public function getBusiness_number_description()
724
    {
725
        return $this->business_number_description;
726
    }
727
    /**
728
     * Set business_number_description value
729
     * @param string $business_number_description
730
     * @return \Webservices\StructType\DNBQuickCheck
731
     */
732
    public function setBusiness_number_description($business_number_description = null)
733
    {
734
        // validation for constraint: string
735
        if (!is_null($business_number_description) && !is_string($business_number_description)) {
0 ignored issues
show
introduced by
The condition ! is_null($business_numb...ess_number_description) can never be true.
Loading history...
736
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($business_number_description)), __LINE__);
737
        }
738
        $this->business_number_description = $business_number_description;
739
        return $this;
740
    }
741
    /**
742
     * Get trade_name value
743
     * @return string|null
744
     */
745
    public function getTrade_name()
746
    {
747
        return $this->trade_name;
748
    }
749
    /**
750
     * Set trade_name value
751
     * @param string $trade_name
752
     * @return \Webservices\StructType\DNBQuickCheck
753
     */
754
    public function setTrade_name($trade_name = null)
755
    {
756
        // validation for constraint: string
757
        if (!is_null($trade_name) && !is_string($trade_name)) {
0 ignored issues
show
introduced by
The condition ! is_null($trade_name) &... is_string($trade_name) can never be true.
Loading history...
758
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($trade_name)), __LINE__);
759
        }
760
        $this->trade_name = $trade_name;
761
        return $this;
762
    }
763
    /**
764
     * Get address value
765
     * @return \Webservices\ArrayType\StringArray|null
766
     */
767
    public function getAddress()
768
    {
769
        return $this->address;
770
    }
771
    /**
772
     * Set address value
773
     * @param \Webservices\ArrayType\StringArray $address
774
     * @return \Webservices\StructType\DNBQuickCheck
775
     */
776
    public function setAddress(\Webservices\ArrayType\StringArray $address = null)
777
    {
778
        $this->address = $address;
779
        return $this;
780
    }
781
    /**
782
     * Get postcode value
783
     * @return string|null
784
     */
785
    public function getPostcode()
786
    {
787
        return $this->postcode;
788
    }
789
    /**
790
     * Set postcode value
791
     * @param string $postcode
792
     * @return \Webservices\StructType\DNBQuickCheck
793
     */
794
    public function setPostcode($postcode = null)
795
    {
796
        // validation for constraint: string
797
        if (!is_null($postcode) && !is_string($postcode)) {
0 ignored issues
show
introduced by
The condition ! is_null($postcode) && ! is_string($postcode) can never be true.
Loading history...
798
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($postcode)), __LINE__);
799
        }
800
        $this->postcode = $postcode;
801
        return $this;
802
    }
803
    /**
804
     * Get city value
805
     * @return string|null
806
     */
807
    public function getCity()
808
    {
809
        return $this->city;
810
    }
811
    /**
812
     * Set city value
813
     * @param string $city
814
     * @return \Webservices\StructType\DNBQuickCheck
815
     */
816
    public function setCity($city = null)
817
    {
818
        // validation for constraint: string
819
        if (!is_null($city) && !is_string($city)) {
0 ignored issues
show
introduced by
The condition ! is_null($city) && ! is_string($city) can never be true.
Loading history...
820
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($city)), __LINE__);
821
        }
822
        $this->city = $city;
823
        return $this;
824
    }
825
    /**
826
     * Get region value
827
     * @return string|null
828
     */
829
    public function getRegion()
830
    {
831
        return $this->region;
832
    }
833
    /**
834
     * Set region value
835
     * @param string $region
836
     * @return \Webservices\StructType\DNBQuickCheck
837
     */
838
    public function setRegion($region = null)
839
    {
840
        // validation for constraint: string
841
        if (!is_null($region) && !is_string($region)) {
0 ignored issues
show
introduced by
The condition ! is_null($region) && ! is_string($region) can never be true.
Loading history...
842
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($region)), __LINE__);
843
        }
844
        $this->region = $region;
845
        return $this;
846
    }
847
    /**
848
     * Get subregion value
849
     * @return string|null
850
     */
851
    public function getSubregion()
852
    {
853
        return $this->subregion;
854
    }
855
    /**
856
     * Set subregion value
857
     * @param string $subregion
858
     * @return \Webservices\StructType\DNBQuickCheck
859
     */
860
    public function setSubregion($subregion = null)
861
    {
862
        // validation for constraint: string
863
        if (!is_null($subregion) && !is_string($subregion)) {
0 ignored issues
show
introduced by
The condition ! is_null($subregion) && ! is_string($subregion) can never be true.
Loading history...
864
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($subregion)), __LINE__);
865
        }
866
        $this->subregion = $subregion;
867
        return $this;
868
    }
869
    /**
870
     * Get country_calling_code value
871
     * @return string|null
872
     */
873
    public function getCountry_calling_code()
874
    {
875
        return $this->country_calling_code;
876
    }
877
    /**
878
     * Set country_calling_code value
879
     * @param string $country_calling_code
880
     * @return \Webservices\StructType\DNBQuickCheck
881
     */
882
    public function setCountry_calling_code($country_calling_code = null)
883
    {
884
        // validation for constraint: string
885
        if (!is_null($country_calling_code) && !is_string($country_calling_code)) {
0 ignored issues
show
introduced by
The condition ! is_null($country_calli...($country_calling_code) can never be true.
Loading history...
886
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($country_calling_code)), __LINE__);
887
        }
888
        $this->country_calling_code = $country_calling_code;
889
        return $this;
890
    }
891
    /**
892
     * Get phone_number value
893
     * @return string|null
894
     */
895
    public function getPhone_number()
896
    {
897
        return $this->phone_number;
898
    }
899
    /**
900
     * Set phone_number value
901
     * @param string $phone_number
902
     * @return \Webservices\StructType\DNBQuickCheck
903
     */
904
    public function setPhone_number($phone_number = null)
905
    {
906
        // validation for constraint: string
907
        if (!is_null($phone_number) && !is_string($phone_number)) {
0 ignored issues
show
introduced by
The condition ! is_null($phone_number)...s_string($phone_number) can never be true.
Loading history...
908
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($phone_number)), __LINE__);
909
        }
910
        $this->phone_number = $phone_number;
911
        return $this;
912
    }
913
    /**
914
     * Get fax_number value
915
     * @return string|null
916
     */
917
    public function getFax_number()
918
    {
919
        return $this->fax_number;
920
    }
921
    /**
922
     * Set fax_number value
923
     * @param string $fax_number
924
     * @return \Webservices\StructType\DNBQuickCheck
925
     */
926
    public function setFax_number($fax_number = null)
927
    {
928
        // validation for constraint: string
929
        if (!is_null($fax_number) && !is_string($fax_number)) {
0 ignored issues
show
introduced by
The condition ! is_null($fax_number) &... is_string($fax_number) can never be true.
Loading history...
930
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($fax_number)), __LINE__);
931
        }
932
        $this->fax_number = $fax_number;
933
        return $this;
934
    }
935
    /**
936
     * Get country value
937
     * @return string|null
938
     */
939
    public function getCountry()
940
    {
941
        return $this->country;
942
    }
943
    /**
944
     * Set country value
945
     * @param string $country
946
     * @return \Webservices\StructType\DNBQuickCheck
947
     */
948
    public function setCountry($country = null)
949
    {
950
        // validation for constraint: string
951
        if (!is_null($country) && !is_string($country)) {
0 ignored issues
show
introduced by
The condition ! is_null($country) && ! is_string($country) can never be true.
Loading history...
952
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($country)), __LINE__);
953
        }
954
        $this->country = $country;
955
        return $this;
956
    }
957
    /**
958
     * Get ceo_name value
959
     * @return string|null
960
     */
961
    public function getCeo_name()
962
    {
963
        return $this->ceo_name;
964
    }
965
    /**
966
     * Set ceo_name value
967
     * @param string $ceo_name
968
     * @return \Webservices\StructType\DNBQuickCheck
969
     */
970
    public function setCeo_name($ceo_name = null)
971
    {
972
        // validation for constraint: string
973
        if (!is_null($ceo_name) && !is_string($ceo_name)) {
0 ignored issues
show
introduced by
The condition ! is_null($ceo_name) && ! is_string($ceo_name) can never be true.
Loading history...
974
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($ceo_name)), __LINE__);
975
        }
976
        $this->ceo_name = $ceo_name;
977
        return $this;
978
    }
979
    /**
980
     * Get ceo_title value
981
     * @return string|null
982
     */
983
    public function getCeo_title()
984
    {
985
        return $this->ceo_title;
986
    }
987
    /**
988
     * Set ceo_title value
989
     * @param string $ceo_title
990
     * @return \Webservices\StructType\DNBQuickCheck
991
     */
992
    public function setCeo_title($ceo_title = null)
993
    {
994
        // validation for constraint: string
995
        if (!is_null($ceo_title) && !is_string($ceo_title)) {
0 ignored issues
show
introduced by
The condition ! is_null($ceo_title) && ! is_string($ceo_title) can never be true.
Loading history...
996
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($ceo_title)), __LINE__);
997
        }
998
        $this->ceo_title = $ceo_title;
999
        return $this;
1000
    }
1001
    /**
1002
     * Get principal_name value
1003
     * @return string|null
1004
     */
1005
    public function getPrincipal_name()
1006
    {
1007
        return $this->principal_name;
1008
    }
1009
    /**
1010
     * Set principal_name value
1011
     * @param string $principal_name
1012
     * @return \Webservices\StructType\DNBQuickCheck
1013
     */
1014
    public function setPrincipal_name($principal_name = null)
1015
    {
1016
        // validation for constraint: string
1017
        if (!is_null($principal_name) && !is_string($principal_name)) {
0 ignored issues
show
introduced by
The condition ! is_null($principal_nam...string($principal_name) can never be true.
Loading history...
1018
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($principal_name)), __LINE__);
1019
        }
1020
        $this->principal_name = $principal_name;
1021
        return $this;
1022
    }
1023
    /**
1024
     * Get principal_title value
1025
     * @return string|null
1026
     */
1027
    public function getPrincipal_title()
1028
    {
1029
        return $this->principal_title;
1030
    }
1031
    /**
1032
     * Set principal_title value
1033
     * @param string $principal_title
1034
     * @return \Webservices\StructType\DNBQuickCheck
1035
     */
1036
    public function setPrincipal_title($principal_title = null)
1037
    {
1038
        // validation for constraint: string
1039
        if (!is_null($principal_title) && !is_string($principal_title)) {
0 ignored issues
show
introduced by
The condition ! is_null($principal_tit...tring($principal_title) can never be true.
Loading history...
1040
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($principal_title)), __LINE__);
1041
        }
1042
        $this->principal_title = $principal_title;
1043
        return $this;
1044
    }
1045
    /**
1046
     * Get currency value
1047
     * @return string|null
1048
     */
1049
    public function getCurrency()
1050
    {
1051
        return $this->currency;
1052
    }
1053
    /**
1054
     * Set currency value
1055
     * @param string $currency
1056
     * @return \Webservices\StructType\DNBQuickCheck
1057
     */
1058
    public function setCurrency($currency = null)
1059
    {
1060
        // validation for constraint: string
1061
        if (!is_null($currency) && !is_string($currency)) {
0 ignored issues
show
introduced by
The condition ! is_null($currency) && ! is_string($currency) can never be true.
Loading history...
1062
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($currency)), __LINE__);
1063
        }
1064
        $this->currency = $currency;
1065
        return $this;
1066
    }
1067
    /**
1068
     * Get statement_currency value
1069
     * @return string|null
1070
     */
1071
    public function getStatement_currency()
1072
    {
1073
        return $this->statement_currency;
1074
    }
1075
    /**
1076
     * Set statement_currency value
1077
     * @param string $statement_currency
1078
     * @return \Webservices\StructType\DNBQuickCheck
1079
     */
1080
    public function setStatement_currency($statement_currency = null)
1081
    {
1082
        // validation for constraint: string
1083
        if (!is_null($statement_currency) && !is_string($statement_currency)) {
0 ignored issues
show
introduced by
The condition ! is_null($statement_cur...ng($statement_currency) can never be true.
Loading history...
1084
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($statement_currency)), __LINE__);
1085
        }
1086
        $this->statement_currency = $statement_currency;
1087
        return $this;
1088
    }
1089
    /**
1090
     * Get debtor_inpossession value
1091
     * @return bool|null
1092
     */
1093
    public function getDebtor_inpossession()
1094
    {
1095
        return $this->debtor_inpossession;
1096
    }
1097
    /**
1098
     * Set debtor_inpossession value
1099
     * @param bool $debtor_inpossession
1100
     * @return \Webservices\StructType\DNBQuickCheck
1101
     */
1102
    public function setDebtor_inpossession($debtor_inpossession = null)
1103
    {
1104
        // validation for constraint: boolean
1105
        if (!is_null($debtor_inpossession) && !is_bool($debtor_inpossession)) {
0 ignored issues
show
introduced by
The condition ! is_null($debtor_inposs...l($debtor_inpossession) can never be true.
Loading history...
1106
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($debtor_inpossession)), __LINE__);
1107
        }
1108
        $this->debtor_inpossession = $debtor_inpossession;
1109
        return $this;
1110
    }
1111
    /**
1112
     * Get criminal_proceedings value
1113
     * @return bool|null
1114
     */
1115
    public function getCriminal_proceedings()
1116
    {
1117
        return $this->criminal_proceedings;
1118
    }
1119
    /**
1120
     * Set criminal_proceedings value
1121
     * @param bool $criminal_proceedings
1122
     * @return \Webservices\StructType\DNBQuickCheck
1123
     */
1124
    public function setCriminal_proceedings($criminal_proceedings = null)
1125
    {
1126
        // validation for constraint: boolean
1127
        if (!is_null($criminal_proceedings) && !is_bool($criminal_proceedings)) {
0 ignored issues
show
introduced by
The condition ! is_null($criminal_proc...($criminal_proceedings) can never be true.
Loading history...
1128
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($criminal_proceedings)), __LINE__);
1129
        }
1130
        $this->criminal_proceedings = $criminal_proceedings;
1131
        return $this;
1132
    }
1133
    /**
1134
     * Get suit_judgement value
1135
     * @return bool|null
1136
     */
1137
    public function getSuit_judgement()
1138
    {
1139
        return $this->suit_judgement;
1140
    }
1141
    /**
1142
     * Set suit_judgement value
1143
     * @param bool $suit_judgement
1144
     * @return \Webservices\StructType\DNBQuickCheck
1145
     */
1146
    public function setSuit_judgement($suit_judgement = null)
1147
    {
1148
        // validation for constraint: boolean
1149
        if (!is_null($suit_judgement) && !is_bool($suit_judgement)) {
0 ignored issues
show
introduced by
The condition ! is_null($suit_judgemen...s_bool($suit_judgement) can never be true.
Loading history...
1150
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($suit_judgement)), __LINE__);
1151
        }
1152
        $this->suit_judgement = $suit_judgement;
1153
        return $this;
1154
    }
1155
    /**
1156
     * Get financial_embarrassment value
1157
     * @return bool|null
1158
     */
1159
    public function getFinancial_embarrassment()
1160
    {
1161
        return $this->financial_embarrassment;
1162
    }
1163
    /**
1164
     * Set financial_embarrassment value
1165
     * @param bool $financial_embarrassment
1166
     * @return \Webservices\StructType\DNBQuickCheck
1167
     */
1168
    public function setFinancial_embarrassment($financial_embarrassment = null)
1169
    {
1170
        // validation for constraint: boolean
1171
        if (!is_null($financial_embarrassment) && !is_bool($financial_embarrassment)) {
0 ignored issues
show
introduced by
The condition ! is_null($financial_emb...inancial_embarrassment) can never be true.
Loading history...
1172
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($financial_embarrassment)), __LINE__);
1173
        }
1174
        $this->financial_embarrassment = $financial_embarrassment;
1175
        return $this;
1176
    }
1177
    /**
1178
     * Get financial_legal_events value
1179
     * @return bool|null
1180
     */
1181
    public function getFinancial_legal_events()
1182
    {
1183
        return $this->financial_legal_events;
1184
    }
1185
    /**
1186
     * Set financial_legal_events value
1187
     * @param bool $financial_legal_events
1188
     * @return \Webservices\StructType\DNBQuickCheck
1189
     */
1190
    public function setFinancial_legal_events($financial_legal_events = null)
1191
    {
1192
        // validation for constraint: boolean
1193
        if (!is_null($financial_legal_events) && !is_bool($financial_legal_events)) {
0 ignored issues
show
introduced by
The condition ! is_null($financial_leg...financial_legal_events) can never be true.
Loading history...
1194
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($financial_legal_events)), __LINE__);
1195
        }
1196
        $this->financial_legal_events = $financial_legal_events;
1197
        return $this;
1198
    }
1199
    /**
1200
     * Get operational_events value
1201
     * @return bool|null
1202
     */
1203
    public function getOperational_events()
1204
    {
1205
        return $this->operational_events;
1206
    }
1207
    /**
1208
     * Set operational_events value
1209
     * @param bool $operational_events
1210
     * @return \Webservices\StructType\DNBQuickCheck
1211
     */
1212
    public function setOperational_events($operational_events = null)
1213
    {
1214
        // validation for constraint: boolean
1215
        if (!is_null($operational_events) && !is_bool($operational_events)) {
0 ignored issues
show
introduced by
The condition ! is_null($operational_e...ol($operational_events) can never be true.
Loading history...
1216
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($operational_events)), __LINE__);
1217
        }
1218
        $this->operational_events = $operational_events;
1219
        return $this;
1220
    }
1221
    /**
1222
     * Get other_events value
1223
     * @return bool|null
1224
     */
1225
    public function getOther_events()
1226
    {
1227
        return $this->other_events;
1228
    }
1229
    /**
1230
     * Set other_events value
1231
     * @param bool $other_events
1232
     * @return \Webservices\StructType\DNBQuickCheck
1233
     */
1234
    public function setOther_events($other_events = null)
1235
    {
1236
        // validation for constraint: boolean
1237
        if (!is_null($other_events) && !is_bool($other_events)) {
0 ignored issues
show
introduced by
The condition ! is_null($other_events)... is_bool($other_events) can never be true.
Loading history...
1238
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($other_events)), __LINE__);
1239
        }
1240
        $this->other_events = $other_events;
1241
        return $this;
1242
    }
1243
    /**
1244
     * Get disaster value
1245
     * @return bool|null
1246
     */
1247
    public function getDisaster()
1248
    {
1249
        return $this->disaster;
1250
    }
1251
    /**
1252
     * Set disaster value
1253
     * @param bool $disaster
1254
     * @return \Webservices\StructType\DNBQuickCheck
1255
     */
1256
    public function setDisaster($disaster = null)
1257
    {
1258
        // validation for constraint: boolean
1259
        if (!is_null($disaster) && !is_bool($disaster)) {
0 ignored issues
show
introduced by
The condition ! is_null($disaster) && ! is_bool($disaster) can never be true.
Loading history...
1260
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($disaster)), __LINE__);
1261
        }
1262
        $this->disaster = $disaster;
1263
        return $this;
1264
    }
1265
    /**
1266
     * Get secured_filings value
1267
     * @return bool|null
1268
     */
1269
    public function getSecured_filings()
1270
    {
1271
        return $this->secured_filings;
1272
    }
1273
    /**
1274
     * Set secured_filings value
1275
     * @param bool $secured_filings
1276
     * @return \Webservices\StructType\DNBQuickCheck
1277
     */
1278
    public function setSecured_filings($secured_filings = null)
1279
    {
1280
        // validation for constraint: boolean
1281
        if (!is_null($secured_filings) && !is_bool($secured_filings)) {
0 ignored issues
show
introduced by
The condition ! is_null($secured_filin..._bool($secured_filings) can never be true.
Loading history...
1282
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($secured_filings)), __LINE__);
1283
        }
1284
        $this->secured_filings = $secured_filings;
1285
        return $this;
1286
    }
1287
    /**
1288
     * Get out_of_business value
1289
     * @return bool|null
1290
     */
1291
    public function getOut_of_business()
1292
    {
1293
        return $this->out_of_business;
1294
    }
1295
    /**
1296
     * Set out_of_business value
1297
     * @param bool $out_of_business
1298
     * @return \Webservices\StructType\DNBQuickCheck
1299
     */
1300
    public function setOut_of_business($out_of_business = null)
1301
    {
1302
        // validation for constraint: boolean
1303
        if (!is_null($out_of_business) && !is_bool($out_of_business)) {
0 ignored issues
show
introduced by
The condition ! is_null($out_of_busine..._bool($out_of_business) can never be true.
Loading history...
1304
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($out_of_business)), __LINE__);
1305
        }
1306
        $this->out_of_business = $out_of_business;
1307
        return $this;
1308
    }
1309
    /**
1310
     * Get history_indicator value
1311
     * @return string|null
1312
     */
1313
    public function getHistory_indicator()
1314
    {
1315
        return $this->history_indicator;
1316
    }
1317
    /**
1318
     * Set history_indicator value
1319
     * @param string $history_indicator
1320
     * @return \Webservices\StructType\DNBQuickCheck
1321
     */
1322
    public function setHistory_indicator($history_indicator = null)
1323
    {
1324
        // validation for constraint: string
1325
        if (!is_null($history_indicator) && !is_string($history_indicator)) {
0 ignored issues
show
introduced by
The condition ! is_null($history_indic...ing($history_indicator) can never be true.
Loading history...
1326
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($history_indicator)), __LINE__);
1327
        }
1328
        $this->history_indicator = $history_indicator;
1329
        return $this;
1330
    }
1331
    /**
1332
     * Get history_description value
1333
     * @return string|null
1334
     */
1335
    public function getHistory_description()
1336
    {
1337
        return $this->history_description;
1338
    }
1339
    /**
1340
     * Set history_description value
1341
     * @param string $history_description
1342
     * @return \Webservices\StructType\DNBQuickCheck
1343
     */
1344
    public function setHistory_description($history_description = null)
1345
    {
1346
        // validation for constraint: string
1347
        if (!is_null($history_description) && !is_string($history_description)) {
0 ignored issues
show
introduced by
The condition ! is_null($history_descr...g($history_description) can never be true.
Loading history...
1348
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($history_description)), __LINE__);
1349
        }
1350
        $this->history_description = $history_description;
1351
        return $this;
1352
    }
1353
    /**
1354
     * Get income_statement_date value
1355
     * @return string|null
1356
     */
1357
    public function getIncome_statement_date()
1358
    {
1359
        return $this->income_statement_date;
1360
    }
1361
    /**
1362
     * Set income_statement_date value
1363
     * @param string $income_statement_date
1364
     * @return \Webservices\StructType\DNBQuickCheck
1365
     */
1366
    public function setIncome_statement_date($income_statement_date = null)
1367
    {
1368
        // validation for constraint: string
1369
        if (!is_null($income_statement_date) && !is_string($income_statement_date)) {
0 ignored issues
show
introduced by
The condition ! is_null($income_statem...$income_statement_date) can never be true.
Loading history...
1370
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($income_statement_date)), __LINE__);
1371
        }
1372
        $this->income_statement_date = $income_statement_date;
1373
        return $this;
1374
    }
1375
    /**
1376
     * Get income_statement_date_start value
1377
     * @return string|null
1378
     */
1379
    public function getIncome_statement_date_start()
1380
    {
1381
        return $this->income_statement_date_start;
1382
    }
1383
    /**
1384
     * Set income_statement_date_start value
1385
     * @param string $income_statement_date_start
1386
     * @return \Webservices\StructType\DNBQuickCheck
1387
     */
1388
    public function setIncome_statement_date_start($income_statement_date_start = null)
1389
    {
1390
        // validation for constraint: string
1391
        if (!is_null($income_statement_date_start) && !is_string($income_statement_date_start)) {
0 ignored issues
show
introduced by
The condition ! is_null($income_statem...e_statement_date_start) can never be true.
Loading history...
1392
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($income_statement_date_start)), __LINE__);
1393
        }
1394
        $this->income_statement_date_start = $income_statement_date_start;
1395
        return $this;
1396
    }
1397
    /**
1398
     * Get income_statement_date_end value
1399
     * @return string|null
1400
     */
1401
    public function getIncome_statement_date_end()
1402
    {
1403
        return $this->income_statement_date_end;
1404
    }
1405
    /**
1406
     * Set income_statement_date_end value
1407
     * @param string $income_statement_date_end
1408
     * @return \Webservices\StructType\DNBQuickCheck
1409
     */
1410
    public function setIncome_statement_date_end($income_statement_date_end = null)
1411
    {
1412
        // validation for constraint: string
1413
        if (!is_null($income_statement_date_end) && !is_string($income_statement_date_end)) {
0 ignored issues
show
introduced by
The condition ! is_null($income_statem...ome_statement_date_end) can never be true.
Loading history...
1414
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($income_statement_date_end)), __LINE__);
1415
        }
1416
        $this->income_statement_date_end = $income_statement_date_end;
1417
        return $this;
1418
    }
1419
    /**
1420
     * Get financial_statement_date value
1421
     * @return string|null
1422
     */
1423
    public function getFinancial_statement_date()
1424
    {
1425
        return $this->financial_statement_date;
1426
    }
1427
    /**
1428
     * Set financial_statement_date value
1429
     * @param string $financial_statement_date
1430
     * @return \Webservices\StructType\DNBQuickCheck
1431
     */
1432
    public function setFinancial_statement_date($financial_statement_date = null)
1433
    {
1434
        // validation for constraint: string
1435
        if (!is_null($financial_statement_date) && !is_string($financial_statement_date)) {
0 ignored issues
show
introduced by
The condition ! is_null($financial_sta...nancial_statement_date) can never be true.
Loading history...
1436
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($financial_statement_date)), __LINE__);
1437
        }
1438
        $this->financial_statement_date = $financial_statement_date;
1439
        return $this;
1440
    }
1441
    /**
1442
     * Get incorporation_year value
1443
     * @return int|null
1444
     */
1445
    public function getIncorporation_year()
1446
    {
1447
        return $this->incorporation_year;
1448
    }
1449
    /**
1450
     * Set incorporation_year value
1451
     * @param int $incorporation_year
1452
     * @return \Webservices\StructType\DNBQuickCheck
1453
     */
1454
    public function setIncorporation_year($incorporation_year = null)
1455
    {
1456
        // validation for constraint: int
1457
        if (!is_null($incorporation_year) && !is_numeric($incorporation_year)) {
0 ignored issues
show
introduced by
The condition ! is_null($incorporation...ic($incorporation_year) can never be true.
Loading history...
1458
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($incorporation_year)), __LINE__);
1459
        }
1460
        $this->incorporation_year = $incorporation_year;
1461
        return $this;
1462
    }
1463
    /**
1464
     * Get start_year value
1465
     * @return int|null
1466
     */
1467
    public function getStart_year()
1468
    {
1469
        return $this->start_year;
1470
    }
1471
    /**
1472
     * Set start_year value
1473
     * @param int $start_year
1474
     * @return \Webservices\StructType\DNBQuickCheck
1475
     */
1476
    public function setStart_year($start_year = null)
1477
    {
1478
        // validation for constraint: int
1479
        if (!is_null($start_year) && !is_numeric($start_year)) {
0 ignored issues
show
introduced by
The condition ! is_null($start_year) &...is_numeric($start_year) can never be true.
Loading history...
1480
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($start_year)), __LINE__);
1481
        }
1482
        $this->start_year = $start_year;
1483
        return $this;
1484
    }
1485
    /**
1486
     * Get current_control_year value
1487
     * @return int|null
1488
     */
1489
    public function getCurrent_control_year()
1490
    {
1491
        return $this->current_control_year;
1492
    }
1493
    /**
1494
     * Set current_control_year value
1495
     * @param int $current_control_year
1496
     * @return \Webservices\StructType\DNBQuickCheck
1497
     */
1498
    public function setCurrent_control_year($current_control_year = null)
1499
    {
1500
        // validation for constraint: int
1501
        if (!is_null($current_control_year) && !is_numeric($current_control_year)) {
0 ignored issues
show
introduced by
The condition ! is_null($current_contr...($current_control_year) can never be true.
Loading history...
1502
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($current_control_year)), __LINE__);
1503
        }
1504
        $this->current_control_year = $current_control_year;
1505
        return $this;
1506
    }
1507
    /**
1508
     * Get local_activity_code value
1509
     * @return string|null
1510
     */
1511
    public function getLocal_activity_code()
1512
    {
1513
        return $this->local_activity_code;
1514
    }
1515
    /**
1516
     * Set local_activity_code value
1517
     * @param string $local_activity_code
1518
     * @return \Webservices\StructType\DNBQuickCheck
1519
     */
1520
    public function setLocal_activity_code($local_activity_code = null)
1521
    {
1522
        // validation for constraint: string
1523
        if (!is_null($local_activity_code) && !is_string($local_activity_code)) {
0 ignored issues
show
introduced by
The condition ! is_null($local_activit...g($local_activity_code) can never be true.
Loading history...
1524
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($local_activity_code)), __LINE__);
1525
        }
1526
        $this->local_activity_code = $local_activity_code;
1527
        return $this;
1528
    }
1529
    /**
1530
     * Get local_activity_code_type value
1531
     * @return string|null
1532
     */
1533
    public function getLocal_activity_code_type()
1534
    {
1535
        return $this->local_activity_code_type;
1536
    }
1537
    /**
1538
     * Set local_activity_code_type value
1539
     * @param string $local_activity_code_type
1540
     * @return \Webservices\StructType\DNBQuickCheck
1541
     */
1542
    public function setLocal_activity_code_type($local_activity_code_type = null)
1543
    {
1544
        // validation for constraint: string
1545
        if (!is_null($local_activity_code_type) && !is_string($local_activity_code_type)) {
0 ignored issues
show
introduced by
The condition ! is_null($local_activit...cal_activity_code_type) can never be true.
Loading history...
1546
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($local_activity_code_type)), __LINE__);
1547
        }
1548
        $this->local_activity_code_type = $local_activity_code_type;
1549
        return $this;
1550
    }
1551
    /**
1552
     * Get local_activity_description value
1553
     * @return string|null
1554
     */
1555
    public function getLocal_activity_description()
1556
    {
1557
        return $this->local_activity_description;
1558
    }
1559
    /**
1560
     * Set local_activity_description value
1561
     * @param string $local_activity_description
1562
     * @return \Webservices\StructType\DNBQuickCheck
1563
     */
1564
    public function setLocal_activity_description($local_activity_description = null)
1565
    {
1566
        // validation for constraint: string
1567
        if (!is_null($local_activity_description) && !is_string($local_activity_description)) {
0 ignored issues
show
introduced by
The condition ! is_null($local_activit...l_activity_description) can never be true.
Loading history...
1568
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($local_activity_description)), __LINE__);
1569
        }
1570
        $this->local_activity_description = $local_activity_description;
1571
        return $this;
1572
    }
1573
    /**
1574
     * Get sic_activity_code value
1575
     * @return string|null
1576
     */
1577
    public function getSic_activity_code()
1578
    {
1579
        return $this->sic_activity_code;
1580
    }
1581
    /**
1582
     * Set sic_activity_code value
1583
     * @param string $sic_activity_code
1584
     * @return \Webservices\StructType\DNBQuickCheck
1585
     */
1586
    public function setSic_activity_code($sic_activity_code = null)
1587
    {
1588
        // validation for constraint: string
1589
        if (!is_null($sic_activity_code) && !is_string($sic_activity_code)) {
0 ignored issues
show
introduced by
The condition ! is_null($sic_activity_...ing($sic_activity_code) can never be true.
Loading history...
1590
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sic_activity_code)), __LINE__);
1591
        }
1592
        $this->sic_activity_code = $sic_activity_code;
1593
        return $this;
1594
    }
1595
    /**
1596
     * Get sic_activity_description value
1597
     * @return string|null
1598
     */
1599
    public function getSic_activity_description()
1600
    {
1601
        return $this->sic_activity_description;
1602
    }
1603
    /**
1604
     * Set sic_activity_description value
1605
     * @param string $sic_activity_description
1606
     * @return \Webservices\StructType\DNBQuickCheck
1607
     */
1608
    public function setSic_activity_description($sic_activity_description = null)
1609
    {
1610
        // validation for constraint: string
1611
        if (!is_null($sic_activity_description) && !is_string($sic_activity_description)) {
0 ignored issues
show
introduced by
The condition ! is_null($sic_activity_...c_activity_description) can never be true.
Loading history...
1612
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sic_activity_description)), __LINE__);
1613
        }
1614
        $this->sic_activity_description = $sic_activity_description;
1615
        return $this;
1616
    }
1617
    /**
1618
     * Get sic_version value
1619
     * @return string|null
1620
     */
1621
    public function getSic_version()
1622
    {
1623
        return $this->sic_version;
1624
    }
1625
    /**
1626
     * Set sic_version value
1627
     * @param string $sic_version
1628
     * @return \Webservices\StructType\DNBQuickCheck
1629
     */
1630
    public function setSic_version($sic_version = null)
1631
    {
1632
        // validation for constraint: string
1633
        if (!is_null($sic_version) && !is_string($sic_version)) {
0 ignored issues
show
introduced by
The condition ! is_null($sic_version) ...is_string($sic_version) can never be true.
Loading history...
1634
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($sic_version)), __LINE__);
1635
        }
1636
        $this->sic_version = $sic_version;
1637
        return $this;
1638
    }
1639
    /**
1640
     * Get legal_form value
1641
     * @return string|null
1642
     */
1643
    public function getLegal_form()
1644
    {
1645
        return $this->legal_form;
1646
    }
1647
    /**
1648
     * Set legal_form value
1649
     * @param string $legal_form
1650
     * @return \Webservices\StructType\DNBQuickCheck
1651
     */
1652
    public function setLegal_form($legal_form = null)
1653
    {
1654
        // validation for constraint: string
1655
        if (!is_null($legal_form) && !is_string($legal_form)) {
0 ignored issues
show
introduced by
The condition ! is_null($legal_form) &... is_string($legal_form) can never be true.
Loading history...
1656
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($legal_form)), __LINE__);
1657
        }
1658
        $this->legal_form = $legal_form;
1659
        return $this;
1660
    }
1661
    /**
1662
     * Get legal_form_description value
1663
     * @return string|null
1664
     */
1665
    public function getLegal_form_description()
1666
    {
1667
        return $this->legal_form_description;
1668
    }
1669
    /**
1670
     * Set legal_form_description value
1671
     * @param string $legal_form_description
1672
     * @return \Webservices\StructType\DNBQuickCheck
1673
     */
1674
    public function setLegal_form_description($legal_form_description = null)
1675
    {
1676
        // validation for constraint: string
1677
        if (!is_null($legal_form_description) && !is_string($legal_form_description)) {
0 ignored issues
show
introduced by
The condition ! is_null($legal_form_de...legal_form_description) can never be true.
Loading history...
1678
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($legal_form_description)), __LINE__);
1679
        }
1680
        $this->legal_form_description = $legal_form_description;
1681
        return $this;
1682
    }
1683
    /**
1684
     * Get paydex_norm value
1685
     * @return int|null
1686
     */
1687
    public function getPaydex_norm()
1688
    {
1689
        return $this->paydex_norm;
1690
    }
1691
    /**
1692
     * Set paydex_norm value
1693
     * @param int $paydex_norm
1694
     * @return \Webservices\StructType\DNBQuickCheck
1695
     */
1696
    public function setPaydex_norm($paydex_norm = null)
1697
    {
1698
        // validation for constraint: int
1699
        if (!is_null($paydex_norm) && !is_numeric($paydex_norm)) {
0 ignored issues
show
introduced by
The condition ! is_null($paydex_norm) ...s_numeric($paydex_norm) can never be true.
Loading history...
1700
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($paydex_norm)), __LINE__);
1701
        }
1702
        $this->paydex_norm = $paydex_norm;
1703
        return $this;
1704
    }
1705
    /**
1706
     * Get paydex_score value
1707
     * @return int|null
1708
     */
1709
    public function getPaydex_score()
1710
    {
1711
        return $this->paydex_score;
1712
    }
1713
    /**
1714
     * Set paydex_score value
1715
     * @param int $paydex_score
1716
     * @return \Webservices\StructType\DNBQuickCheck
1717
     */
1718
    public function setPaydex_score($paydex_score = null)
1719
    {
1720
        // validation for constraint: int
1721
        if (!is_null($paydex_score) && !is_numeric($paydex_score)) {
0 ignored issues
show
introduced by
The condition ! is_null($paydex_score)..._numeric($paydex_score) can never be true.
Loading history...
1722
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($paydex_score)), __LINE__);
1723
        }
1724
        $this->paydex_score = $paydex_score;
1725
        return $this;
1726
    }
1727
    /**
1728
     * Get dnb_rating value
1729
     * @return string|null
1730
     */
1731
    public function getDnb_rating()
1732
    {
1733
        return $this->dnb_rating;
1734
    }
1735
    /**
1736
     * Set dnb_rating value
1737
     * @param string $dnb_rating
1738
     * @return \Webservices\StructType\DNBQuickCheck
1739
     */
1740
    public function setDnb_rating($dnb_rating = null)
1741
    {
1742
        // validation for constraint: string
1743
        if (!is_null($dnb_rating) && !is_string($dnb_rating)) {
0 ignored issues
show
introduced by
The condition ! is_null($dnb_rating) &... is_string($dnb_rating) can never be true.
Loading history...
1744
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($dnb_rating)), __LINE__);
1745
        }
1746
        $this->dnb_rating = $dnb_rating;
1747
        return $this;
1748
    }
1749
    /**
1750
     * Get maximum_credit value
1751
     * @return int|null
1752
     */
1753
    public function getMaximum_credit()
1754
    {
1755
        return $this->maximum_credit;
1756
    }
1757
    /**
1758
     * Set maximum_credit value
1759
     * @param int $maximum_credit
1760
     * @return \Webservices\StructType\DNBQuickCheck
1761
     */
1762
    public function setMaximum_credit($maximum_credit = null)
1763
    {
1764
        // validation for constraint: int
1765
        if (!is_null($maximum_credit) && !is_numeric($maximum_credit)) {
0 ignored issues
show
introduced by
The condition ! is_null($maximum_credi...umeric($maximum_credit) can never be true.
Loading history...
1766
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($maximum_credit)), __LINE__);
1767
        }
1768
        $this->maximum_credit = $maximum_credit;
1769
        return $this;
1770
    }
1771
    /**
1772
     * Get maximum_credit_currency value
1773
     * @return string|null
1774
     */
1775
    public function getMaximum_credit_currency()
1776
    {
1777
        return $this->maximum_credit_currency;
1778
    }
1779
    /**
1780
     * Set maximum_credit_currency value
1781
     * @param string $maximum_credit_currency
1782
     * @return \Webservices\StructType\DNBQuickCheck
1783
     */
1784
    public function setMaximum_credit_currency($maximum_credit_currency = null)
1785
    {
1786
        // validation for constraint: string
1787
        if (!is_null($maximum_credit_currency) && !is_string($maximum_credit_currency)) {
0 ignored issues
show
introduced by
The condition ! is_null($maximum_credi...aximum_credit_currency) can never be true.
Loading history...
1788
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($maximum_credit_currency)), __LINE__);
1789
        }
1790
        $this->maximum_credit_currency = $maximum_credit_currency;
1791
        return $this;
1792
    }
1793
    /**
1794
     * Get intangible_assets value
1795
     * @return int|null
1796
     */
1797
    public function getIntangible_assets()
1798
    {
1799
        return $this->intangible_assets;
1800
    }
1801
    /**
1802
     * Set intangible_assets value
1803
     * @param int $intangible_assets
1804
     * @return \Webservices\StructType\DNBQuickCheck
1805
     */
1806
    public function setIntangible_assets($intangible_assets = null)
1807
    {
1808
        // validation for constraint: int
1809
        if (!is_null($intangible_assets) && !is_numeric($intangible_assets)) {
0 ignored issues
show
introduced by
The condition ! is_null($intangible_as...ric($intangible_assets) can never be true.
Loading history...
1810
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($intangible_assets)), __LINE__);
1811
        }
1812
        $this->intangible_assets = $intangible_assets;
1813
        return $this;
1814
    }
1815
    /**
1816
     * Get net_worth value
1817
     * @return int|null
1818
     */
1819
    public function getNet_worth()
1820
    {
1821
        return $this->net_worth;
1822
    }
1823
    /**
1824
     * Set net_worth value
1825
     * @param int $net_worth
1826
     * @return \Webservices\StructType\DNBQuickCheck
1827
     */
1828
    public function setNet_worth($net_worth = null)
1829
    {
1830
        // validation for constraint: int
1831
        if (!is_null($net_worth) && !is_numeric($net_worth)) {
0 ignored issues
show
introduced by
The condition ! is_null($net_worth) && ! is_numeric($net_worth) can never be true.
Loading history...
1832
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($net_worth)), __LINE__);
1833
        }
1834
        $this->net_worth = $net_worth;
1835
        return $this;
1836
    }
1837
    /**
1838
     * Get tangible_net_worth value
1839
     * @return \Webservices\StructType\DNBMonetaryAmount|null
1840
     */
1841
    public function getTangible_net_worth()
1842
    {
1843
        return $this->tangible_net_worth;
1844
    }
1845
    /**
1846
     * Set tangible_net_worth value
1847
     * @param \Webservices\StructType\DNBMonetaryAmount $tangible_net_worth
1848
     * @return \Webservices\StructType\DNBQuickCheck
1849
     */
1850
    public function setTangible_net_worth(\Webservices\StructType\DNBMonetaryAmount $tangible_net_worth = null)
1851
    {
1852
        $this->tangible_net_worth = $tangible_net_worth;
1853
        return $this;
1854
    }
1855
    /**
1856
     * Get sales value
1857
     * @return int|null
1858
     */
1859
    public function getSales()
1860
    {
1861
        return $this->sales;
1862
    }
1863
    /**
1864
     * Set sales value
1865
     * @param int $sales
1866
     * @return \Webservices\StructType\DNBQuickCheck
1867
     */
1868
    public function setSales($sales = null)
1869
    {
1870
        // validation for constraint: int
1871
        if (!is_null($sales) && !is_numeric($sales)) {
0 ignored issues
show
introduced by
The condition ! is_null($sales) && ! is_numeric($sales) can never be true.
Loading history...
1872
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($sales)), __LINE__);
1873
        }
1874
        $this->sales = $sales;
1875
        return $this;
1876
    }
1877
    /**
1878
     * Get annual_sales value
1879
     * @return \Webservices\StructType\DNBMonetaryAmount|null
1880
     */
1881
    public function getAnnual_sales()
1882
    {
1883
        return $this->annual_sales;
1884
    }
1885
    /**
1886
     * Set annual_sales value
1887
     * @param \Webservices\StructType\DNBMonetaryAmount $annual_sales
1888
     * @return \Webservices\StructType\DNBQuickCheck
1889
     */
1890
    public function setAnnual_sales(\Webservices\StructType\DNBMonetaryAmount $annual_sales = null)
1891
    {
1892
        $this->annual_sales = $annual_sales;
1893
        return $this;
1894
    }
1895
    /**
1896
     * Get employees_primary value
1897
     * @return \Webservices\StructType\DNBEmployeeCount|null
1898
     */
1899
    public function getEmployees_primary()
1900
    {
1901
        return $this->employees_primary;
1902
    }
1903
    /**
1904
     * Set employees_primary value
1905
     * @param \Webservices\StructType\DNBEmployeeCount $employees_primary
1906
     * @return \Webservices\StructType\DNBQuickCheck
1907
     */
1908
    public function setEmployees_primary(\Webservices\StructType\DNBEmployeeCount $employees_primary = null)
1909
    {
1910
        $this->employees_primary = $employees_primary;
1911
        return $this;
1912
    }
1913
    /**
1914
     * Get employees_total value
1915
     * @return \Webservices\StructType\DNBEmployeeCount|null
1916
     */
1917
    public function getEmployees_total()
1918
    {
1919
        return $this->employees_total;
1920
    }
1921
    /**
1922
     * Set employees_total value
1923
     * @param \Webservices\StructType\DNBEmployeeCount $employees_total
1924
     * @return \Webservices\StructType\DNBQuickCheck
1925
     */
1926
    public function setEmployees_total(\Webservices\StructType\DNBEmployeeCount $employees_total = null)
1927
    {
1928
        $this->employees_total = $employees_total;
1929
        return $this;
1930
    }
1931
    /**
1932
     * Get trade_names value
1933
     * @return \Webservices\ArrayType\StringArray|null
1934
     */
1935
    public function getTrade_names()
1936
    {
1937
        return $this->trade_names;
1938
    }
1939
    /**
1940
     * Set trade_names value
1941
     * @param \Webservices\ArrayType\StringArray $trade_names
1942
     * @return \Webservices\StructType\DNBQuickCheck
1943
     */
1944
    public function setTrade_names(\Webservices\ArrayType\StringArray $trade_names = null)
1945
    {
1946
        $this->trade_names = $trade_names;
1947
        return $this;
1948
    }
1949
    /**
1950
     * Method called when an object has been exported with var_export() functions
1951
     * It allows to return an object instantiated with the values
1952
     * @see AbstractStructBase::__set_state()
1953
     * @uses AbstractStructBase::__set_state()
1954
     * @param array $array the exported values
1955
     * @return \Webservices\StructType\DNBQuickCheck
1956
     */
1957
    public static function __set_state(array $array)
1958
    {
1959
        return parent::__set_state($array);
1960
    }
1961
    /**
1962
     * Method returning the class name
1963
     * @return string __CLASS__
1964
     */
1965
    public function __toString()
1966
    {
1967
        return __CLASS__;
1968
    }
1969
}
1970