DNBEnterpriseManagement::getLiquid_assets()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Webservices\StructType;
4
5
use \WsdlToPhp\PackageBase\AbstractStructBase;
6
7
/**
8
 * This class stands for DNBEnterpriseManagement StructType
9
 * @subpackage Structs
10
 * @author JCID <[email protected]>
11
 */
12
class DNBEnterpriseManagement extends AbstractStructBase
13
{
14
    /**
15
     * The quickcheck
16
     * @var \Webservices\StructType\DNBQuickCheck
17
     */
18
    public $quickcheck;
19
    /**
20
     * The main_branch_indication
21
     * Meta informations extracted from the WSDL
22
     * - minOccurs: 0
23
     * @var bool
24
     */
25
    public $main_branch_indication;
26
    /**
27
     * The indate_indicator
28
     * Meta informations extracted from the WSDL
29
     * - minOccurs: 0
30
     * @var bool
31
     */
32
    public $indate_indicator;
33
    /**
34
     * The registration_type
35
     * Meta informations extracted from the WSDL
36
     * - minOccurs: 0
37
     * @var string
38
     */
39
    public $registration_type;
40
    /**
41
     * The import_indicator
42
     * Meta informations extracted from the WSDL
43
     * - minOccurs: 0
44
     * @var bool
45
     */
46
    public $import_indicator;
47
    /**
48
     * The export_indicator
49
     * Meta informations extracted from the WSDL
50
     * - minOccurs: 0
51
     * @var bool
52
     */
53
    public $export_indicator;
54
    /**
55
     * The location_ownership
56
     * Meta informations extracted from the WSDL
57
     * - minOccurs: 0
58
     * @var string
59
     */
60
    public $location_ownership;
61
    /**
62
     * The claims_indicator
63
     * Meta informations extracted from the WSDL
64
     * - minOccurs: 0
65
     * @var bool
66
     */
67
    public $claims_indicator;
68
    /**
69
     * The paydex_score_earlier
70
     * Meta informations extracted from the WSDL
71
     * - minOccurs: 0
72
     * @var int
73
     */
74
    public $paydex_score_earlier;
75
    /**
76
     * The average_high_credit
77
     * Meta informations extracted from the WSDL
78
     * - minOccurs: 0
79
     * @var int
80
     */
81
    public $average_high_credit;
82
    /**
83
     * The high_credit
84
     * Meta informations extracted from the WSDL
85
     * - minOccurs: 0
86
     * @var int
87
     */
88
    public $high_credit;
89
    /**
90
     * The total_payments
91
     * Meta informations extracted from the WSDL
92
     * - minOccurs: 0
93
     * @var int
94
     */
95
    public $total_payments;
96
    /**
97
     * The headquarters
98
     * Meta informations extracted from the WSDL
99
     * - minOccurs: 0
100
     * @var \Webservices\StructType\DNBRelatedBusiness
101
     */
102
    public $headquarters;
103
    /**
104
     * The parent
105
     * Meta informations extracted from the WSDL
106
     * - minOccurs: 0
107
     * @var \Webservices\StructType\DNBRelatedBusiness
108
     */
109
    public $parent;
110
    /**
111
     * The domestic_ultimate
112
     * Meta informations extracted from the WSDL
113
     * - minOccurs: 0
114
     * @var \Webservices\StructType\DNBRelatedBusiness
115
     */
116
    public $domestic_ultimate;
117
    /**
118
     * The global_ultimate
119
     * Meta informations extracted from the WSDL
120
     * - minOccurs: 0
121
     * @var \Webservices\StructType\DNBRelatedBusiness
122
     */
123
    public $global_ultimate;
124
    /**
125
     * The is_subsidiary_location
126
     * Meta informations extracted from the WSDL
127
     * - minOccurs: 0
128
     * @var bool
129
     */
130
    public $is_subsidiary_location;
131
    /**
132
     * The location_status
133
     * Meta informations extracted from the WSDL
134
     * - minOccurs: 0
135
     * @var string
136
     */
137
    public $location_status;
138
    /**
139
     * The accounts_audited
140
     * Meta informations extracted from the WSDL
141
     * - minOccurs: 0
142
     * @var bool
143
     */
144
    public $accounts_audited;
145
    /**
146
     * The statement_consolidated
147
     * Meta informations extracted from the WSDL
148
     * - minOccurs: 0
149
     * @var bool
150
     */
151
    public $statement_consolidated;
152
    /**
153
     * The figures_estimated
154
     * Meta informations extracted from the WSDL
155
     * - minOccurs: 0
156
     * @var bool
157
     */
158
    public $figures_estimated;
159
    /**
160
     * The figures_forecast
161
     * Meta informations extracted from the WSDL
162
     * - minOccurs: 0
163
     * @var bool
164
     */
165
    public $figures_forecast;
166
    /**
167
     * The year_period
168
     * Meta informations extracted from the WSDL
169
     * - minOccurs: 0
170
     * @var bool
171
     */
172
    public $year_period;
173
    /**
174
     * The figures_final
175
     * Meta informations extracted from the WSDL
176
     * - minOccurs: 0
177
     * @var bool
178
     */
179
    public $figures_final;
180
    /**
181
     * The opening_statement
182
     * Meta informations extracted from the WSDL
183
     * - minOccurs: 0
184
     * @var bool
185
     */
186
    public $opening_statement;
187
    /**
188
     * The figures_proforma
189
     * Meta informations extracted from the WSDL
190
     * - minOccurs: 0
191
     * @var bool
192
     */
193
    public $figures_proforma;
194
    /**
195
     * The trial_balance
196
     * Meta informations extracted from the WSDL
197
     * - minOccurs: 0
198
     * @var bool
199
     */
200
    public $trial_balance;
201
    /**
202
     * The figures_signed
203
     * Meta informations extracted from the WSDL
204
     * - minOccurs: 0
205
     * @var bool
206
     */
207
    public $figures_signed;
208
    /**
209
     * The figures_restated
210
     * Meta informations extracted from the WSDL
211
     * - minOccurs: 0
212
     * @var bool
213
     */
214
    public $figures_restated;
215
    /**
216
     * The figures_unbalanced
217
     * Meta informations extracted from the WSDL
218
     * - minOccurs: 0
219
     * @var bool
220
     */
221
    public $figures_unbalanced;
222
    /**
223
     * The figures_qualified
224
     * Meta informations extracted from the WSDL
225
     * - minOccurs: 0
226
     * @var bool
227
     */
228
    public $figures_qualified;
229
    /**
230
     * The accounts_receivable
231
     * Meta informations extracted from the WSDL
232
     * - minOccurs: 0
233
     * @var int
234
     */
235
    public $accounts_receivable;
236
    /**
237
     * The liquid_assets
238
     * Meta informations extracted from the WSDL
239
     * - minOccurs: 0
240
     * @var int
241
     */
242
    public $liquid_assets;
243
    /**
244
     * The inventory
245
     * Meta informations extracted from the WSDL
246
     * - minOccurs: 0
247
     * @var int
248
     */
249
    public $inventory;
250
    /**
251
     * The total_current_assets
252
     * Meta informations extracted from the WSDL
253
     * - minOccurs: 0
254
     * @var int
255
     */
256
    public $total_current_assets;
257
    /**
258
     * The total_assets
259
     * Meta informations extracted from the WSDL
260
     * - minOccurs: 0
261
     * @var int
262
     */
263
    public $total_assets;
264
    /**
265
     * The accounts_payable
266
     * Meta informations extracted from the WSDL
267
     * - minOccurs: 0
268
     * @var int
269
     */
270
    public $accounts_payable;
271
    /**
272
     * The total_current_liabilities
273
     * Meta informations extracted from the WSDL
274
     * - minOccurs: 0
275
     * @var int
276
     */
277
    public $total_current_liabilities;
278
    /**
279
     * The total_liabilities
280
     * Meta informations extracted from the WSDL
281
     * - minOccurs: 0
282
     * @var int
283
     */
284
    public $total_liabilities;
285
    /**
286
     * The net_income
287
     * Meta informations extracted from the WSDL
288
     * - minOccurs: 0
289
     * @var int
290
     */
291
    public $net_income;
292
    /**
293
     * The quick_ratio
294
     * Meta informations extracted from the WSDL
295
     * - minOccurs: 0
296
     * @var float
297
     */
298
    public $quick_ratio;
299
    /**
300
     * The current_ratio
301
     * Meta informations extracted from the WSDL
302
     * - minOccurs: 0
303
     * @var float
304
     */
305
    public $current_ratio;
306
    /**
307
     * The previous_net_worth
308
     * Meta informations extracted from the WSDL
309
     * - minOccurs: 0
310
     * @var int
311
     */
312
    public $previous_net_worth;
313
    /**
314
     * The previous_sales
315
     * Meta informations extracted from the WSDL
316
     * - minOccurs: 0
317
     * @var int
318
     */
319
    public $previous_sales;
320
    /**
321
     * The previous_statement_date
322
     * Meta informations extracted from the WSDL
323
     * - minOccurs: 0
324
     * @var string
325
     */
326
    public $previous_statement_date;
327
    /**
328
     * The line_of_business
329
     * Meta informations extracted from the WSDL
330
     * - minOccurs: 0
331
     * @var string
332
     */
333
    public $line_of_business;
334
    /**
335
     * The failure_score
336
     * @var \Webservices\ArrayType\DNBScoreGroupArray
337
     */
338
    public $failure_score;
339
    /**
340
     * The credit_score
341
     * @var \Webservices\ArrayType\DNBScoreGroupArray
342
     */
343
    public $credit_score;
344
    /**
345
     * The global_failure_score
346
     * @var \Webservices\ArrayType\DNBScoreGroupArray
347
     */
348
    public $global_failure_score;
349
    /**
350
     * Constructor method for DNBEnterpriseManagement
351
     * @uses DNBEnterpriseManagement::setQuickcheck()
352
     * @uses DNBEnterpriseManagement::setMain_branch_indication()
353
     * @uses DNBEnterpriseManagement::setIndate_indicator()
354
     * @uses DNBEnterpriseManagement::setRegistration_type()
355
     * @uses DNBEnterpriseManagement::setImport_indicator()
356
     * @uses DNBEnterpriseManagement::setExport_indicator()
357
     * @uses DNBEnterpriseManagement::setLocation_ownership()
358
     * @uses DNBEnterpriseManagement::setClaims_indicator()
359
     * @uses DNBEnterpriseManagement::setPaydex_score_earlier()
360
     * @uses DNBEnterpriseManagement::setAverage_high_credit()
361
     * @uses DNBEnterpriseManagement::setHigh_credit()
362
     * @uses DNBEnterpriseManagement::setTotal_payments()
363
     * @uses DNBEnterpriseManagement::setHeadquarters()
364
     * @uses DNBEnterpriseManagement::setParent()
365
     * @uses DNBEnterpriseManagement::setDomestic_ultimate()
366
     * @uses DNBEnterpriseManagement::setGlobal_ultimate()
367
     * @uses DNBEnterpriseManagement::setIs_subsidiary_location()
368
     * @uses DNBEnterpriseManagement::setLocation_status()
369
     * @uses DNBEnterpriseManagement::setAccounts_audited()
370
     * @uses DNBEnterpriseManagement::setStatement_consolidated()
371
     * @uses DNBEnterpriseManagement::setFigures_estimated()
372
     * @uses DNBEnterpriseManagement::setFigures_forecast()
373
     * @uses DNBEnterpriseManagement::setYear_period()
374
     * @uses DNBEnterpriseManagement::setFigures_final()
375
     * @uses DNBEnterpriseManagement::setOpening_statement()
376
     * @uses DNBEnterpriseManagement::setFigures_proforma()
377
     * @uses DNBEnterpriseManagement::setTrial_balance()
378
     * @uses DNBEnterpriseManagement::setFigures_signed()
379
     * @uses DNBEnterpriseManagement::setFigures_restated()
380
     * @uses DNBEnterpriseManagement::setFigures_unbalanced()
381
     * @uses DNBEnterpriseManagement::setFigures_qualified()
382
     * @uses DNBEnterpriseManagement::setAccounts_receivable()
383
     * @uses DNBEnterpriseManagement::setLiquid_assets()
384
     * @uses DNBEnterpriseManagement::setInventory()
385
     * @uses DNBEnterpriseManagement::setTotal_current_assets()
386
     * @uses DNBEnterpriseManagement::setTotal_assets()
387
     * @uses DNBEnterpriseManagement::setAccounts_payable()
388
     * @uses DNBEnterpriseManagement::setTotal_current_liabilities()
389
     * @uses DNBEnterpriseManagement::setTotal_liabilities()
390
     * @uses DNBEnterpriseManagement::setNet_income()
391
     * @uses DNBEnterpriseManagement::setQuick_ratio()
392
     * @uses DNBEnterpriseManagement::setCurrent_ratio()
393
     * @uses DNBEnterpriseManagement::setPrevious_net_worth()
394
     * @uses DNBEnterpriseManagement::setPrevious_sales()
395
     * @uses DNBEnterpriseManagement::setPrevious_statement_date()
396
     * @uses DNBEnterpriseManagement::setLine_of_business()
397
     * @uses DNBEnterpriseManagement::setFailure_score()
398
     * @uses DNBEnterpriseManagement::setCredit_score()
399
     * @uses DNBEnterpriseManagement::setGlobal_failure_score()
400
     * @param \Webservices\StructType\DNBQuickCheck $quickcheck
401
     * @param bool $main_branch_indication
402
     * @param bool $indate_indicator
403
     * @param string $registration_type
404
     * @param bool $import_indicator
405
     * @param bool $export_indicator
406
     * @param string $location_ownership
407
     * @param bool $claims_indicator
408
     * @param int $paydex_score_earlier
409
     * @param int $average_high_credit
410
     * @param int $high_credit
411
     * @param int $total_payments
412
     * @param \Webservices\StructType\DNBRelatedBusiness $headquarters
413
     * @param \Webservices\StructType\DNBRelatedBusiness $parent
414
     * @param \Webservices\StructType\DNBRelatedBusiness $domestic_ultimate
415
     * @param \Webservices\StructType\DNBRelatedBusiness $global_ultimate
416
     * @param bool $is_subsidiary_location
417
     * @param string $location_status
418
     * @param bool $accounts_audited
419
     * @param bool $statement_consolidated
420
     * @param bool $figures_estimated
421
     * @param bool $figures_forecast
422
     * @param bool $year_period
423
     * @param bool $figures_final
424
     * @param bool $opening_statement
425
     * @param bool $figures_proforma
426
     * @param bool $trial_balance
427
     * @param bool $figures_signed
428
     * @param bool $figures_restated
429
     * @param bool $figures_unbalanced
430
     * @param bool $figures_qualified
431
     * @param int $accounts_receivable
432
     * @param int $liquid_assets
433
     * @param int $inventory
434
     * @param int $total_current_assets
435
     * @param int $total_assets
436
     * @param int $accounts_payable
437
     * @param int $total_current_liabilities
438
     * @param int $total_liabilities
439
     * @param int $net_income
440
     * @param float $quick_ratio
441
     * @param float $current_ratio
442
     * @param int $previous_net_worth
443
     * @param int $previous_sales
444
     * @param string $previous_statement_date
445
     * @param string $line_of_business
446
     * @param \Webservices\ArrayType\DNBScoreGroupArray $failure_score
447
     * @param \Webservices\ArrayType\DNBScoreGroupArray $credit_score
448
     * @param \Webservices\ArrayType\DNBScoreGroupArray $global_failure_score
449
     */
450
    public function __construct(\Webservices\StructType\DNBQuickCheck $quickcheck = null, $main_branch_indication = null, $indate_indicator = null, $registration_type = null, $import_indicator = null, $export_indicator = null, $location_ownership = null, $claims_indicator = null, $paydex_score_earlier = null, $average_high_credit = null, $high_credit = null, $total_payments = null, \Webservices\StructType\DNBRelatedBusiness $headquarters = null, \Webservices\StructType\DNBRelatedBusiness $parent = null, \Webservices\StructType\DNBRelatedBusiness $domestic_ultimate = null, \Webservices\StructType\DNBRelatedBusiness $global_ultimate = null, $is_subsidiary_location = null, $location_status = null, $accounts_audited = null, $statement_consolidated = null, $figures_estimated = null, $figures_forecast = null, $year_period = null, $figures_final = null, $opening_statement = null, $figures_proforma = null, $trial_balance = null, $figures_signed = null, $figures_restated = null, $figures_unbalanced = null, $figures_qualified = null, $accounts_receivable = null, $liquid_assets = null, $inventory = null, $total_current_assets = null, $total_assets = null, $accounts_payable = null, $total_current_liabilities = null, $total_liabilities = null, $net_income = null, $quick_ratio = null, $current_ratio = null, $previous_net_worth = null, $previous_sales = null, $previous_statement_date = null, $line_of_business = null, \Webservices\ArrayType\DNBScoreGroupArray $failure_score = null, \Webservices\ArrayType\DNBScoreGroupArray $credit_score = null, \Webservices\ArrayType\DNBScoreGroupArray $global_failure_score = null)
451
    {
452
        $this
453
            ->setQuickcheck($quickcheck)
454
            ->setMain_branch_indication($main_branch_indication)
455
            ->setIndate_indicator($indate_indicator)
456
            ->setRegistration_type($registration_type)
457
            ->setImport_indicator($import_indicator)
458
            ->setExport_indicator($export_indicator)
459
            ->setLocation_ownership($location_ownership)
460
            ->setClaims_indicator($claims_indicator)
461
            ->setPaydex_score_earlier($paydex_score_earlier)
462
            ->setAverage_high_credit($average_high_credit)
463
            ->setHigh_credit($high_credit)
464
            ->setTotal_payments($total_payments)
465
            ->setHeadquarters($headquarters)
466
            ->setParent($parent)
467
            ->setDomestic_ultimate($domestic_ultimate)
468
            ->setGlobal_ultimate($global_ultimate)
469
            ->setIs_subsidiary_location($is_subsidiary_location)
470
            ->setLocation_status($location_status)
471
            ->setAccounts_audited($accounts_audited)
472
            ->setStatement_consolidated($statement_consolidated)
473
            ->setFigures_estimated($figures_estimated)
474
            ->setFigures_forecast($figures_forecast)
475
            ->setYear_period($year_period)
476
            ->setFigures_final($figures_final)
477
            ->setOpening_statement($opening_statement)
478
            ->setFigures_proforma($figures_proforma)
479
            ->setTrial_balance($trial_balance)
480
            ->setFigures_signed($figures_signed)
481
            ->setFigures_restated($figures_restated)
482
            ->setFigures_unbalanced($figures_unbalanced)
483
            ->setFigures_qualified($figures_qualified)
484
            ->setAccounts_receivable($accounts_receivable)
485
            ->setLiquid_assets($liquid_assets)
486
            ->setInventory($inventory)
487
            ->setTotal_current_assets($total_current_assets)
488
            ->setTotal_assets($total_assets)
489
            ->setAccounts_payable($accounts_payable)
490
            ->setTotal_current_liabilities($total_current_liabilities)
491
            ->setTotal_liabilities($total_liabilities)
492
            ->setNet_income($net_income)
493
            ->setQuick_ratio($quick_ratio)
494
            ->setCurrent_ratio($current_ratio)
495
            ->setPrevious_net_worth($previous_net_worth)
496
            ->setPrevious_sales($previous_sales)
497
            ->setPrevious_statement_date($previous_statement_date)
498
            ->setLine_of_business($line_of_business)
499
            ->setFailure_score($failure_score)
500
            ->setCredit_score($credit_score)
501
            ->setGlobal_failure_score($global_failure_score);
502
    }
503
    /**
504
     * Get quickcheck value
505
     * @return \Webservices\StructType\DNBQuickCheck|null
506
     */
507
    public function getQuickcheck()
508
    {
509
        return $this->quickcheck;
510
    }
511
    /**
512
     * Set quickcheck value
513
     * @param \Webservices\StructType\DNBQuickCheck $quickcheck
514
     * @return \Webservices\StructType\DNBEnterpriseManagement
515
     */
516
    public function setQuickcheck(\Webservices\StructType\DNBQuickCheck $quickcheck = null)
517
    {
518
        $this->quickcheck = $quickcheck;
519
        return $this;
520
    }
521
    /**
522
     * Get main_branch_indication value
523
     * @return bool|null
524
     */
525
    public function getMain_branch_indication()
526
    {
527
        return $this->main_branch_indication;
528
    }
529
    /**
530
     * Set main_branch_indication value
531
     * @param bool $main_branch_indication
532
     * @return \Webservices\StructType\DNBEnterpriseManagement
533
     */
534
    public function setMain_branch_indication($main_branch_indication = null)
535
    {
536
        // validation for constraint: boolean
537
        if (!is_null($main_branch_indication) && !is_bool($main_branch_indication)) {
0 ignored issues
show
introduced by
The condition ! is_null($main_branch_i...main_branch_indication) can never be true.
Loading history...
538
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($main_branch_indication)), __LINE__);
539
        }
540
        $this->main_branch_indication = $main_branch_indication;
541
        return $this;
542
    }
543
    /**
544
     * Get indate_indicator value
545
     * @return bool|null
546
     */
547
    public function getIndate_indicator()
548
    {
549
        return $this->indate_indicator;
550
    }
551
    /**
552
     * Set indate_indicator value
553
     * @param bool $indate_indicator
554
     * @return \Webservices\StructType\DNBEnterpriseManagement
555
     */
556
    public function setIndate_indicator($indate_indicator = null)
557
    {
558
        // validation for constraint: boolean
559
        if (!is_null($indate_indicator) && !is_bool($indate_indicator)) {
0 ignored issues
show
introduced by
The condition ! is_null($indate_indica...bool($indate_indicator) can never be true.
Loading history...
560
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($indate_indicator)), __LINE__);
561
        }
562
        $this->indate_indicator = $indate_indicator;
563
        return $this;
564
    }
565
    /**
566
     * Get registration_type value
567
     * @return string|null
568
     */
569
    public function getRegistration_type()
570
    {
571
        return $this->registration_type;
572
    }
573
    /**
574
     * Set registration_type value
575
     * @param string $registration_type
576
     * @return \Webservices\StructType\DNBEnterpriseManagement
577
     */
578
    public function setRegistration_type($registration_type = null)
579
    {
580
        // validation for constraint: string
581
        if (!is_null($registration_type) && !is_string($registration_type)) {
0 ignored issues
show
introduced by
The condition ! is_null($registration_...ing($registration_type) can never be true.
Loading history...
582
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($registration_type)), __LINE__);
583
        }
584
        $this->registration_type = $registration_type;
585
        return $this;
586
    }
587
    /**
588
     * Get import_indicator value
589
     * @return bool|null
590
     */
591
    public function getImport_indicator()
592
    {
593
        return $this->import_indicator;
594
    }
595
    /**
596
     * Set import_indicator value
597
     * @param bool $import_indicator
598
     * @return \Webservices\StructType\DNBEnterpriseManagement
599
     */
600
    public function setImport_indicator($import_indicator = null)
601
    {
602
        // validation for constraint: boolean
603
        if (!is_null($import_indicator) && !is_bool($import_indicator)) {
0 ignored issues
show
introduced by
The condition ! is_null($import_indica...bool($import_indicator) can never be true.
Loading history...
604
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($import_indicator)), __LINE__);
605
        }
606
        $this->import_indicator = $import_indicator;
607
        return $this;
608
    }
609
    /**
610
     * Get export_indicator value
611
     * @return bool|null
612
     */
613
    public function getExport_indicator()
614
    {
615
        return $this->export_indicator;
616
    }
617
    /**
618
     * Set export_indicator value
619
     * @param bool $export_indicator
620
     * @return \Webservices\StructType\DNBEnterpriseManagement
621
     */
622
    public function setExport_indicator($export_indicator = null)
623
    {
624
        // validation for constraint: boolean
625
        if (!is_null($export_indicator) && !is_bool($export_indicator)) {
0 ignored issues
show
introduced by
The condition ! is_null($export_indica...bool($export_indicator) can never be true.
Loading history...
626
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($export_indicator)), __LINE__);
627
        }
628
        $this->export_indicator = $export_indicator;
629
        return $this;
630
    }
631
    /**
632
     * Get location_ownership value
633
     * @return string|null
634
     */
635
    public function getLocation_ownership()
636
    {
637
        return $this->location_ownership;
638
    }
639
    /**
640
     * Set location_ownership value
641
     * @param string $location_ownership
642
     * @return \Webservices\StructType\DNBEnterpriseManagement
643
     */
644
    public function setLocation_ownership($location_ownership = null)
645
    {
646
        // validation for constraint: string
647
        if (!is_null($location_ownership) && !is_string($location_ownership)) {
0 ignored issues
show
introduced by
The condition ! is_null($location_owne...ng($location_ownership) can never be true.
Loading history...
648
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($location_ownership)), __LINE__);
649
        }
650
        $this->location_ownership = $location_ownership;
651
        return $this;
652
    }
653
    /**
654
     * Get claims_indicator value
655
     * @return bool|null
656
     */
657
    public function getClaims_indicator()
658
    {
659
        return $this->claims_indicator;
660
    }
661
    /**
662
     * Set claims_indicator value
663
     * @param bool $claims_indicator
664
     * @return \Webservices\StructType\DNBEnterpriseManagement
665
     */
666
    public function setClaims_indicator($claims_indicator = null)
667
    {
668
        // validation for constraint: boolean
669
        if (!is_null($claims_indicator) && !is_bool($claims_indicator)) {
0 ignored issues
show
introduced by
The condition ! is_null($claims_indica...bool($claims_indicator) can never be true.
Loading history...
670
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($claims_indicator)), __LINE__);
671
        }
672
        $this->claims_indicator = $claims_indicator;
673
        return $this;
674
    }
675
    /**
676
     * Get paydex_score_earlier value
677
     * @return int|null
678
     */
679
    public function getPaydex_score_earlier()
680
    {
681
        return $this->paydex_score_earlier;
682
    }
683
    /**
684
     * Set paydex_score_earlier value
685
     * @param int $paydex_score_earlier
686
     * @return \Webservices\StructType\DNBEnterpriseManagement
687
     */
688
    public function setPaydex_score_earlier($paydex_score_earlier = null)
689
    {
690
        // validation for constraint: int
691
        if (!is_null($paydex_score_earlier) && !is_numeric($paydex_score_earlier)) {
0 ignored issues
show
introduced by
The condition ! is_null($paydex_score_...($paydex_score_earlier) can never be true.
Loading history...
692
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($paydex_score_earlier)), __LINE__);
693
        }
694
        $this->paydex_score_earlier = $paydex_score_earlier;
695
        return $this;
696
    }
697
    /**
698
     * Get average_high_credit value
699
     * @return int|null
700
     */
701
    public function getAverage_high_credit()
702
    {
703
        return $this->average_high_credit;
704
    }
705
    /**
706
     * Set average_high_credit value
707
     * @param int $average_high_credit
708
     * @return \Webservices\StructType\DNBEnterpriseManagement
709
     */
710
    public function setAverage_high_credit($average_high_credit = null)
711
    {
712
        // validation for constraint: int
713
        if (!is_null($average_high_credit) && !is_numeric($average_high_credit)) {
0 ignored issues
show
introduced by
The condition ! is_null($average_high_...c($average_high_credit) can never be true.
Loading history...
714
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($average_high_credit)), __LINE__);
715
        }
716
        $this->average_high_credit = $average_high_credit;
717
        return $this;
718
    }
719
    /**
720
     * Get high_credit value
721
     * @return int|null
722
     */
723
    public function getHigh_credit()
724
    {
725
        return $this->high_credit;
726
    }
727
    /**
728
     * Set high_credit value
729
     * @param int $high_credit
730
     * @return \Webservices\StructType\DNBEnterpriseManagement
731
     */
732
    public function setHigh_credit($high_credit = null)
733
    {
734
        // validation for constraint: int
735
        if (!is_null($high_credit) && !is_numeric($high_credit)) {
0 ignored issues
show
introduced by
The condition ! is_null($high_credit) ...s_numeric($high_credit) can never be true.
Loading history...
736
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($high_credit)), __LINE__);
737
        }
738
        $this->high_credit = $high_credit;
739
        return $this;
740
    }
741
    /**
742
     * Get total_payments value
743
     * @return int|null
744
     */
745
    public function getTotal_payments()
746
    {
747
        return $this->total_payments;
748
    }
749
    /**
750
     * Set total_payments value
751
     * @param int $total_payments
752
     * @return \Webservices\StructType\DNBEnterpriseManagement
753
     */
754
    public function setTotal_payments($total_payments = null)
755
    {
756
        // validation for constraint: int
757
        if (!is_null($total_payments) && !is_numeric($total_payments)) {
0 ignored issues
show
introduced by
The condition ! is_null($total_payment...umeric($total_payments) can never be true.
Loading history...
758
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($total_payments)), __LINE__);
759
        }
760
        $this->total_payments = $total_payments;
761
        return $this;
762
    }
763
    /**
764
     * Get headquarters value
765
     * @return \Webservices\StructType\DNBRelatedBusiness|null
766
     */
767
    public function getHeadquarters()
768
    {
769
        return $this->headquarters;
770
    }
771
    /**
772
     * Set headquarters value
773
     * @param \Webservices\StructType\DNBRelatedBusiness $headquarters
774
     * @return \Webservices\StructType\DNBEnterpriseManagement
775
     */
776
    public function setHeadquarters(\Webservices\StructType\DNBRelatedBusiness $headquarters = null)
777
    {
778
        $this->headquarters = $headquarters;
779
        return $this;
780
    }
781
    /**
782
     * Get parent value
783
     * @return \Webservices\StructType\DNBRelatedBusiness|null
784
     */
785
    public function getParent()
786
    {
787
        return $this->parent;
788
    }
789
    /**
790
     * Set parent value
791
     * @param \Webservices\StructType\DNBRelatedBusiness $parent
792
     * @return \Webservices\StructType\DNBEnterpriseManagement
793
     */
794
    public function setParent(\Webservices\StructType\DNBRelatedBusiness $parent = null)
795
    {
796
        $this->parent = $parent;
797
        return $this;
798
    }
799
    /**
800
     * Get domestic_ultimate value
801
     * @return \Webservices\StructType\DNBRelatedBusiness|null
802
     */
803
    public function getDomestic_ultimate()
804
    {
805
        return $this->domestic_ultimate;
806
    }
807
    /**
808
     * Set domestic_ultimate value
809
     * @param \Webservices\StructType\DNBRelatedBusiness $domestic_ultimate
810
     * @return \Webservices\StructType\DNBEnterpriseManagement
811
     */
812
    public function setDomestic_ultimate(\Webservices\StructType\DNBRelatedBusiness $domestic_ultimate = null)
813
    {
814
        $this->domestic_ultimate = $domestic_ultimate;
815
        return $this;
816
    }
817
    /**
818
     * Get global_ultimate value
819
     * @return \Webservices\StructType\DNBRelatedBusiness|null
820
     */
821
    public function getGlobal_ultimate()
822
    {
823
        return $this->global_ultimate;
824
    }
825
    /**
826
     * Set global_ultimate value
827
     * @param \Webservices\StructType\DNBRelatedBusiness $global_ultimate
828
     * @return \Webservices\StructType\DNBEnterpriseManagement
829
     */
830
    public function setGlobal_ultimate(\Webservices\StructType\DNBRelatedBusiness $global_ultimate = null)
831
    {
832
        $this->global_ultimate = $global_ultimate;
833
        return $this;
834
    }
835
    /**
836
     * Get is_subsidiary_location value
837
     * @return bool|null
838
     */
839
    public function getIs_subsidiary_location()
840
    {
841
        return $this->is_subsidiary_location;
842
    }
843
    /**
844
     * Set is_subsidiary_location value
845
     * @param bool $is_subsidiary_location
846
     * @return \Webservices\StructType\DNBEnterpriseManagement
847
     */
848
    public function setIs_subsidiary_location($is_subsidiary_location = null)
849
    {
850
        // validation for constraint: boolean
851
        if (!is_null($is_subsidiary_location) && !is_bool($is_subsidiary_location)) {
0 ignored issues
show
introduced by
The condition ! is_null($is_subsidiary...is_subsidiary_location) can never be true.
Loading history...
852
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($is_subsidiary_location)), __LINE__);
853
        }
854
        $this->is_subsidiary_location = $is_subsidiary_location;
855
        return $this;
856
    }
857
    /**
858
     * Get location_status value
859
     * @return string|null
860
     */
861
    public function getLocation_status()
862
    {
863
        return $this->location_status;
864
    }
865
    /**
866
     * Set location_status value
867
     * @param string $location_status
868
     * @return \Webservices\StructType\DNBEnterpriseManagement
869
     */
870
    public function setLocation_status($location_status = null)
871
    {
872
        // validation for constraint: string
873
        if (!is_null($location_status) && !is_string($location_status)) {
0 ignored issues
show
introduced by
The condition ! is_null($location_stat...tring($location_status) can never be true.
Loading history...
874
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($location_status)), __LINE__);
875
        }
876
        $this->location_status = $location_status;
877
        return $this;
878
    }
879
    /**
880
     * Get accounts_audited value
881
     * @return bool|null
882
     */
883
    public function getAccounts_audited()
884
    {
885
        return $this->accounts_audited;
886
    }
887
    /**
888
     * Set accounts_audited value
889
     * @param bool $accounts_audited
890
     * @return \Webservices\StructType\DNBEnterpriseManagement
891
     */
892
    public function setAccounts_audited($accounts_audited = null)
893
    {
894
        // validation for constraint: boolean
895
        if (!is_null($accounts_audited) && !is_bool($accounts_audited)) {
0 ignored issues
show
introduced by
The condition ! is_null($accounts_audi...bool($accounts_audited) can never be true.
Loading history...
896
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($accounts_audited)), __LINE__);
897
        }
898
        $this->accounts_audited = $accounts_audited;
899
        return $this;
900
    }
901
    /**
902
     * Get statement_consolidated value
903
     * @return bool|null
904
     */
905
    public function getStatement_consolidated()
906
    {
907
        return $this->statement_consolidated;
908
    }
909
    /**
910
     * Set statement_consolidated value
911
     * @param bool $statement_consolidated
912
     * @return \Webservices\StructType\DNBEnterpriseManagement
913
     */
914
    public function setStatement_consolidated($statement_consolidated = null)
915
    {
916
        // validation for constraint: boolean
917
        if (!is_null($statement_consolidated) && !is_bool($statement_consolidated)) {
0 ignored issues
show
introduced by
The condition ! is_null($statement_con...statement_consolidated) can never be true.
Loading history...
918
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($statement_consolidated)), __LINE__);
919
        }
920
        $this->statement_consolidated = $statement_consolidated;
921
        return $this;
922
    }
923
    /**
924
     * Get figures_estimated value
925
     * @return bool|null
926
     */
927
    public function getFigures_estimated()
928
    {
929
        return $this->figures_estimated;
930
    }
931
    /**
932
     * Set figures_estimated value
933
     * @param bool $figures_estimated
934
     * @return \Webservices\StructType\DNBEnterpriseManagement
935
     */
936
    public function setFigures_estimated($figures_estimated = null)
937
    {
938
        // validation for constraint: boolean
939
        if (!is_null($figures_estimated) && !is_bool($figures_estimated)) {
0 ignored issues
show
introduced by
The condition ! is_null($figures_estim...ool($figures_estimated) can never be true.
Loading history...
940
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($figures_estimated)), __LINE__);
941
        }
942
        $this->figures_estimated = $figures_estimated;
943
        return $this;
944
    }
945
    /**
946
     * Get figures_forecast value
947
     * @return bool|null
948
     */
949
    public function getFigures_forecast()
950
    {
951
        return $this->figures_forecast;
952
    }
953
    /**
954
     * Set figures_forecast value
955
     * @param bool $figures_forecast
956
     * @return \Webservices\StructType\DNBEnterpriseManagement
957
     */
958
    public function setFigures_forecast($figures_forecast = null)
959
    {
960
        // validation for constraint: boolean
961
        if (!is_null($figures_forecast) && !is_bool($figures_forecast)) {
0 ignored issues
show
introduced by
The condition ! is_null($figures_forec...bool($figures_forecast) can never be true.
Loading history...
962
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($figures_forecast)), __LINE__);
963
        }
964
        $this->figures_forecast = $figures_forecast;
965
        return $this;
966
    }
967
    /**
968
     * Get year_period value
969
     * @return bool|null
970
     */
971
    public function getYear_period()
972
    {
973
        return $this->year_period;
974
    }
975
    /**
976
     * Set year_period value
977
     * @param bool $year_period
978
     * @return \Webservices\StructType\DNBEnterpriseManagement
979
     */
980
    public function setYear_period($year_period = null)
981
    {
982
        // validation for constraint: boolean
983
        if (!is_null($year_period) && !is_bool($year_period)) {
0 ignored issues
show
introduced by
The condition ! is_null($year_period) ...! is_bool($year_period) can never be true.
Loading history...
984
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($year_period)), __LINE__);
985
        }
986
        $this->year_period = $year_period;
987
        return $this;
988
    }
989
    /**
990
     * Get figures_final value
991
     * @return bool|null
992
     */
993
    public function getFigures_final()
994
    {
995
        return $this->figures_final;
996
    }
997
    /**
998
     * Set figures_final value
999
     * @param bool $figures_final
1000
     * @return \Webservices\StructType\DNBEnterpriseManagement
1001
     */
1002
    public function setFigures_final($figures_final = null)
1003
    {
1004
        // validation for constraint: boolean
1005
        if (!is_null($figures_final) && !is_bool($figures_final)) {
0 ignored issues
show
introduced by
The condition ! is_null($figures_final...is_bool($figures_final) can never be true.
Loading history...
1006
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($figures_final)), __LINE__);
1007
        }
1008
        $this->figures_final = $figures_final;
1009
        return $this;
1010
    }
1011
    /**
1012
     * Get opening_statement value
1013
     * @return bool|null
1014
     */
1015
    public function getOpening_statement()
1016
    {
1017
        return $this->opening_statement;
1018
    }
1019
    /**
1020
     * Set opening_statement value
1021
     * @param bool $opening_statement
1022
     * @return \Webservices\StructType\DNBEnterpriseManagement
1023
     */
1024
    public function setOpening_statement($opening_statement = null)
1025
    {
1026
        // validation for constraint: boolean
1027
        if (!is_null($opening_statement) && !is_bool($opening_statement)) {
0 ignored issues
show
introduced by
The condition ! is_null($opening_state...ool($opening_statement) can never be true.
Loading history...
1028
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($opening_statement)), __LINE__);
1029
        }
1030
        $this->opening_statement = $opening_statement;
1031
        return $this;
1032
    }
1033
    /**
1034
     * Get figures_proforma value
1035
     * @return bool|null
1036
     */
1037
    public function getFigures_proforma()
1038
    {
1039
        return $this->figures_proforma;
1040
    }
1041
    /**
1042
     * Set figures_proforma value
1043
     * @param bool $figures_proforma
1044
     * @return \Webservices\StructType\DNBEnterpriseManagement
1045
     */
1046
    public function setFigures_proforma($figures_proforma = null)
1047
    {
1048
        // validation for constraint: boolean
1049
        if (!is_null($figures_proforma) && !is_bool($figures_proforma)) {
0 ignored issues
show
introduced by
The condition ! is_null($figures_profo...bool($figures_proforma) can never be true.
Loading history...
1050
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($figures_proforma)), __LINE__);
1051
        }
1052
        $this->figures_proforma = $figures_proforma;
1053
        return $this;
1054
    }
1055
    /**
1056
     * Get trial_balance value
1057
     * @return bool|null
1058
     */
1059
    public function getTrial_balance()
1060
    {
1061
        return $this->trial_balance;
1062
    }
1063
    /**
1064
     * Set trial_balance value
1065
     * @param bool $trial_balance
1066
     * @return \Webservices\StructType\DNBEnterpriseManagement
1067
     */
1068
    public function setTrial_balance($trial_balance = null)
1069
    {
1070
        // validation for constraint: boolean
1071
        if (!is_null($trial_balance) && !is_bool($trial_balance)) {
0 ignored issues
show
introduced by
The condition ! is_null($trial_balance...is_bool($trial_balance) can never be true.
Loading history...
1072
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($trial_balance)), __LINE__);
1073
        }
1074
        $this->trial_balance = $trial_balance;
1075
        return $this;
1076
    }
1077
    /**
1078
     * Get figures_signed value
1079
     * @return bool|null
1080
     */
1081
    public function getFigures_signed()
1082
    {
1083
        return $this->figures_signed;
1084
    }
1085
    /**
1086
     * Set figures_signed value
1087
     * @param bool $figures_signed
1088
     * @return \Webservices\StructType\DNBEnterpriseManagement
1089
     */
1090
    public function setFigures_signed($figures_signed = null)
1091
    {
1092
        // validation for constraint: boolean
1093
        if (!is_null($figures_signed) && !is_bool($figures_signed)) {
0 ignored issues
show
introduced by
The condition ! is_null($figures_signe...s_bool($figures_signed) can never be true.
Loading history...
1094
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($figures_signed)), __LINE__);
1095
        }
1096
        $this->figures_signed = $figures_signed;
1097
        return $this;
1098
    }
1099
    /**
1100
     * Get figures_restated value
1101
     * @return bool|null
1102
     */
1103
    public function getFigures_restated()
1104
    {
1105
        return $this->figures_restated;
1106
    }
1107
    /**
1108
     * Set figures_restated value
1109
     * @param bool $figures_restated
1110
     * @return \Webservices\StructType\DNBEnterpriseManagement
1111
     */
1112
    public function setFigures_restated($figures_restated = null)
1113
    {
1114
        // validation for constraint: boolean
1115
        if (!is_null($figures_restated) && !is_bool($figures_restated)) {
0 ignored issues
show
introduced by
The condition ! is_null($figures_resta...bool($figures_restated) can never be true.
Loading history...
1116
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($figures_restated)), __LINE__);
1117
        }
1118
        $this->figures_restated = $figures_restated;
1119
        return $this;
1120
    }
1121
    /**
1122
     * Get figures_unbalanced value
1123
     * @return bool|null
1124
     */
1125
    public function getFigures_unbalanced()
1126
    {
1127
        return $this->figures_unbalanced;
1128
    }
1129
    /**
1130
     * Set figures_unbalanced value
1131
     * @param bool $figures_unbalanced
1132
     * @return \Webservices\StructType\DNBEnterpriseManagement
1133
     */
1134
    public function setFigures_unbalanced($figures_unbalanced = null)
1135
    {
1136
        // validation for constraint: boolean
1137
        if (!is_null($figures_unbalanced) && !is_bool($figures_unbalanced)) {
0 ignored issues
show
introduced by
The condition ! is_null($figures_unbal...ol($figures_unbalanced) can never be true.
Loading history...
1138
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($figures_unbalanced)), __LINE__);
1139
        }
1140
        $this->figures_unbalanced = $figures_unbalanced;
1141
        return $this;
1142
    }
1143
    /**
1144
     * Get figures_qualified value
1145
     * @return bool|null
1146
     */
1147
    public function getFigures_qualified()
1148
    {
1149
        return $this->figures_qualified;
1150
    }
1151
    /**
1152
     * Set figures_qualified value
1153
     * @param bool $figures_qualified
1154
     * @return \Webservices\StructType\DNBEnterpriseManagement
1155
     */
1156
    public function setFigures_qualified($figures_qualified = null)
1157
    {
1158
        // validation for constraint: boolean
1159
        if (!is_null($figures_qualified) && !is_bool($figures_qualified)) {
0 ignored issues
show
introduced by
The condition ! is_null($figures_quali...ool($figures_qualified) can never be true.
Loading history...
1160
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($figures_qualified)), __LINE__);
1161
        }
1162
        $this->figures_qualified = $figures_qualified;
1163
        return $this;
1164
    }
1165
    /**
1166
     * Get accounts_receivable value
1167
     * @return int|null
1168
     */
1169
    public function getAccounts_receivable()
1170
    {
1171
        return $this->accounts_receivable;
1172
    }
1173
    /**
1174
     * Set accounts_receivable value
1175
     * @param int $accounts_receivable
1176
     * @return \Webservices\StructType\DNBEnterpriseManagement
1177
     */
1178
    public function setAccounts_receivable($accounts_receivable = null)
1179
    {
1180
        // validation for constraint: int
1181
        if (!is_null($accounts_receivable) && !is_numeric($accounts_receivable)) {
0 ignored issues
show
introduced by
The condition ! is_null($accounts_rece...c($accounts_receivable) can never be true.
Loading history...
1182
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($accounts_receivable)), __LINE__);
1183
        }
1184
        $this->accounts_receivable = $accounts_receivable;
1185
        return $this;
1186
    }
1187
    /**
1188
     * Get liquid_assets value
1189
     * @return int|null
1190
     */
1191
    public function getLiquid_assets()
1192
    {
1193
        return $this->liquid_assets;
1194
    }
1195
    /**
1196
     * Set liquid_assets value
1197
     * @param int $liquid_assets
1198
     * @return \Webservices\StructType\DNBEnterpriseManagement
1199
     */
1200
    public function setLiquid_assets($liquid_assets = null)
1201
    {
1202
        // validation for constraint: int
1203
        if (!is_null($liquid_assets) && !is_numeric($liquid_assets)) {
0 ignored issues
show
introduced by
The condition ! is_null($liquid_assets...numeric($liquid_assets) can never be true.
Loading history...
1204
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($liquid_assets)), __LINE__);
1205
        }
1206
        $this->liquid_assets = $liquid_assets;
1207
        return $this;
1208
    }
1209
    /**
1210
     * Get inventory value
1211
     * @return int|null
1212
     */
1213
    public function getInventory()
1214
    {
1215
        return $this->inventory;
1216
    }
1217
    /**
1218
     * Set inventory value
1219
     * @param int $inventory
1220
     * @return \Webservices\StructType\DNBEnterpriseManagement
1221
     */
1222
    public function setInventory($inventory = null)
1223
    {
1224
        // validation for constraint: int
1225
        if (!is_null($inventory) && !is_numeric($inventory)) {
0 ignored issues
show
introduced by
The condition ! is_null($inventory) && ! is_numeric($inventory) can never be true.
Loading history...
1226
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($inventory)), __LINE__);
1227
        }
1228
        $this->inventory = $inventory;
1229
        return $this;
1230
    }
1231
    /**
1232
     * Get total_current_assets value
1233
     * @return int|null
1234
     */
1235
    public function getTotal_current_assets()
1236
    {
1237
        return $this->total_current_assets;
1238
    }
1239
    /**
1240
     * Set total_current_assets value
1241
     * @param int $total_current_assets
1242
     * @return \Webservices\StructType\DNBEnterpriseManagement
1243
     */
1244
    public function setTotal_current_assets($total_current_assets = null)
1245
    {
1246
        // validation for constraint: int
1247
        if (!is_null($total_current_assets) && !is_numeric($total_current_assets)) {
0 ignored issues
show
introduced by
The condition ! is_null($total_current...($total_current_assets) can never be true.
Loading history...
1248
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($total_current_assets)), __LINE__);
1249
        }
1250
        $this->total_current_assets = $total_current_assets;
1251
        return $this;
1252
    }
1253
    /**
1254
     * Get total_assets value
1255
     * @return int|null
1256
     */
1257
    public function getTotal_assets()
1258
    {
1259
        return $this->total_assets;
1260
    }
1261
    /**
1262
     * Set total_assets value
1263
     * @param int $total_assets
1264
     * @return \Webservices\StructType\DNBEnterpriseManagement
1265
     */
1266
    public function setTotal_assets($total_assets = null)
1267
    {
1268
        // validation for constraint: int
1269
        if (!is_null($total_assets) && !is_numeric($total_assets)) {
0 ignored issues
show
introduced by
The condition ! is_null($total_assets)..._numeric($total_assets) can never be true.
Loading history...
1270
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($total_assets)), __LINE__);
1271
        }
1272
        $this->total_assets = $total_assets;
1273
        return $this;
1274
    }
1275
    /**
1276
     * Get accounts_payable value
1277
     * @return int|null
1278
     */
1279
    public function getAccounts_payable()
1280
    {
1281
        return $this->accounts_payable;
1282
    }
1283
    /**
1284
     * Set accounts_payable value
1285
     * @param int $accounts_payable
1286
     * @return \Webservices\StructType\DNBEnterpriseManagement
1287
     */
1288
    public function setAccounts_payable($accounts_payable = null)
1289
    {
1290
        // validation for constraint: int
1291
        if (!is_null($accounts_payable) && !is_numeric($accounts_payable)) {
0 ignored issues
show
introduced by
The condition ! is_null($accounts_paya...eric($accounts_payable) can never be true.
Loading history...
1292
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($accounts_payable)), __LINE__);
1293
        }
1294
        $this->accounts_payable = $accounts_payable;
1295
        return $this;
1296
    }
1297
    /**
1298
     * Get total_current_liabilities value
1299
     * @return int|null
1300
     */
1301
    public function getTotal_current_liabilities()
1302
    {
1303
        return $this->total_current_liabilities;
1304
    }
1305
    /**
1306
     * Set total_current_liabilities value
1307
     * @param int $total_current_liabilities
1308
     * @return \Webservices\StructType\DNBEnterpriseManagement
1309
     */
1310
    public function setTotal_current_liabilities($total_current_liabilities = null)
1311
    {
1312
        // validation for constraint: int
1313
        if (!is_null($total_current_liabilities) && !is_numeric($total_current_liabilities)) {
0 ignored issues
show
introduced by
The condition ! is_null($total_current...al_current_liabilities) can never be true.
Loading history...
1314
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($total_current_liabilities)), __LINE__);
1315
        }
1316
        $this->total_current_liabilities = $total_current_liabilities;
1317
        return $this;
1318
    }
1319
    /**
1320
     * Get total_liabilities value
1321
     * @return int|null
1322
     */
1323
    public function getTotal_liabilities()
1324
    {
1325
        return $this->total_liabilities;
1326
    }
1327
    /**
1328
     * Set total_liabilities value
1329
     * @param int $total_liabilities
1330
     * @return \Webservices\StructType\DNBEnterpriseManagement
1331
     */
1332
    public function setTotal_liabilities($total_liabilities = null)
1333
    {
1334
        // validation for constraint: int
1335
        if (!is_null($total_liabilities) && !is_numeric($total_liabilities)) {
0 ignored issues
show
introduced by
The condition ! is_null($total_liabili...ric($total_liabilities) can never be true.
Loading history...
1336
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($total_liabilities)), __LINE__);
1337
        }
1338
        $this->total_liabilities = $total_liabilities;
1339
        return $this;
1340
    }
1341
    /**
1342
     * Get net_income value
1343
     * @return int|null
1344
     */
1345
    public function getNet_income()
1346
    {
1347
        return $this->net_income;
1348
    }
1349
    /**
1350
     * Set net_income value
1351
     * @param int $net_income
1352
     * @return \Webservices\StructType\DNBEnterpriseManagement
1353
     */
1354
    public function setNet_income($net_income = null)
1355
    {
1356
        // validation for constraint: int
1357
        if (!is_null($net_income) && !is_numeric($net_income)) {
0 ignored issues
show
introduced by
The condition ! is_null($net_income) &...is_numeric($net_income) can never be true.
Loading history...
1358
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($net_income)), __LINE__);
1359
        }
1360
        $this->net_income = $net_income;
1361
        return $this;
1362
    }
1363
    /**
1364
     * Get quick_ratio value
1365
     * @return float|null
1366
     */
1367
    public function getQuick_ratio()
1368
    {
1369
        return $this->quick_ratio;
1370
    }
1371
    /**
1372
     * Set quick_ratio value
1373
     * @param float $quick_ratio
1374
     * @return \Webservices\StructType\DNBEnterpriseManagement
1375
     */
1376
    public function setQuick_ratio($quick_ratio = null)
1377
    {
1378
        $this->quick_ratio = $quick_ratio;
1379
        return $this;
1380
    }
1381
    /**
1382
     * Get current_ratio value
1383
     * @return float|null
1384
     */
1385
    public function getCurrent_ratio()
1386
    {
1387
        return $this->current_ratio;
1388
    }
1389
    /**
1390
     * Set current_ratio value
1391
     * @param float $current_ratio
1392
     * @return \Webservices\StructType\DNBEnterpriseManagement
1393
     */
1394
    public function setCurrent_ratio($current_ratio = null)
1395
    {
1396
        $this->current_ratio = $current_ratio;
1397
        return $this;
1398
    }
1399
    /**
1400
     * Get previous_net_worth value
1401
     * @return int|null
1402
     */
1403
    public function getPrevious_net_worth()
1404
    {
1405
        return $this->previous_net_worth;
1406
    }
1407
    /**
1408
     * Set previous_net_worth value
1409
     * @param int $previous_net_worth
1410
     * @return \Webservices\StructType\DNBEnterpriseManagement
1411
     */
1412
    public function setPrevious_net_worth($previous_net_worth = null)
1413
    {
1414
        // validation for constraint: int
1415
        if (!is_null($previous_net_worth) && !is_numeric($previous_net_worth)) {
0 ignored issues
show
introduced by
The condition ! is_null($previous_net_...ic($previous_net_worth) can never be true.
Loading history...
1416
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($previous_net_worth)), __LINE__);
1417
        }
1418
        $this->previous_net_worth = $previous_net_worth;
1419
        return $this;
1420
    }
1421
    /**
1422
     * Get previous_sales value
1423
     * @return int|null
1424
     */
1425
    public function getPrevious_sales()
1426
    {
1427
        return $this->previous_sales;
1428
    }
1429
    /**
1430
     * Set previous_sales value
1431
     * @param int $previous_sales
1432
     * @return \Webservices\StructType\DNBEnterpriseManagement
1433
     */
1434
    public function setPrevious_sales($previous_sales = null)
1435
    {
1436
        // validation for constraint: int
1437
        if (!is_null($previous_sales) && !is_numeric($previous_sales)) {
0 ignored issues
show
introduced by
The condition ! is_null($previous_sale...umeric($previous_sales) can never be true.
Loading history...
1438
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($previous_sales)), __LINE__);
1439
        }
1440
        $this->previous_sales = $previous_sales;
1441
        return $this;
1442
    }
1443
    /**
1444
     * Get previous_statement_date value
1445
     * @return string|null
1446
     */
1447
    public function getPrevious_statement_date()
1448
    {
1449
        return $this->previous_statement_date;
1450
    }
1451
    /**
1452
     * Set previous_statement_date value
1453
     * @param string $previous_statement_date
1454
     * @return \Webservices\StructType\DNBEnterpriseManagement
1455
     */
1456
    public function setPrevious_statement_date($previous_statement_date = null)
1457
    {
1458
        // validation for constraint: string
1459
        if (!is_null($previous_statement_date) && !is_string($previous_statement_date)) {
0 ignored issues
show
introduced by
The condition ! is_null($previous_stat...revious_statement_date) can never be true.
Loading history...
1460
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($previous_statement_date)), __LINE__);
1461
        }
1462
        $this->previous_statement_date = $previous_statement_date;
1463
        return $this;
1464
    }
1465
    /**
1466
     * Get line_of_business value
1467
     * @return string|null
1468
     */
1469
    public function getLine_of_business()
1470
    {
1471
        return $this->line_of_business;
1472
    }
1473
    /**
1474
     * Set line_of_business value
1475
     * @param string $line_of_business
1476
     * @return \Webservices\StructType\DNBEnterpriseManagement
1477
     */
1478
    public function setLine_of_business($line_of_business = null)
1479
    {
1480
        // validation for constraint: string
1481
        if (!is_null($line_of_business) && !is_string($line_of_business)) {
0 ignored issues
show
introduced by
The condition ! is_null($line_of_busin...ring($line_of_business) can never be true.
Loading history...
1482
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($line_of_business)), __LINE__);
1483
        }
1484
        $this->line_of_business = $line_of_business;
1485
        return $this;
1486
    }
1487
    /**
1488
     * Get failure_score value
1489
     * @return \Webservices\ArrayType\DNBScoreGroupArray|null
1490
     */
1491
    public function getFailure_score()
1492
    {
1493
        return $this->failure_score;
1494
    }
1495
    /**
1496
     * Set failure_score value
1497
     * @param \Webservices\ArrayType\DNBScoreGroupArray $failure_score
1498
     * @return \Webservices\StructType\DNBEnterpriseManagement
1499
     */
1500
    public function setFailure_score(\Webservices\ArrayType\DNBScoreGroupArray $failure_score = null)
1501
    {
1502
        $this->failure_score = $failure_score;
1503
        return $this;
1504
    }
1505
    /**
1506
     * Get credit_score value
1507
     * @return \Webservices\ArrayType\DNBScoreGroupArray|null
1508
     */
1509
    public function getCredit_score()
1510
    {
1511
        return $this->credit_score;
1512
    }
1513
    /**
1514
     * Set credit_score value
1515
     * @param \Webservices\ArrayType\DNBScoreGroupArray $credit_score
1516
     * @return \Webservices\StructType\DNBEnterpriseManagement
1517
     */
1518
    public function setCredit_score(\Webservices\ArrayType\DNBScoreGroupArray $credit_score = null)
1519
    {
1520
        $this->credit_score = $credit_score;
1521
        return $this;
1522
    }
1523
    /**
1524
     * Get global_failure_score value
1525
     * @return \Webservices\ArrayType\DNBScoreGroupArray|null
1526
     */
1527
    public function getGlobal_failure_score()
1528
    {
1529
        return $this->global_failure_score;
1530
    }
1531
    /**
1532
     * Set global_failure_score value
1533
     * @param \Webservices\ArrayType\DNBScoreGroupArray $global_failure_score
1534
     * @return \Webservices\StructType\DNBEnterpriseManagement
1535
     */
1536
    public function setGlobal_failure_score(\Webservices\ArrayType\DNBScoreGroupArray $global_failure_score = null)
1537
    {
1538
        $this->global_failure_score = $global_failure_score;
1539
        return $this;
1540
    }
1541
    /**
1542
     * Method called when an object has been exported with var_export() functions
1543
     * It allows to return an object instantiated with the values
1544
     * @see AbstractStructBase::__set_state()
1545
     * @uses AbstractStructBase::__set_state()
1546
     * @param array $array the exported values
1547
     * @return \Webservices\StructType\DNBEnterpriseManagement
1548
     */
1549
    public static function __set_state(array $array)
1550
    {
1551
        return parent::__set_state($array);
1552
    }
1553
    /**
1554
     * Method returning the class name
1555
     * @return string __CLASS__
1556
     */
1557
    public function __toString()
1558
    {
1559
        return __CLASS__;
1560
    }
1561
}
1562