Completed
Push — master ( 0f5ab6...aba91d )
by Gabriel
03:17
created

OrderEntity::toArray()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 49
Code Lines 46

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 49
rs 9.2258
cc 1
eloc 46
nc 1
nop 0
1
<?php
2
3
namespace ThreePlCentral\Order;
4
5
class OrderEntity
6
{
7
    private $customerName;
8
    private $customerEmail;
9
    private $customerPhone;
10
    private $facility;
11
    private $facilityID;
12
    private $warehouseTransactionID;
13
    private $referenceNum;
14
    private $pONum;
15
    private $retailer;
16
    private $shipToCompanyName;
17
    private $shipToName;
18
    private $shipToEmail;
19
    private $shipToPhone;
20
    private $shipToAddress1;
21
    private $shipToAddress2;
22
    private $shipToCity;
23
    private $shipToState;
24
    private $shipToZip;
25
    private $shipToCountry;
26
    private $shipMethod;
27
    private $markForName;
28
    private $batchOrderID;
29
    private $creationDate;
30
    private $earliestShipDate;
31
    private $shipCancelDate;
32
    private $pickupDate;
33
    private $carrier;
34
    private $billingCode;
35
    private $totWeight;
36
    private $totCuFt;
37
    private $totPackages;
38
    private $totOrdQty;
39
    private $totLines;
40
    private $notes;
41
    private $overAllocated;
42
    private $pickTicketPrintDate;
43
    private $processDate;
44
    private $trackingNumber;
45
    private $loadNumber;
46
    private $billOfLading;
47
    private $masterBillOfLading;
48
    private $aSNSentDate;
49
    private $confirmASNSentDate;
50
    private $rememberRowInfo;
51
52
    public function toArray(): array
53
    {
54
        return [
55
            'customerName' => $this->customerName,
56
            'customerEmail' => $this->customerEmail,
57
            'customerPhone' => $this->customerPhone,
58
            'facility' => $this->facility,
59
            'facilityID' => $this->facilityID,
60
            'warehouseTransactionID' => $this->warehouseTransactionID,
61
            'referenceNum' => $this->referenceNum,
62
            'pONum' => $this->pONum,
63
            'retailer' => $this->retailer,
64
            'shipToCompanyName' => $this->shipToCompanyName,
65
            'shipToName' => $this->shipToName,
66
            'shipToEmail' => $this->shipToEmail,
67
            'shipToPhone' => $this->shipToPhone,
68
            'shipToAddress1' => $this->shipToAddress1,
69
            'shipToAddress2' => $this->shipToAddress2,
70
            'shipToCity' => $this->shipToCity,
71
            'shipToState' => $this->shipToState,
72
            'shipToZip' => $this->shipToZip,
73
            'shipToCountry' => $this->shipToCountry,
74
            'shipMethod' => $this->shipMethod,
75
            'markForName' => $this->markForName,
76
            'batchOrderID' => $this->batchOrderID,
77
            'creationDate' => $this->creationDate,
78
            'earliestShipDate' => $this->earliestShipDate,
79
            'shipCancelDate' => $this->shipCancelDate,
80
            'pickupDate' => $this->pickupDate,
81
            'carrier' => $this->carrier,
82
            'billingCode' => $this->billingCode,
83
            'totWeight' => $this->totWeight,
84
            'totCuFt' => $this->totCuFt,
85
            'totPackages' => $this->totPackages,
86
            'totOrdQty' => $this->totOrdQty,
87
            'totLines' => $this->totLines,
88
            'notes' => $this->notes,
89
            'overAllocated' => $this->overAllocated,
90
            'pickTicketPrintDate' => $this->pickTicketPrintDate,
91
            'processDate' => $this->processDate,
92
            'trackingNumber' => $this->trackingNumber,
93
            'loadNumber' => $this->loadNumber,
94
            'billOfLading' => $this->billOfLading,
95
            'masterBillOfLading' => $this->masterBillOfLading,
96
            'aSNSentDate' => $this->aSNSentDate,
97
            'confirmASNSentDate' => $this->confirmASNSentDate,
98
            'rememberRowInfo' => $this->rememberRowInfo
99
        ];
100
    }
101
102
    public function getCustomerName()
103
    {
104
        return $this->customerName;
105
    }
106
107
    public function setCustomerName(string $customerName)
108
    {
109
        $this->customerName = $customerName;
110
    }
111
112
    public function getCustomerEmail()
113
    {
114
        return $this->customerEmail;
115
    }
116
117
    public function setCustomerEmail(string $customerEmail)
118
    {
119
        $this->customerEmail = $customerEmail;
120
    }
121
122
    public function getCustomerPhone()
123
    {
124
        return $this->customerPhone;
125
    }
126
127
    public function setCustomerPhone(string $customerPhone)
128
    {
129
        $this->customerPhone = $customerPhone;
130
    }
131
132
    public function getFacility()
133
    {
134
        return $this->facility;
135
    }
136
137
    public function setFacility(string $facility)
138
    {
139
        $this->facility = $facility;
140
    }
141
142
    public function getFacilityID()
143
    {
144
        return $this->facilityID;
145
    }
146
147
    public function setFacilityID(string $facilityID)
148
    {
149
        $this->facilityID = $facilityID;
150
    }
151
152
    public function getWarehouseTransactionID()
153
    {
154
        return $this->warehouseTransactionID;
155
    }
156
157
    public function setWarehouseTransactionID(string $warehouseTransactionID)
158
    {
159
        $this->warehouseTransactionID = $warehouseTransactionID;
160
    }
161
162
    public function getReferenceNum()
163
    {
164
        return $this->referenceNum;
165
    }
166
167
    public function setReferenceNum(string $referenceNum)
168
    {
169
        $this->referenceNum = $referenceNum;
170
    }
171
172
    public function getPONum()
173
    {
174
        return $this->pONum;
175
    }
176
177
    public function setPONum(string $pONum)
178
    {
179
        $this->pONum = $pONum;
180
    }
181
182
    public function getRetailer()
183
    {
184
        return $this->retailer;
185
    }
186
187
    public function setRetailer(string $retailer)
188
    {
189
        $this->retailer = $retailer;
190
    }
191
192
    public function getShipToCompanyName()
193
    {
194
        return $this->shipToCompanyName;
195
    }
196
197
    public function setShipToCompanyName(string $shipToCompanyName)
198
    {
199
        $this->shipToCompanyName = $shipToCompanyName;
200
    }
201
202
    public function getShipToName()
203
    {
204
        return $this->shipToName;
205
    }
206
207
    public function setShipToName(string $shipToName)
208
    {
209
        $this->shipToName = $shipToName;
210
    }
211
212
    public function getShipToEmail()
213
    {
214
        return $this->shipToEmail;
215
    }
216
217
    public function setShipToEmail(string $shipToEmail)
218
    {
219
        $this->shipToEmail = $shipToEmail;
220
    }
221
222
    public function getShipToPhone()
223
    {
224
        return $this->shipToPhone;
225
    }
226
227
    public function setShipToPhone(string $shipToPhone)
228
    {
229
        $this->shipToPhone = $shipToPhone;
230
    }
231
232
    public function getShipToAddress1()
233
    {
234
        return $this->shipToAddress1;
235
    }
236
237
    public function setShipToAddress1(string $shipToAddress1)
238
    {
239
        $this->shipToAddress1 = $shipToAddress1;
240
    }
241
242
    public function getShipToAddress2()
243
    {
244
        return $this->shipToAddress2;
245
    }
246
247
    public function setShipToAddress2(string $shipToAddress2)
248
    {
249
        $this->shipToAddress2 = $shipToAddress2;
250
    }
251
252
    public function getShipToCity()
253
    {
254
        return $this->shipToCity;
255
    }
256
257
    public function setShipToCity(string $shipToCity)
258
    {
259
        $this->shipToCity = $shipToCity;
260
    }
261
262
    public function getShipToState()
263
    {
264
        return $this->shipToState;
265
    }
266
267
    public function setShipToState(string $shipToState)
268
    {
269
        $this->shipToState = $shipToState;
270
    }
271
272
    public function getShipToZip()
273
    {
274
        return $this->shipToZip;
275
    }
276
277
    public function setShipToZip(string $shipToZip)
278
    {
279
        $this->shipToZip = $shipToZip;
280
    }
281
282
    public function getShipToCountry()
283
    {
284
        return $this->shipToCountry;
285
    }
286
287
    public function setShipToCountry(string $shipToCountry)
288
    {
289
        $this->shipToCountry = $shipToCountry;
290
    }
291
292
    public function getShipMethod()
293
    {
294
        return $this->shipMethod;
295
    }
296
297
    public function setShipMethod(string $shipMethod)
298
    {
299
        $this->shipMethod = $shipMethod;
300
    }
301
302
    public function getMarkForName()
303
    {
304
        return $this->markForName;
305
    }
306
307
    public function setMarkForName(string $markForName)
308
    {
309
        $this->markForName = $markForName;
310
    }
311
312
    public function getBatchOrderID()
313
    {
314
        return $this->batchOrderID;
315
    }
316
317
    public function setBatchOrderID(string $batchOrderID)
318
    {
319
        $this->batchOrderID = $batchOrderID;
320
    }
321
322
    public function getCreationDate()
323
    {
324
        return $this->creationDate;
325
    }
326
327
    public function setCreationDate(string $creationDate)
328
    {
329
        $this->creationDate = $creationDate;
330
    }
331
332
    public function getEarliestShipDate()
333
    {
334
        return $this->earliestShipDate;
335
    }
336
337
    public function setEarliestShipDate(string $earliestShipDate)
338
    {
339
        $this->earliestShipDate = $earliestShipDate;
340
    }
341
342
    public function getShipCancelDate()
343
    {
344
        return $this->shipCancelDate;
345
    }
346
347
    public function setShipCancelDate(string $shipCancelDate)
348
    {
349
        $this->shipCancelDate = $shipCancelDate;
350
    }
351
352
    public function getPickupDate()
353
    {
354
        return $this->pickupDate;
355
    }
356
357
    public function setPickupDate(string $pickupDate)
358
    {
359
        $this->pickupDate = $pickupDate;
360
    }
361
362
    public function getCarrier()
363
    {
364
        return $this->carrier;
365
    }
366
367
    public function setCarrier(string $carrier)
368
    {
369
        $this->carrier = $carrier;
370
    }
371
372
    public function getBillingCode()
373
    {
374
        return $this->billingCode;
375
    }
376
377
    public function setBillingCode(string $billingCode)
378
    {
379
        $this->billingCode = $billingCode;
380
    }
381
382
    public function getTotWeight()
383
    {
384
        return $this->totWeight;
385
    }
386
387
    public function setTotWeight(string $totWeight)
388
    {
389
        $this->totWeight = $totWeight;
390
    }
391
392
    public function getTotCuFt()
393
    {
394
        return $this->totCuFt;
395
    }
396
397
    public function setTotCuFt(string $totCuFt)
398
    {
399
        $this->totCuFt = $totCuFt;
400
    }
401
402
    public function getTotPackages()
403
    {
404
        return $this->totPackages;
405
    }
406
407
    public function setTotPackages(string $totPackages)
408
    {
409
        $this->totPackages = $totPackages;
410
    }
411
412
    public function getTotOrdQty()
413
    {
414
        return $this->totOrdQty;
415
    }
416
417
    public function setTotOrdQty(string $totOrdQty)
418
    {
419
        $this->totOrdQty = $totOrdQty;
420
    }
421
422
    public function getTotLines()
423
    {
424
        return $this->totLines;
425
    }
426
427
    public function setTotLines(string $totLines)
428
    {
429
        $this->totLines = $totLines;
430
    }
431
432
    public function getNotes()
433
    {
434
        return $this->notes;
435
    }
436
437
    public function setNotes(string $notes)
438
    {
439
        $this->notes = $notes;
440
    }
441
442
    public function getOverAllocated()
443
    {
444
        return $this->overAllocated;
445
    }
446
447
    public function setOverAllocated(string $overAllocated)
448
    {
449
        $this->overAllocated = $overAllocated;
450
    }
451
452
    public function getPickTicketPrintDate()
453
    {
454
        return $this->pickTicketPrintDate;
455
    }
456
457
    public function setPickTicketPrintDate(string $pickTicketPrintDate)
458
    {
459
        $this->pickTicketPrintDate = $pickTicketPrintDate;
460
    }
461
462
    public function getProcessDate()
463
    {
464
        return $this->processDate;
465
    }
466
467
    public function setProcessDate(string $processDate)
468
    {
469
        $this->processDate = $processDate;
470
    }
471
472
    public function getTrackingNumber()
473
    {
474
        return $this->trackingNumber;
475
    }
476
477
    public function setTrackingNumber(string $trackingNumber)
478
    {
479
        $this->trackingNumber = $trackingNumber;
480
    }
481
482
    public function getLoadNumber()
483
    {
484
        return $this->loadNumber;
485
    }
486
487
    public function setLoadNumber(string $loadNumber)
488
    {
489
        $this->loadNumber = $loadNumber;
490
    }
491
492
    public function getBillOfLading()
493
    {
494
        return $this->billOfLading;
495
    }
496
497
    public function setBillOfLading(string $billOfLading)
498
    {
499
        $this->billOfLading = $billOfLading;
500
    }
501
502
    public function getMasterBillOfLading()
503
    {
504
        return $this->masterBillOfLading;
505
    }
506
507
    public function setMasterBillOfLading(string $masterBillOfLading)
508
    {
509
        $this->masterBillOfLading = $masterBillOfLading;
510
    }
511
512
    public function getASNSentDate()
513
    {
514
        return $this->aSNSentDate;
515
    }
516
517
    public function setASNSentDate(string $aSNSentDate)
518
    {
519
        $this->aSNSentDate = $aSNSentDate;
520
    }
521
522
    public function getConfirmASNSentDate()
523
    {
524
        return $this->confirmASNSentDate;
525
    }
526
527
    public function setConfirmASNSentDate(string $confirmASNSentDate)
528
    {
529
        $this->confirmASNSentDate = $confirmASNSentDate;
530
    }
531
532
    public function getRememberRowInfo()
533
    {
534
        return $this->rememberRowInfo;
535
    }
536
537
    public function setRememberRowInfo(string $rememberRowInfo)
538
    {
539
        $this->rememberRowInfo = $rememberRowInfo;
540
    }
541
}
542