ContractWO::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 61
Code Lines 59

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 61
ccs 0
cts 61
cp 0
rs 9.5147
c 0
b 0
f 0
cc 1
eloc 59
nc 1
nop 58
crap 2

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 Gueststream\PMS\IQWare\API;
4
5
class ContractWO
6
{
7
8
    /**
9
     * @var int $SeqNo
10
     */
11
    protected $SeqNo = null;
12
13
    /**
14
     * @var int $ID_Room
15
     */
16
    protected $ID_Room = null;
17
18
    /**
19
     * @var string $RoomNo
20
     */
21
    protected $RoomNo = null;
22
23
    /**
24
     * @var string $ToDoActionName
25
     */
26
    protected $ToDoActionName = null;
27
28
    /**
29
     * @var string $BuildingName
30
     */
31
    protected $BuildingName = null;
32
33
    /**
34
     * @var int $WorkOrderNo
35
     */
36
    protected $WorkOrderNo = null;
37
38
    /**
39
     * @var int $Status
40
     */
41
    protected $Status = null;
42
43
    /**
44
     * @var \DateTime $DateTodo
45
     */
46
    protected $DateTodo = null;
47
48
    /**
49
     * @var string $Description
50
     */
51
    protected $Description = null;
52
53
    /**
54
     * @var string $Comment
55
     */
56
    protected $Comment = null;
57
58
    /**
59
     * @var boolean $IsHistory
60
     */
61
    protected $IsHistory = null;
62
63
    /**
64
     * @var int $IDUserToDoIn
65
     */
66
    protected $IDUserToDoIn = null;
67
68
    /**
69
     * @var \DateTime $DateTodoIn
70
     */
71
    protected $DateTodoIn = null;
72
73
    /**
74
     * @var int $ID_UserTodoModif
75
     */
76
    protected $ID_UserTodoModif = null;
77
78
    /**
79
     * @var \DateTime $DateTodoModif
80
     */
81
    protected $DateTodoModif = null;
82
83
    /**
84
     * @var int $ID_UserTodoCompleted
85
     */
86
    protected $ID_UserTodoCompleted = null;
87
88
    /**
89
     * @var \DateTime $DateTodoCompleted
90
     */
91
    protected $DateTodoCompleted = null;
92
93
    /**
94
     * @var string $ExecutedBy
95
     */
96
    protected $ExecutedBy = null;
97
98
    /**
99
     * @var \DateTime $DateTodoStarted
100
     */
101
    protected $DateTodoStarted = null;
102
103
    /**
104
     * @var int $ID_OwnerAdmin
105
     */
106
    protected $ID_OwnerAdmin = null;
107
108
    /**
109
     * @var boolean $IsPosted
110
     */
111
    protected $IsPosted = null;
112
113
    /**
114
     * @var float $AmountParts
115
     */
116
    protected $AmountParts = null;
117
118
    /**
119
     * @var float $AmountLabor
120
     */
121
    protected $AmountLabor = null;
122
123
    /**
124
     * @var float $AmountTaxParts
125
     */
126
    protected $AmountTaxParts = null;
127
128
    /**
129
     * @var float $AmountTaxLabor
130
     */
131
    protected $AmountTaxLabor = null;
132
133
    /**
134
     * @var int $MarkupTypeParts
135
     */
136
    protected $MarkupTypeParts = null;
137
138
    /**
139
     * @var float $MarkupValueParts
140
     */
141
    protected $MarkupValueParts = null;
142
143
    /**
144
     * @var int $MarkupTypeLabor
145
     */
146
    protected $MarkupTypeLabor = null;
147
148
    /**
149
     * @var float $MarkupValueLabor
150
     */
151
    protected $MarkupValueLabor = null;
152
153
    /**
154
     * @var boolean $MarkupPartsIsActive
155
     */
156
    protected $MarkupPartsIsActive = null;
157
158
    /**
159
     * @var boolean $MarkupLaborIsActive
160
     */
161
    protected $MarkupLaborIsActive = null;
162
163
    /**
164
     * @var \DateTime $FiscalDate
165
     */
166
    protected $FiscalDate = null;
167
168
    /**
169
     * @var boolean $IsCompletedByMtn
170
     */
171
    protected $IsCompletedByMtn = null;
172
173
    /**
174
     * @var \DateTime $DateFirstPrintMtn
175
     */
176
    protected $DateFirstPrintMtn = null;
177
178
    /**
179
     * @var \DateTime $DateFirstPrintAcct
180
     */
181
    protected $DateFirstPrintAcct = null;
182
183
    /**
184
     * @var \DateTime $DateLastRePrintMtn
185
     */
186
    protected $DateLastRePrintMtn = null;
187
188
    /**
189
     * @var \DateTime $DateLastRePrintAcct
190
     */
191
    protected $DateLastRePrintAcct = null;
192
193
    /**
194
     * @var int $SubFolio
195
     */
196
    protected $SubFolio = null;
197
198
    /**
199
     * @var int $AccountType
200
     */
201
    protected $AccountType = null;
202
203
    /**
204
     * @var string $TechnicalNote
205
     */
206
    protected $TechnicalNote = null;
207
208
    /**
209
     * @var float $AmountSupplier
210
     */
211
    protected $AmountSupplier = null;
212
213
    /**
214
     * @var float $AmountTaxSupplier
215
     */
216
    protected $AmountTaxSupplier = null;
217
218
    /**
219
     * @var int $MarkupTypeSupplier
220
     */
221
    protected $MarkupTypeSupplier = null;
222
223
    /**
224
     * @var float $MarkupValueSupplier
225
     */
226
    protected $MarkupValueSupplier = null;
227
228
    /**
229
     * @var boolean $MarkupSupplierIsActive
230
     */
231
    protected $MarkupSupplierIsActive = null;
232
233
    /**
234
     * @var int $Priority
235
     */
236
    protected $Priority = null;
237
238
    /**
239
     * @var string $RequestedBy
240
     */
241
    protected $RequestedBy = null;
242
243
    /**
244
     * @var float $AmountTaxGlobal
245
     */
246
    protected $AmountTaxGlobal = null;
247
248
    /**
249
     * @var int $PostingTaxType
250
     */
251
    protected $PostingTaxType = null;
252
253
    /**
254
     * @var int $PostingType
255
     */
256
    protected $PostingType = null;
257
258
    /**
259
     * @var int $MarkupModeParts
260
     */
261
    protected $MarkupModeParts = null;
262
263
    /**
264
     * @var int $MarkupModeLabor
265
     */
266
    protected $MarkupModeLabor = null;
267
268
    /**
269
     * @var int $MarkupModeSupplier
270
     */
271
    protected $MarkupModeSupplier = null;
272
273
    /**
274
     * @var string $ChargeTo
275
     */
276
    protected $ChargeTo = null;
277
278
    /**
279
     * @var string $AccountStatus
280
     */
281
    protected $AccountStatus = null;
282
283
    /**
284
     * @var boolean $IsAnnualMaintenance
285
     */
286
    protected $IsAnnualMaintenance = null;
287
288
    /**
289
     * @var ContractWOBillDetail $ContractWOBillDetail
290
     */
291
    protected $ContractWOBillDetail = null;
292
293
    /**
294
     * @var int $OwnerContracts_Id
295
     */
296
    protected $OwnerContracts_Id = null;
297
298
    /**
299
     * @param int $SeqNo
300
     * @param int $ID_Room
301
     * @param string $RoomNo
302
     * @param string $ToDoActionName
303
     * @param string $BuildingName
304
     * @param int $WorkOrderNo
305
     * @param int $Status
306
     * @param \DateTime $DateTodo
307
     * @param string $Description
308
     * @param string $Comment
309
     * @param boolean $IsHistory
310
     * @param int $IDUserToDoIn
311
     * @param \DateTime $DateTodoIn
312
     * @param int $ID_UserTodoModif
313
     * @param \DateTime $DateTodoModif
314
     * @param int $ID_UserTodoCompleted
315
     * @param \DateTime $DateTodoCompleted
316
     * @param string $ExecutedBy
317
     * @param \DateTime $DateTodoStarted
318
     * @param int $ID_OwnerAdmin
319
     * @param boolean $IsPosted
320
     * @param float $AmountParts
321
     * @param float $AmountLabor
322
     * @param float $AmountTaxParts
323
     * @param float $AmountTaxLabor
324
     * @param int $MarkupTypeParts
325
     * @param float $MarkupValueParts
326
     * @param int $MarkupTypeLabor
327
     * @param float $MarkupValueLabor
328
     * @param boolean $MarkupPartsIsActive
329
     * @param boolean $MarkupLaborIsActive
330
     * @param \DateTime $FiscalDate
331
     * @param boolean $IsCompletedByMtn
332
     * @param \DateTime $DateFirstPrintMtn
333
     * @param \DateTime $DateFirstPrintAcct
334
     * @param \DateTime $DateLastRePrintMtn
335
     * @param \DateTime $DateLastRePrintAcct
336
     * @param int $SubFolio
337
     * @param int $AccountType
338
     * @param string $TechnicalNote
339
     * @param float $AmountSupplier
340
     * @param float $AmountTaxSupplier
341
     * @param int $MarkupTypeSupplier
342
     * @param float $MarkupValueSupplier
343
     * @param boolean $MarkupSupplierIsActive
344
     * @param int $Priority
345
     * @param string $RequestedBy
346
     * @param float $AmountTaxGlobal
347
     * @param int $PostingTaxType
348
     * @param int $PostingType
349
     * @param int $MarkupModeParts
350
     * @param int $MarkupModeLabor
351
     * @param int $MarkupModeSupplier
352
     * @param string $ChargeTo
353
     * @param string $AccountStatus
354
     * @param boolean $IsAnnualMaintenance
355
     * @param ContractWOBillDetail $ContractWOBillDetail
356
     * @param int $OwnerContracts_Id
357
     */
358
    public function __construct($SeqNo, $ID_Room, $RoomNo, $ToDoActionName, $BuildingName, $WorkOrderNo, $Status, \DateTime $DateTodo, $Description, $Comment, $IsHistory, $IDUserToDoIn, \DateTime $DateTodoIn, $ID_UserTodoModif, \DateTime $DateTodoModif, $ID_UserTodoCompleted, \DateTime $DateTodoCompleted, $ExecutedBy, \DateTime $DateTodoStarted, $ID_OwnerAdmin, $IsPosted, $AmountParts, $AmountLabor, $AmountTaxParts, $AmountTaxLabor, $MarkupTypeParts, $MarkupValueParts, $MarkupTypeLabor, $MarkupValueLabor, $MarkupPartsIsActive, $MarkupLaborIsActive, \DateTime $FiscalDate, $IsCompletedByMtn, \DateTime $DateFirstPrintMtn, \DateTime $DateFirstPrintAcct, \DateTime $DateLastRePrintMtn, \DateTime $DateLastRePrintAcct, $SubFolio, $AccountType, $TechnicalNote, $AmountSupplier, $AmountTaxSupplier, $MarkupTypeSupplier, $MarkupValueSupplier, $MarkupSupplierIsActive, $Priority, $RequestedBy, $AmountTaxGlobal, $PostingTaxType, $PostingType, $MarkupModeParts, $MarkupModeLabor, $MarkupModeSupplier, $ChargeTo, $AccountStatus, $IsAnnualMaintenance, $ContractWOBillDetail, $OwnerContracts_Id)
359
    {
360
        $this->SeqNo = $SeqNo;
361
        $this->ID_Room = $ID_Room;
362
        $this->RoomNo = $RoomNo;
363
        $this->ToDoActionName = $ToDoActionName;
364
        $this->BuildingName = $BuildingName;
365
        $this->WorkOrderNo = $WorkOrderNo;
366
        $this->Status = $Status;
367
        $this->DateTodo = $DateTodo->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateTodo->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateTodo.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
368
        $this->Description = $Description;
369
        $this->Comment = $Comment;
370
        $this->IsHistory = $IsHistory;
371
        $this->IDUserToDoIn = $IDUserToDoIn;
372
        $this->DateTodoIn = $DateTodoIn->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateTodoIn->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateTodoIn.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
373
        $this->ID_UserTodoModif = $ID_UserTodoModif;
374
        $this->DateTodoModif = $DateTodoModif->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateTodoModif->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateTodoModif.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
375
        $this->ID_UserTodoCompleted = $ID_UserTodoCompleted;
376
        $this->DateTodoCompleted = $DateTodoCompleted->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateTodoCompleted->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateTodoCompleted.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
377
        $this->ExecutedBy = $ExecutedBy;
378
        $this->DateTodoStarted = $DateTodoStarted->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateTodoStarted->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateTodoStarted.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
379
        $this->ID_OwnerAdmin = $ID_OwnerAdmin;
380
        $this->IsPosted = $IsPosted;
381
        $this->AmountParts = $AmountParts;
382
        $this->AmountLabor = $AmountLabor;
383
        $this->AmountTaxParts = $AmountTaxParts;
384
        $this->AmountTaxLabor = $AmountTaxLabor;
385
        $this->MarkupTypeParts = $MarkupTypeParts;
386
        $this->MarkupValueParts = $MarkupValueParts;
387
        $this->MarkupTypeLabor = $MarkupTypeLabor;
388
        $this->MarkupValueLabor = $MarkupValueLabor;
389
        $this->MarkupPartsIsActive = $MarkupPartsIsActive;
390
        $this->MarkupLaborIsActive = $MarkupLaborIsActive;
391
        $this->FiscalDate = $FiscalDate->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $FiscalDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $FiscalDate.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
392
        $this->IsCompletedByMtn = $IsCompletedByMtn;
393
        $this->DateFirstPrintMtn = $DateFirstPrintMtn->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateFirstPrintMtn->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateFirstPrintMtn.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
394
        $this->DateFirstPrintAcct = $DateFirstPrintAcct->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateFirstPrintAcct->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateFirstPrintAcct.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
395
        $this->DateLastRePrintMtn = $DateLastRePrintMtn->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateLastRePrintMtn->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateLastRePrintMtn.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
396
        $this->DateLastRePrintAcct = $DateLastRePrintAcct->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateLastRePrintAcct->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateLastRePrintAcct.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
397
        $this->SubFolio = $SubFolio;
398
        $this->AccountType = $AccountType;
399
        $this->TechnicalNote = $TechnicalNote;
400
        $this->AmountSupplier = $AmountSupplier;
401
        $this->AmountTaxSupplier = $AmountTaxSupplier;
402
        $this->MarkupTypeSupplier = $MarkupTypeSupplier;
403
        $this->MarkupValueSupplier = $MarkupValueSupplier;
404
        $this->MarkupSupplierIsActive = $MarkupSupplierIsActive;
405
        $this->Priority = $Priority;
406
        $this->RequestedBy = $RequestedBy;
407
        $this->AmountTaxGlobal = $AmountTaxGlobal;
408
        $this->PostingTaxType = $PostingTaxType;
409
        $this->PostingType = $PostingType;
410
        $this->MarkupModeParts = $MarkupModeParts;
411
        $this->MarkupModeLabor = $MarkupModeLabor;
412
        $this->MarkupModeSupplier = $MarkupModeSupplier;
413
        $this->ChargeTo = $ChargeTo;
414
        $this->AccountStatus = $AccountStatus;
415
        $this->IsAnnualMaintenance = $IsAnnualMaintenance;
416
        $this->ContractWOBillDetail = $ContractWOBillDetail;
417
        $this->OwnerContracts_Id = $OwnerContracts_Id;
418
    }
419
420
    /**
421
     * @return int
422
     */
423
    public function getSeqNo()
424
    {
425
        return $this->SeqNo;
426
    }
427
428
    /**
429
     * @param int $SeqNo
430
     * @return \Gueststream\PMS\IQWare\API\ContractWO
431
     */
432
    public function setSeqNo($SeqNo)
433
    {
434
        $this->SeqNo = $SeqNo;
435
        return $this;
436
    }
437
438
    /**
439
     * @return int
440
     */
441
    public function getID_Room()
442
    {
443
        return $this->ID_Room;
444
    }
445
446
    /**
447
     * @param int $ID_Room
448
     * @return \Gueststream\PMS\IQWare\API\ContractWO
449
     */
450
    public function setID_Room($ID_Room)
451
    {
452
        $this->ID_Room = $ID_Room;
453
        return $this;
454
    }
455
456
    /**
457
     * @return string
458
     */
459
    public function getRoomNo()
460
    {
461
        return $this->RoomNo;
462
    }
463
464
    /**
465
     * @param string $RoomNo
466
     * @return \Gueststream\PMS\IQWare\API\ContractWO
467
     */
468
    public function setRoomNo($RoomNo)
469
    {
470
        $this->RoomNo = $RoomNo;
471
        return $this;
472
    }
473
474
    /**
475
     * @return string
476
     */
477
    public function getToDoActionName()
478
    {
479
        return $this->ToDoActionName;
480
    }
481
482
    /**
483
     * @param string $ToDoActionName
484
     * @return \Gueststream\PMS\IQWare\API\ContractWO
485
     */
486
    public function setToDoActionName($ToDoActionName)
487
    {
488
        $this->ToDoActionName = $ToDoActionName;
489
        return $this;
490
    }
491
492
    /**
493
     * @return string
494
     */
495
    public function getBuildingName()
496
    {
497
        return $this->BuildingName;
498
    }
499
500
    /**
501
     * @param string $BuildingName
502
     * @return \Gueststream\PMS\IQWare\API\ContractWO
503
     */
504
    public function setBuildingName($BuildingName)
505
    {
506
        $this->BuildingName = $BuildingName;
507
        return $this;
508
    }
509
510
    /**
511
     * @return int
512
     */
513
    public function getWorkOrderNo()
514
    {
515
        return $this->WorkOrderNo;
516
    }
517
518
    /**
519
     * @param int $WorkOrderNo
520
     * @return \Gueststream\PMS\IQWare\API\ContractWO
521
     */
522
    public function setWorkOrderNo($WorkOrderNo)
523
    {
524
        $this->WorkOrderNo = $WorkOrderNo;
525
        return $this;
526
    }
527
528
    /**
529
     * @return int
530
     */
531
    public function getStatus()
532
    {
533
        return $this->Status;
534
    }
535
536
    /**
537
     * @param int $Status
538
     * @return \Gueststream\PMS\IQWare\API\ContractWO
539
     */
540
    public function setStatus($Status)
541
    {
542
        $this->Status = $Status;
543
        return $this;
544
    }
545
546
    /**
547
     * @return \DateTime
548
     */
549
    public function getDateTodo()
550
    {
551
        if ($this->DateTodo == null) {
552
            return null;
553
        } else {
554
            try {
555
                return new \DateTime($this->DateTodo);
556
            } catch (\Exception $e) {
557
                return false;
558
            }
559
        }
560
    }
561
562
    /**
563
     * @param \DateTime $DateTodo
564
     * @return \Gueststream\PMS\IQWare\API\ContractWO
565
     */
566
    public function setDateTodo(\DateTime $DateTodo)
567
    {
568
        $this->DateTodo = $DateTodo->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateTodo->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateTodo.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
569
        return $this;
570
    }
571
572
    /**
573
     * @return string
574
     */
575
    public function getDescription()
576
    {
577
        return $this->Description;
578
    }
579
580
    /**
581
     * @param string $Description
582
     * @return \Gueststream\PMS\IQWare\API\ContractWO
583
     */
584
    public function setDescription($Description)
585
    {
586
        $this->Description = $Description;
587
        return $this;
588
    }
589
590
    /**
591
     * @return string
592
     */
593
    public function getComment()
594
    {
595
        return $this->Comment;
596
    }
597
598
    /**
599
     * @param string $Comment
600
     * @return \Gueststream\PMS\IQWare\API\ContractWO
601
     */
602
    public function setComment($Comment)
603
    {
604
        $this->Comment = $Comment;
605
        return $this;
606
    }
607
608
    /**
609
     * @return boolean
610
     */
611
    public function getIsHistory()
612
    {
613
        return $this->IsHistory;
614
    }
615
616
    /**
617
     * @param boolean $IsHistory
618
     * @return \Gueststream\PMS\IQWare\API\ContractWO
619
     */
620
    public function setIsHistory($IsHistory)
621
    {
622
        $this->IsHistory = $IsHistory;
623
        return $this;
624
    }
625
626
    /**
627
     * @return int
628
     */
629
    public function getIDUserToDoIn()
630
    {
631
        return $this->IDUserToDoIn;
632
    }
633
634
    /**
635
     * @param int $IDUserToDoIn
636
     * @return \Gueststream\PMS\IQWare\API\ContractWO
637
     */
638
    public function setIDUserToDoIn($IDUserToDoIn)
639
    {
640
        $this->IDUserToDoIn = $IDUserToDoIn;
641
        return $this;
642
    }
643
644
    /**
645
     * @return \DateTime
646
     */
647
    public function getDateTodoIn()
648
    {
649
        if ($this->DateTodoIn == null) {
650
            return null;
651
        } else {
652
            try {
653
                return new \DateTime($this->DateTodoIn);
654
            } catch (\Exception $e) {
655
                return false;
656
            }
657
        }
658
    }
659
660
    /**
661
     * @param \DateTime $DateTodoIn
662
     * @return \Gueststream\PMS\IQWare\API\ContractWO
663
     */
664
    public function setDateTodoIn(\DateTime $DateTodoIn)
665
    {
666
        $this->DateTodoIn = $DateTodoIn->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateTodoIn->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateTodoIn.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
667
        return $this;
668
    }
669
670
    /**
671
     * @return int
672
     */
673
    public function getID_UserTodoModif()
674
    {
675
        return $this->ID_UserTodoModif;
676
    }
677
678
    /**
679
     * @param int $ID_UserTodoModif
680
     * @return \Gueststream\PMS\IQWare\API\ContractWO
681
     */
682
    public function setID_UserTodoModif($ID_UserTodoModif)
683
    {
684
        $this->ID_UserTodoModif = $ID_UserTodoModif;
685
        return $this;
686
    }
687
688
    /**
689
     * @return \DateTime
690
     */
691
    public function getDateTodoModif()
692
    {
693
        if ($this->DateTodoModif == null) {
694
            return null;
695
        } else {
696
            try {
697
                return new \DateTime($this->DateTodoModif);
698
            } catch (\Exception $e) {
699
                return false;
700
            }
701
        }
702
    }
703
704
    /**
705
     * @param \DateTime $DateTodoModif
706
     * @return \Gueststream\PMS\IQWare\API\ContractWO
707
     */
708
    public function setDateTodoModif(\DateTime $DateTodoModif)
709
    {
710
        $this->DateTodoModif = $DateTodoModif->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateTodoModif->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateTodoModif.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
711
        return $this;
712
    }
713
714
    /**
715
     * @return int
716
     */
717
    public function getID_UserTodoCompleted()
718
    {
719
        return $this->ID_UserTodoCompleted;
720
    }
721
722
    /**
723
     * @param int $ID_UserTodoCompleted
724
     * @return \Gueststream\PMS\IQWare\API\ContractWO
725
     */
726
    public function setID_UserTodoCompleted($ID_UserTodoCompleted)
727
    {
728
        $this->ID_UserTodoCompleted = $ID_UserTodoCompleted;
729
        return $this;
730
    }
731
732
    /**
733
     * @return \DateTime
734
     */
735
    public function getDateTodoCompleted()
736
    {
737
        if ($this->DateTodoCompleted == null) {
738
            return null;
739
        } else {
740
            try {
741
                return new \DateTime($this->DateTodoCompleted);
742
            } catch (\Exception $e) {
743
                return false;
744
            }
745
        }
746
    }
747
748
    /**
749
     * @param \DateTime $DateTodoCompleted
750
     * @return \Gueststream\PMS\IQWare\API\ContractWO
751
     */
752
    public function setDateTodoCompleted(\DateTime $DateTodoCompleted)
753
    {
754
        $this->DateTodoCompleted = $DateTodoCompleted->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateTodoCompleted->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateTodoCompleted.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
755
        return $this;
756
    }
757
758
    /**
759
     * @return string
760
     */
761
    public function getExecutedBy()
762
    {
763
        return $this->ExecutedBy;
764
    }
765
766
    /**
767
     * @param string $ExecutedBy
768
     * @return \Gueststream\PMS\IQWare\API\ContractWO
769
     */
770
    public function setExecutedBy($ExecutedBy)
771
    {
772
        $this->ExecutedBy = $ExecutedBy;
773
        return $this;
774
    }
775
776
    /**
777
     * @return \DateTime
778
     */
779
    public function getDateTodoStarted()
780
    {
781
        if ($this->DateTodoStarted == null) {
782
            return null;
783
        } else {
784
            try {
785
                return new \DateTime($this->DateTodoStarted);
786
            } catch (\Exception $e) {
787
                return false;
788
            }
789
        }
790
    }
791
792
    /**
793
     * @param \DateTime $DateTodoStarted
794
     * @return \Gueststream\PMS\IQWare\API\ContractWO
795
     */
796
    public function setDateTodoStarted(\DateTime $DateTodoStarted)
797
    {
798
        $this->DateTodoStarted = $DateTodoStarted->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateTodoStarted->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateTodoStarted.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
799
        return $this;
800
    }
801
802
    /**
803
     * @return int
804
     */
805
    public function getID_OwnerAdmin()
806
    {
807
        return $this->ID_OwnerAdmin;
808
    }
809
810
    /**
811
     * @param int $ID_OwnerAdmin
812
     * @return \Gueststream\PMS\IQWare\API\ContractWO
813
     */
814
    public function setID_OwnerAdmin($ID_OwnerAdmin)
815
    {
816
        $this->ID_OwnerAdmin = $ID_OwnerAdmin;
817
        return $this;
818
    }
819
820
    /**
821
     * @return boolean
822
     */
823
    public function getIsPosted()
824
    {
825
        return $this->IsPosted;
826
    }
827
828
    /**
829
     * @param boolean $IsPosted
830
     * @return \Gueststream\PMS\IQWare\API\ContractWO
831
     */
832
    public function setIsPosted($IsPosted)
833
    {
834
        $this->IsPosted = $IsPosted;
835
        return $this;
836
    }
837
838
    /**
839
     * @return float
840
     */
841
    public function getAmountParts()
842
    {
843
        return $this->AmountParts;
844
    }
845
846
    /**
847
     * @param float $AmountParts
848
     * @return \Gueststream\PMS\IQWare\API\ContractWO
849
     */
850
    public function setAmountParts($AmountParts)
851
    {
852
        $this->AmountParts = $AmountParts;
853
        return $this;
854
    }
855
856
    /**
857
     * @return float
858
     */
859
    public function getAmountLabor()
860
    {
861
        return $this->AmountLabor;
862
    }
863
864
    /**
865
     * @param float $AmountLabor
866
     * @return \Gueststream\PMS\IQWare\API\ContractWO
867
     */
868
    public function setAmountLabor($AmountLabor)
869
    {
870
        $this->AmountLabor = $AmountLabor;
871
        return $this;
872
    }
873
874
    /**
875
     * @return float
876
     */
877
    public function getAmountTaxParts()
878
    {
879
        return $this->AmountTaxParts;
880
    }
881
882
    /**
883
     * @param float $AmountTaxParts
884
     * @return \Gueststream\PMS\IQWare\API\ContractWO
885
     */
886
    public function setAmountTaxParts($AmountTaxParts)
887
    {
888
        $this->AmountTaxParts = $AmountTaxParts;
889
        return $this;
890
    }
891
892
    /**
893
     * @return float
894
     */
895
    public function getAmountTaxLabor()
896
    {
897
        return $this->AmountTaxLabor;
898
    }
899
900
    /**
901
     * @param float $AmountTaxLabor
902
     * @return \Gueststream\PMS\IQWare\API\ContractWO
903
     */
904
    public function setAmountTaxLabor($AmountTaxLabor)
905
    {
906
        $this->AmountTaxLabor = $AmountTaxLabor;
907
        return $this;
908
    }
909
910
    /**
911
     * @return int
912
     */
913
    public function getMarkupTypeParts()
914
    {
915
        return $this->MarkupTypeParts;
916
    }
917
918
    /**
919
     * @param int $MarkupTypeParts
920
     * @return \Gueststream\PMS\IQWare\API\ContractWO
921
     */
922
    public function setMarkupTypeParts($MarkupTypeParts)
923
    {
924
        $this->MarkupTypeParts = $MarkupTypeParts;
925
        return $this;
926
    }
927
928
    /**
929
     * @return float
930
     */
931
    public function getMarkupValueParts()
932
    {
933
        return $this->MarkupValueParts;
934
    }
935
936
    /**
937
     * @param float $MarkupValueParts
938
     * @return \Gueststream\PMS\IQWare\API\ContractWO
939
     */
940
    public function setMarkupValueParts($MarkupValueParts)
941
    {
942
        $this->MarkupValueParts = $MarkupValueParts;
943
        return $this;
944
    }
945
946
    /**
947
     * @return int
948
     */
949
    public function getMarkupTypeLabor()
950
    {
951
        return $this->MarkupTypeLabor;
952
    }
953
954
    /**
955
     * @param int $MarkupTypeLabor
956
     * @return \Gueststream\PMS\IQWare\API\ContractWO
957
     */
958
    public function setMarkupTypeLabor($MarkupTypeLabor)
959
    {
960
        $this->MarkupTypeLabor = $MarkupTypeLabor;
961
        return $this;
962
    }
963
964
    /**
965
     * @return float
966
     */
967
    public function getMarkupValueLabor()
968
    {
969
        return $this->MarkupValueLabor;
970
    }
971
972
    /**
973
     * @param float $MarkupValueLabor
974
     * @return \Gueststream\PMS\IQWare\API\ContractWO
975
     */
976
    public function setMarkupValueLabor($MarkupValueLabor)
977
    {
978
        $this->MarkupValueLabor = $MarkupValueLabor;
979
        return $this;
980
    }
981
982
    /**
983
     * @return boolean
984
     */
985
    public function getMarkupPartsIsActive()
986
    {
987
        return $this->MarkupPartsIsActive;
988
    }
989
990
    /**
991
     * @param boolean $MarkupPartsIsActive
992
     * @return \Gueststream\PMS\IQWare\API\ContractWO
993
     */
994
    public function setMarkupPartsIsActive($MarkupPartsIsActive)
995
    {
996
        $this->MarkupPartsIsActive = $MarkupPartsIsActive;
997
        return $this;
998
    }
999
1000
    /**
1001
     * @return boolean
1002
     */
1003
    public function getMarkupLaborIsActive()
1004
    {
1005
        return $this->MarkupLaborIsActive;
1006
    }
1007
1008
    /**
1009
     * @param boolean $MarkupLaborIsActive
1010
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1011
     */
1012
    public function setMarkupLaborIsActive($MarkupLaborIsActive)
1013
    {
1014
        $this->MarkupLaborIsActive = $MarkupLaborIsActive;
1015
        return $this;
1016
    }
1017
1018
    /**
1019
     * @return \DateTime
1020
     */
1021
    public function getFiscalDate()
1022
    {
1023
        if ($this->FiscalDate == null) {
1024
            return null;
1025
        } else {
1026
            try {
1027
                return new \DateTime($this->FiscalDate);
1028
            } catch (\Exception $e) {
1029
                return false;
1030
            }
1031
        }
1032
    }
1033
1034
    /**
1035
     * @param \DateTime $FiscalDate
1036
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1037
     */
1038
    public function setFiscalDate(\DateTime $FiscalDate)
1039
    {
1040
        $this->FiscalDate = $FiscalDate->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $FiscalDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $FiscalDate.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
1041
        return $this;
1042
    }
1043
1044
    /**
1045
     * @return boolean
1046
     */
1047
    public function getIsCompletedByMtn()
1048
    {
1049
        return $this->IsCompletedByMtn;
1050
    }
1051
1052
    /**
1053
     * @param boolean $IsCompletedByMtn
1054
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1055
     */
1056
    public function setIsCompletedByMtn($IsCompletedByMtn)
1057
    {
1058
        $this->IsCompletedByMtn = $IsCompletedByMtn;
1059
        return $this;
1060
    }
1061
1062
    /**
1063
     * @return \DateTime
1064
     */
1065
    public function getDateFirstPrintMtn()
1066
    {
1067
        if ($this->DateFirstPrintMtn == null) {
1068
            return null;
1069
        } else {
1070
            try {
1071
                return new \DateTime($this->DateFirstPrintMtn);
1072
            } catch (\Exception $e) {
1073
                return false;
1074
            }
1075
        }
1076
    }
1077
1078
    /**
1079
     * @param \DateTime $DateFirstPrintMtn
1080
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1081
     */
1082
    public function setDateFirstPrintMtn(\DateTime $DateFirstPrintMtn)
1083
    {
1084
        $this->DateFirstPrintMtn = $DateFirstPrintMtn->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateFirstPrintMtn->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateFirstPrintMtn.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
1085
        return $this;
1086
    }
1087
1088
    /**
1089
     * @return \DateTime
1090
     */
1091
    public function getDateFirstPrintAcct()
1092
    {
1093
        if ($this->DateFirstPrintAcct == null) {
1094
            return null;
1095
        } else {
1096
            try {
1097
                return new \DateTime($this->DateFirstPrintAcct);
1098
            } catch (\Exception $e) {
1099
                return false;
1100
            }
1101
        }
1102
    }
1103
1104
    /**
1105
     * @param \DateTime $DateFirstPrintAcct
1106
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1107
     */
1108
    public function setDateFirstPrintAcct(\DateTime $DateFirstPrintAcct)
1109
    {
1110
        $this->DateFirstPrintAcct = $DateFirstPrintAcct->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateFirstPrintAcct->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateFirstPrintAcct.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
1111
        return $this;
1112
    }
1113
1114
    /**
1115
     * @return \DateTime
1116
     */
1117
    public function getDateLastRePrintMtn()
1118
    {
1119
        if ($this->DateLastRePrintMtn == null) {
1120
            return null;
1121
        } else {
1122
            try {
1123
                return new \DateTime($this->DateLastRePrintMtn);
1124
            } catch (\Exception $e) {
1125
                return false;
1126
            }
1127
        }
1128
    }
1129
1130
    /**
1131
     * @param \DateTime $DateLastRePrintMtn
1132
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1133
     */
1134
    public function setDateLastRePrintMtn(\DateTime $DateLastRePrintMtn)
1135
    {
1136
        $this->DateLastRePrintMtn = $DateLastRePrintMtn->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateLastRePrintMtn->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateLastRePrintMtn.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
1137
        return $this;
1138
    }
1139
1140
    /**
1141
     * @return \DateTime
1142
     */
1143
    public function getDateLastRePrintAcct()
1144
    {
1145
        if ($this->DateLastRePrintAcct == null) {
1146
            return null;
1147
        } else {
1148
            try {
1149
                return new \DateTime($this->DateLastRePrintAcct);
1150
            } catch (\Exception $e) {
1151
                return false;
1152
            }
1153
        }
1154
    }
1155
1156
    /**
1157
     * @param \DateTime $DateLastRePrintAcct
1158
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1159
     */
1160
    public function setDateLastRePrintAcct(\DateTime $DateLastRePrintAcct)
1161
    {
1162
        $this->DateLastRePrintAcct = $DateLastRePrintAcct->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $DateLastRePrintAcct->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DateLastRePrintAcct.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
1163
        return $this;
1164
    }
1165
1166
    /**
1167
     * @return int
1168
     */
1169
    public function getSubFolio()
1170
    {
1171
        return $this->SubFolio;
1172
    }
1173
1174
    /**
1175
     * @param int $SubFolio
1176
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1177
     */
1178
    public function setSubFolio($SubFolio)
1179
    {
1180
        $this->SubFolio = $SubFolio;
1181
        return $this;
1182
    }
1183
1184
    /**
1185
     * @return int
1186
     */
1187
    public function getAccountType()
1188
    {
1189
        return $this->AccountType;
1190
    }
1191
1192
    /**
1193
     * @param int $AccountType
1194
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1195
     */
1196
    public function setAccountType($AccountType)
1197
    {
1198
        $this->AccountType = $AccountType;
1199
        return $this;
1200
    }
1201
1202
    /**
1203
     * @return string
1204
     */
1205
    public function getTechnicalNote()
1206
    {
1207
        return $this->TechnicalNote;
1208
    }
1209
1210
    /**
1211
     * @param string $TechnicalNote
1212
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1213
     */
1214
    public function setTechnicalNote($TechnicalNote)
1215
    {
1216
        $this->TechnicalNote = $TechnicalNote;
1217
        return $this;
1218
    }
1219
1220
    /**
1221
     * @return float
1222
     */
1223
    public function getAmountSupplier()
1224
    {
1225
        return $this->AmountSupplier;
1226
    }
1227
1228
    /**
1229
     * @param float $AmountSupplier
1230
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1231
     */
1232
    public function setAmountSupplier($AmountSupplier)
1233
    {
1234
        $this->AmountSupplier = $AmountSupplier;
1235
        return $this;
1236
    }
1237
1238
    /**
1239
     * @return float
1240
     */
1241
    public function getAmountTaxSupplier()
1242
    {
1243
        return $this->AmountTaxSupplier;
1244
    }
1245
1246
    /**
1247
     * @param float $AmountTaxSupplier
1248
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1249
     */
1250
    public function setAmountTaxSupplier($AmountTaxSupplier)
1251
    {
1252
        $this->AmountTaxSupplier = $AmountTaxSupplier;
1253
        return $this;
1254
    }
1255
1256
    /**
1257
     * @return int
1258
     */
1259
    public function getMarkupTypeSupplier()
1260
    {
1261
        return $this->MarkupTypeSupplier;
1262
    }
1263
1264
    /**
1265
     * @param int $MarkupTypeSupplier
1266
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1267
     */
1268
    public function setMarkupTypeSupplier($MarkupTypeSupplier)
1269
    {
1270
        $this->MarkupTypeSupplier = $MarkupTypeSupplier;
1271
        return $this;
1272
    }
1273
1274
    /**
1275
     * @return float
1276
     */
1277
    public function getMarkupValueSupplier()
1278
    {
1279
        return $this->MarkupValueSupplier;
1280
    }
1281
1282
    /**
1283
     * @param float $MarkupValueSupplier
1284
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1285
     */
1286
    public function setMarkupValueSupplier($MarkupValueSupplier)
1287
    {
1288
        $this->MarkupValueSupplier = $MarkupValueSupplier;
1289
        return $this;
1290
    }
1291
1292
    /**
1293
     * @return boolean
1294
     */
1295
    public function getMarkupSupplierIsActive()
1296
    {
1297
        return $this->MarkupSupplierIsActive;
1298
    }
1299
1300
    /**
1301
     * @param boolean $MarkupSupplierIsActive
1302
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1303
     */
1304
    public function setMarkupSupplierIsActive($MarkupSupplierIsActive)
1305
    {
1306
        $this->MarkupSupplierIsActive = $MarkupSupplierIsActive;
1307
        return $this;
1308
    }
1309
1310
    /**
1311
     * @return int
1312
     */
1313
    public function getPriority()
1314
    {
1315
        return $this->Priority;
1316
    }
1317
1318
    /**
1319
     * @param int $Priority
1320
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1321
     */
1322
    public function setPriority($Priority)
1323
    {
1324
        $this->Priority = $Priority;
1325
        return $this;
1326
    }
1327
1328
    /**
1329
     * @return string
1330
     */
1331
    public function getRequestedBy()
1332
    {
1333
        return $this->RequestedBy;
1334
    }
1335
1336
    /**
1337
     * @param string $RequestedBy
1338
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1339
     */
1340
    public function setRequestedBy($RequestedBy)
1341
    {
1342
        $this->RequestedBy = $RequestedBy;
1343
        return $this;
1344
    }
1345
1346
    /**
1347
     * @return float
1348
     */
1349
    public function getAmountTaxGlobal()
1350
    {
1351
        return $this->AmountTaxGlobal;
1352
    }
1353
1354
    /**
1355
     * @param float $AmountTaxGlobal
1356
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1357
     */
1358
    public function setAmountTaxGlobal($AmountTaxGlobal)
1359
    {
1360
        $this->AmountTaxGlobal = $AmountTaxGlobal;
1361
        return $this;
1362
    }
1363
1364
    /**
1365
     * @return int
1366
     */
1367
    public function getPostingTaxType()
1368
    {
1369
        return $this->PostingTaxType;
1370
    }
1371
1372
    /**
1373
     * @param int $PostingTaxType
1374
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1375
     */
1376
    public function setPostingTaxType($PostingTaxType)
1377
    {
1378
        $this->PostingTaxType = $PostingTaxType;
1379
        return $this;
1380
    }
1381
1382
    /**
1383
     * @return int
1384
     */
1385
    public function getPostingType()
1386
    {
1387
        return $this->PostingType;
1388
    }
1389
1390
    /**
1391
     * @param int $PostingType
1392
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1393
     */
1394
    public function setPostingType($PostingType)
1395
    {
1396
        $this->PostingType = $PostingType;
1397
        return $this;
1398
    }
1399
1400
    /**
1401
     * @return int
1402
     */
1403
    public function getMarkupModeParts()
1404
    {
1405
        return $this->MarkupModeParts;
1406
    }
1407
1408
    /**
1409
     * @param int $MarkupModeParts
1410
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1411
     */
1412
    public function setMarkupModeParts($MarkupModeParts)
1413
    {
1414
        $this->MarkupModeParts = $MarkupModeParts;
1415
        return $this;
1416
    }
1417
1418
    /**
1419
     * @return int
1420
     */
1421
    public function getMarkupModeLabor()
1422
    {
1423
        return $this->MarkupModeLabor;
1424
    }
1425
1426
    /**
1427
     * @param int $MarkupModeLabor
1428
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1429
     */
1430
    public function setMarkupModeLabor($MarkupModeLabor)
1431
    {
1432
        $this->MarkupModeLabor = $MarkupModeLabor;
1433
        return $this;
1434
    }
1435
1436
    /**
1437
     * @return int
1438
     */
1439
    public function getMarkupModeSupplier()
1440
    {
1441
        return $this->MarkupModeSupplier;
1442
    }
1443
1444
    /**
1445
     * @param int $MarkupModeSupplier
1446
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1447
     */
1448
    public function setMarkupModeSupplier($MarkupModeSupplier)
1449
    {
1450
        $this->MarkupModeSupplier = $MarkupModeSupplier;
1451
        return $this;
1452
    }
1453
1454
    /**
1455
     * @return string
1456
     */
1457
    public function getChargeTo()
1458
    {
1459
        return $this->ChargeTo;
1460
    }
1461
1462
    /**
1463
     * @param string $ChargeTo
1464
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1465
     */
1466
    public function setChargeTo($ChargeTo)
1467
    {
1468
        $this->ChargeTo = $ChargeTo;
1469
        return $this;
1470
    }
1471
1472
    /**
1473
     * @return string
1474
     */
1475
    public function getAccountStatus()
1476
    {
1477
        return $this->AccountStatus;
1478
    }
1479
1480
    /**
1481
     * @param string $AccountStatus
1482
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1483
     */
1484
    public function setAccountStatus($AccountStatus)
1485
    {
1486
        $this->AccountStatus = $AccountStatus;
1487
        return $this;
1488
    }
1489
1490
    /**
1491
     * @return boolean
1492
     */
1493
    public function getIsAnnualMaintenance()
1494
    {
1495
        return $this->IsAnnualMaintenance;
1496
    }
1497
1498
    /**
1499
     * @param boolean $IsAnnualMaintenance
1500
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1501
     */
1502
    public function setIsAnnualMaintenance($IsAnnualMaintenance)
1503
    {
1504
        $this->IsAnnualMaintenance = $IsAnnualMaintenance;
1505
        return $this;
1506
    }
1507
1508
    /**
1509
     * @return ContractWOBillDetail
1510
     */
1511
    public function getContractWOBillDetail()
1512
    {
1513
        return $this->ContractWOBillDetail;
1514
    }
1515
1516
    /**
1517
     * @param ContractWOBillDetail $ContractWOBillDetail
1518
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1519
     */
1520
    public function setContractWOBillDetail($ContractWOBillDetail)
1521
    {
1522
        $this->ContractWOBillDetail = $ContractWOBillDetail;
1523
        return $this;
1524
    }
1525
1526
    /**
1527
     * @return int
1528
     */
1529
    public function getOwnerContracts_Id()
1530
    {
1531
        return $this->OwnerContracts_Id;
1532
    }
1533
1534
    /**
1535
     * @param int $OwnerContracts_Id
1536
     * @return \Gueststream\PMS\IQWare\API\ContractWO
1537
     */
1538
    public function setOwnerContracts_Id($OwnerContracts_Id)
1539
    {
1540
        $this->OwnerContracts_Id = $OwnerContracts_Id;
1541
        return $this;
1542
    }
1543
}
1544