Completed
Pull Request — master (#55)
by
unknown
11:51
created

Order::getCreatedAt()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the slince/shopify-api-php
5
 *
6
 * (c) Slince <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Slince\Shopify\Manager\Order;
13
14
use Slince\Shopify\Common\Model\Model;
15
use Slince\Shopify\Common\Model\AdminGraphqlApiId;
16
use Slince\Shopify\Manager\Customer\Customer;
17
use Slince\Shopify\Manager\Fulfillment\Fulfillment;
18
use Slince\Shopify\Manager\Refund\Refund;
19
use Slince\Shopify\Manager\Transaction\Transaction;
20
21
class Order extends Model
22
{
23
    use AdminGraphqlApiId;
24
25
    /**
26
     * @var string
27
     */
28
    protected $email;
29
30
    /**
31
     * @var string
32
     */
33
    protected $closedAt;
34
35
    /**
36
     * @var string
37
     */
38
    protected $createdAt;
39
40
    /**
41
     * @var string
42
     */
43
    protected $updatedAt;
44
45
    /**
46
     * @var int
47
     */
48
    protected $number;
49
50
    /**
51
     * @var string
52
     */
53
    protected $note;
54
55
    /**
56
     * @var string
57
     */
58
    protected $token;
59
60
    /**
61
     * @var string
62
     */
63
    protected $gateway;
64
65
    /**
66
     * @var bool
67
     */
68
    protected $test;
69
70
    /**
71
     * @var float
72
     */
73
    protected $totalPrice;
74
75
    /**
76
     * @var float
77
     */
78
    protected $subtotalPrice;
79
80
    /**
81
     * @var float
82
     */
83
    protected $totalWeight;
84
85
    /**
86
     * @var float
87
     */
88
    protected $totalTax;
89
90
    /**
91
     * @var bool
92
     */
93
    protected $taxesIncluded;
94
95
    /**
96
     * @var string
97
     */
98
    protected $currency;
99
100
    /**
101
     * @var string
102
     */
103
    protected $financialStatus;
104
105
    /**
106
     * @var bool
107
     */
108
    protected $confirmed;
109
110
    /**
111
     * @var float
112
     */
113
    protected $totalDiscounts;
114
115
    /**
116
     * @var float
117
     */
118
    protected $totalLineItemsPrice;
119
120
    /**
121
     * @var string
122
     */
123
    protected $cartToken;
124
125
    /**
126
     * @var bool
127
     */
128
    protected $buyerAcceptsMarketing;
129
130
    /**
131
     * @var string
132
     */
133
    protected $name;
134
135
    /**
136
     * @var string
137
     */
138
    protected $referringSite;
139
140
    /**
141
     * @var string
142
     */
143
    protected $landingSite;
144
145
    /**
146
     * @var string
147
     */
148
    protected $cancelledAt;
149
150
    /**
151
     * @var string
152
     */
153
    protected $cancelReason;
154
155
    /**
156
     * @var float
157
     */
158
    protected $totalPriceUsd;
159
160
    /**
161
     * @var string
162
     */
163
    protected $checkoutToken;
164
165
    /**
166
     * @var string
167
     */
168
    protected $reference;
169
170
    /**
171
     * @var int
172
     */
173
    protected $userId;
174
175
    /**
176
     * @var int
177
     */
178
    protected $locationId;
179
180
    /**
181
     * @var string
182
     */
183
    protected $sourceIdentifier;
184
185
    /**
186
     * @var string
187
     */
188
    protected $sourceUrl;
189
190
    /**
191
     * @var string
192
     */
193
    protected $processedAt;
194
195
    /**
196
     * @var string
197
     */
198
    protected $deviceId;
199
200
    /**
201
     * @var string
202
     */
203
    protected $phone;
204
205
    /**
206
     * @var string
207
     */
208
    protected $browserIp;
209
210
    /**
211
     * @var string
212
     */
213
    protected $landingSiteRef;
214
215
    /**
216
     * @var string
217
     */
218
    protected $orderNumber;
219
220
    /**
221
     * @var array
222
     */
223
    protected $discountCodes;
224
225
    /**
226
     * @var array
227
     */
228
    protected $noteAttributes;
229
230
    /**
231
     * @var array
232
     */
233
    protected $paymentGatewayNames;
234
235
    /**
236
     * @var string
237
     */
238
    protected $processingMethod;
239
240
    /**
241
     * @var int
242
     */
243
    protected $checkoutId;
244
245
    /**
246
     * @var string
247
     */
248
    protected $sourceName;
249
250
    /**
251
     * @var string
252
     */
253
    protected $fulfillmentStatus;
254
255
    /**
256
     * @var array
257
     */
258
    protected $taxLines;
259
260
    /**
261
     * @var array
262
     */
263
    protected $tags;
264
265
    /**
266
     * @var string
267
     */
268
    protected $contactEmail;
269
270
    /**
271
     * @var string
272
     */
273
    protected $orderStatusUrl;
274
275
    /**
276
     * @var LineItem[]
277
     */
278
    protected $lineItems;
279
280
    /**
281
     * @var ShippingLine[]
282
     */
283
    protected $shippingLines;
284
285
    /**
286
     * @var Address
287
     */
288
    protected $billingAddress;
289
290
    /**
291
     * @var Address
292
     */
293
    protected $shippingAddress;
294
295
    /**
296
     * @var Fulfillment[]
297
     */
298
    protected $fulfillments;
299
300
    /**
301
     * @var ClientDetails
302
     */
303
    protected $clientDetails;
304
305
    /**
306
     * @var Refund[]
307
     */
308
    protected $refunds;
309
310
    /**
311
     * @var Transaction[]
312
     */
313
    protected $transactions;
314
315
    /**
316
     * @var array
317
     */
318
    protected $paymentDetails;
319
320
    /**
321
     * @var DiscountApplication[]
322
     */
323
    protected $discountApplications;
324
325
    /**
326
     * @var Customer
327
     */
328
    protected $customer;
329
330
    /**
331
     * @return string
332
     */
333
    public function getEmail()
334
    {
335
        return $this->email;
336
    }
337
338
    /**
339
     * @param string $email
340
     *
341
     * @return Order
342
     */
343
    public function setEmail($email)
344
    {
345
        $this->email = $email;
346
347
        return $this;
348
    }
349
350
    /**
351
     * @return string
352
     */
353
    public function getClosedAt()
354
    {
355
        return $this->closedAt;
356
    }
357
358
    /**
359
     * @param string $closedAt
360
     *
361
     * @return Order
362
     */
363
    public function setClosedAt($closedAt)
364
    {
365
        $this->closedAt = $closedAt;
366
367
        return $this;
368
    }
369
370
    /**
371
     * @return string
372
     */
373
    public function getCreatedAt()
374
    {
375
        return $this->createdAt;
376
    }
377
378
    /**
379
     * @param string $createdAt
380
     *
381
     * @return Order
382
     */
383
    public function setCreatedAt($createdAt)
384
    {
385
        $this->createdAt = $createdAt;
386
387
        return $this;
388
    }
389
390
    /**
391
     * @return string
392
     */
393
    public function getUpdatedAt()
394
    {
395
        return $this->updatedAt;
396
    }
397
398
    /**
399
     * @param string $updatedAt
400
     *
401
     * @return Order
402
     */
403
    public function setUpdatedAt($updatedAt)
404
    {
405
        $this->updatedAt = $updatedAt;
406
407
        return $this;
408
    }
409
410
    /**
411
     * @return int
412
     */
413
    public function getNumber()
414
    {
415
        return $this->number;
416
    }
417
418
    /**
419
     * @param int $number
420
     *
421
     * @return Order
422
     */
423
    public function setNumber($number)
424
    {
425
        $this->number = $number;
426
427
        return $this;
428
    }
429
430
    /**
431
     * @return string
432
     */
433
    public function getNote()
434
    {
435
        return $this->note;
436
    }
437
438
    /**
439
     * @param string $note
440
     *
441
     * @return Order
442
     */
443
    public function setNote($note)
444
    {
445
        $this->note = $note;
446
447
        return $this;
448
    }
449
450
    /**
451
     * @return string
452
     */
453
    public function getToken()
454
    {
455
        return $this->token;
456
    }
457
458
    /**
459
     * @param string $token
460
     *
461
     * @return Order
462
     */
463
    public function setToken($token)
464
    {
465
        $this->token = $token;
466
467
        return $this;
468
    }
469
470
    /**
471
     * @return string
472
     */
473
    public function getGateway()
474
    {
475
        return $this->gateway;
476
    }
477
478
    /**
479
     * @param string $gateway
480
     *
481
     * @return Order
482
     */
483
    public function setGateway($gateway)
484
    {
485
        $this->gateway = $gateway;
486
487
        return $this;
488
    }
489
490
    /**
491
     * @return bool
492
     */
493
    public function isTest()
494
    {
495
        return $this->test;
496
    }
497
498
    /**
499
     * @param bool $test
500
     *
501
     * @return Order
502
     */
503
    public function setTest($test)
504
    {
505
        $this->test = $test;
506
507
        return $this;
508
    }
509
510
    /**
511
     * @return float
512
     */
513
    public function getTotalPrice()
514
    {
515
        return $this->totalPrice;
516
    }
517
518
    /**
519
     * @param float $totalPrice
520
     *
521
     * @return Order
522
     */
523
    public function setTotalPrice($totalPrice)
524
    {
525
        $this->totalPrice = $totalPrice;
526
527
        return $this;
528
    }
529
530
    /**
531
     * @return float
532
     */
533
    public function getSubtotalPrice()
534
    {
535
        return $this->subtotalPrice;
536
    }
537
538
    /**
539
     * @param float $subtotalPrice
540
     *
541
     * @return Order
542
     */
543
    public function setSubtotalPrice($subtotalPrice)
544
    {
545
        $this->subtotalPrice = $subtotalPrice;
546
547
        return $this;
548
    }
549
550
    /**
551
     * @return float
552
     */
553
    public function getTotalWeight()
554
    {
555
        return $this->totalWeight;
556
    }
557
558
    /**
559
     * @param float $totalWeight
560
     *
561
     * @return Order
562
     */
563
    public function setTotalWeight($totalWeight)
564
    {
565
        $this->totalWeight = $totalWeight;
566
567
        return $this;
568
    }
569
570
    /**
571
     * @return float
572
     */
573
    public function getTotalTax()
574
    {
575
        return $this->totalTax;
576
    }
577
578
    /**
579
     * @param float $totalTax
580
     *
581
     * @return Order
582
     */
583
    public function setTotalTax($totalTax)
584
    {
585
        $this->totalTax = $totalTax;
586
587
        return $this;
588
    }
589
590
    /**
591
     * @return bool
592
     */
593
    public function isTaxesIncluded()
594
    {
595
        return $this->taxesIncluded;
596
    }
597
598
    /**
599
     * @param bool $taxesIncluded
600
     *
601
     * @return Order
602
     */
603
    public function setTaxesIncluded($taxesIncluded)
604
    {
605
        $this->taxesIncluded = $taxesIncluded;
606
607
        return $this;
608
    }
609
610
    /**
611
     * @return string
612
     */
613
    public function getCurrency()
614
    {
615
        return $this->currency;
616
    }
617
618
    /**
619
     * @param string $currency
620
     *
621
     * @return Order
622
     */
623
    public function setCurrency($currency)
624
    {
625
        $this->currency = $currency;
626
627
        return $this;
628
    }
629
630
    /**
631
     * @return string
632
     */
633
    public function getFinancialStatus()
634
    {
635
        return $this->financialStatus;
636
    }
637
638
    /**
639
     * @param string $financialStatus
640
     *
641
     * @return Order
642
     */
643
    public function setFinancialStatus($financialStatus)
644
    {
645
        $this->financialStatus = $financialStatus;
646
647
        return $this;
648
    }
649
650
    /**
651
     * @return bool
652
     */
653
    public function isConfirmed()
654
    {
655
        return $this->confirmed;
656
    }
657
658
    /**
659
     * @param bool $confirmed
660
     *
661
     * @return Order
662
     */
663
    public function setConfirmed($confirmed)
664
    {
665
        $this->confirmed = $confirmed;
666
667
        return $this;
668
    }
669
670
    /**
671
     * @return float
672
     */
673
    public function getTotalDiscounts()
674
    {
675
        return $this->totalDiscounts;
676
    }
677
678
    /**
679
     * @param float $totalDiscounts
680
     *
681
     * @return Order
682
     */
683
    public function setTotalDiscounts($totalDiscounts)
684
    {
685
        $this->totalDiscounts = $totalDiscounts;
686
687
        return $this;
688
    }
689
690
    /**
691
     * @return float
692
     */
693
    public function getTotalLineItemsPrice()
694
    {
695
        return $this->totalLineItemsPrice;
696
    }
697
698
    /**
699
     * @param float $totalLineItemsPrice
700
     *
701
     * @return Order
702
     */
703
    public function setTotalLineItemsPrice($totalLineItemsPrice)
704
    {
705
        $this->totalLineItemsPrice = $totalLineItemsPrice;
706
707
        return $this;
708
    }
709
710
    /**
711
     * @return string
712
     */
713
    public function getCartToken()
714
    {
715
        return $this->cartToken;
716
    }
717
718
    /**
719
     * @param string $cartToken
720
     *
721
     * @return Order
722
     */
723
    public function setCartToken($cartToken)
724
    {
725
        $this->cartToken = $cartToken;
726
727
        return $this;
728
    }
729
730
    /**
731
     * @return bool
732
     */
733
    public function isBuyerAcceptsMarketing()
734
    {
735
        return $this->buyerAcceptsMarketing;
736
    }
737
738
    /**
739
     * @param bool $buyerAcceptsMarketing
740
     *
741
     * @return Order
742
     */
743
    public function setBuyerAcceptsMarketing($buyerAcceptsMarketing)
744
    {
745
        $this->buyerAcceptsMarketing = $buyerAcceptsMarketing;
746
747
        return $this;
748
    }
749
750
    /**
751
     * @return string
752
     */
753
    public function getName()
754
    {
755
        return $this->name;
756
    }
757
758
    /**
759
     * @param string $name
760
     *
761
     * @return Order
762
     */
763
    public function setName($name)
764
    {
765
        $this->name = $name;
766
767
        return $this;
768
    }
769
770
    /**
771
     * @return string
772
     */
773
    public function getReferringSite()
774
    {
775
        return $this->referringSite;
776
    }
777
778
    /**
779
     * @param string $referringSite
780
     *
781
     * @return Order
782
     */
783
    public function setReferringSite($referringSite)
784
    {
785
        $this->referringSite = $referringSite;
786
787
        return $this;
788
    }
789
790
    /**
791
     * @return string
792
     */
793
    public function getLandingSite()
794
    {
795
        return $this->landingSite;
796
    }
797
798
    /**
799
     * @param string $landingSite
800
     *
801
     * @return Order
802
     */
803
    public function setLandingSite($landingSite)
804
    {
805
        $this->landingSite = $landingSite;
806
807
        return $this;
808
    }
809
810
    /**
811
     * @return string
812
     */
813
    public function getCancelledAt()
814
    {
815
        return $this->cancelledAt;
816
    }
817
818
    /**
819
     * @param string $cancelledAt
820
     *
821
     * @return Order
822
     */
823
    public function setCancelledAt($cancelledAt)
824
    {
825
        $this->cancelledAt = $cancelledAt;
826
827
        return $this;
828
    }
829
830
    /**
831
     * @return string
832
     */
833
    public function getCancelReason()
834
    {
835
        return $this->cancelReason;
836
    }
837
838
    /**
839
     * @param string $cancelReason
840
     *
841
     * @return Order
842
     */
843
    public function setCancelReason($cancelReason)
844
    {
845
        $this->cancelReason = $cancelReason;
846
847
        return $this;
848
    }
849
850
    /**
851
     * @return float
852
     */
853
    public function getTotalPriceUsd()
854
    {
855
        return $this->totalPriceUsd;
856
    }
857
858
    /**
859
     * @param float $totalPriceUsd
860
     *
861
     * @return Order
862
     */
863
    public function setTotalPriceUsd($totalPriceUsd)
864
    {
865
        $this->totalPriceUsd = $totalPriceUsd;
866
867
        return $this;
868
    }
869
870
    /**
871
     * @return string
872
     */
873
    public function getCheckoutToken()
874
    {
875
        return $this->checkoutToken;
876
    }
877
878
    /**
879
     * @param string $checkoutToken
880
     *
881
     * @return Order
882
     */
883
    public function setCheckoutToken($checkoutToken)
884
    {
885
        $this->checkoutToken = $checkoutToken;
886
887
        return $this;
888
    }
889
890
    /**
891
     * @return string
892
     */
893
    public function getReference()
894
    {
895
        return $this->reference;
896
    }
897
898
    /**
899
     * @param string $reference
900
     *
901
     * @return Order
902
     */
903
    public function setReference($reference)
904
    {
905
        $this->reference = $reference;
906
907
        return $this;
908
    }
909
910
    /**
911
     * @return int
912
     */
913
    public function getUserId()
914
    {
915
        return $this->userId;
916
    }
917
918
    /**
919
     * @param int $userId
920
     *
921
     * @return Order
922
     */
923
    public function setUserId($userId)
924
    {
925
        $this->userId = $userId;
926
927
        return $this;
928
    }
929
930
    /**
931
     * @return int
932
     */
933
    public function getLocationId()
934
    {
935
        return $this->locationId;
936
    }
937
938
    /**
939
     * @param int $locationId
940
     *
941
     * @return Order
942
     */
943
    public function setLocationId($locationId)
944
    {
945
        $this->locationId = $locationId;
946
947
        return $this;
948
    }
949
950
    /**
951
     * @return string
952
     */
953
    public function getSourceIdentifier()
954
    {
955
        return $this->sourceIdentifier;
956
    }
957
958
    /**
959
     * @param string $sourceIdentifier
960
     *
961
     * @return Order
962
     */
963
    public function setSourceIdentifier($sourceIdentifier)
964
    {
965
        $this->sourceIdentifier = $sourceIdentifier;
966
967
        return $this;
968
    }
969
970
    /**
971
     * @return string
972
     */
973
    public function getSourceUrl()
974
    {
975
        return $this->sourceUrl;
976
    }
977
978
    /**
979
     * @param string $sourceUrl
980
     *
981
     * @return Order
982
     */
983
    public function setSourceUrl($sourceUrl)
984
    {
985
        $this->sourceUrl = $sourceUrl;
986
987
        return $this;
988
    }
989
990
    /**
991
     * @return string
992
     */
993
    public function getProcessedAt()
994
    {
995
        return $this->processedAt;
996
    }
997
998
    /**
999
     * @param string $processedAt
1000
     *
1001
     * @return Order
1002
     */
1003
    public function setProcessedAt($processedAt)
1004
    {
1005
        $this->processedAt = $processedAt;
1006
1007
        return $this;
1008
    }
1009
1010
    /**
1011
     * @return string
1012
     */
1013
    public function getDeviceId()
1014
    {
1015
        return $this->deviceId;
1016
    }
1017
1018
    /**
1019
     * @param string $deviceId
1020
     *
1021
     * @return Order
1022
     */
1023
    public function setDeviceId($deviceId)
1024
    {
1025
        $this->deviceId = $deviceId;
1026
1027
        return $this;
1028
    }
1029
1030
    /**
1031
     * @return string
1032
     */
1033
    public function getPhone()
1034
    {
1035
        return $this->phone;
1036
    }
1037
1038
    /**
1039
     * @param string $phone
1040
     *
1041
     * @return Order
1042
     */
1043
    public function setPhone($phone)
1044
    {
1045
        $this->phone = $phone;
1046
1047
        return $this;
1048
    }
1049
1050
    /**
1051
     * @return string
1052
     */
1053
    public function getBrowserIp()
1054
    {
1055
        return $this->browserIp;
1056
    }
1057
1058
    /**
1059
     * @param string $browserIp
1060
     *
1061
     * @return Order
1062
     */
1063
    public function setBrowserIp($browserIp)
1064
    {
1065
        $this->browserIp = $browserIp;
1066
1067
        return $this;
1068
    }
1069
1070
    /**
1071
     * @return string
1072
     */
1073
    public function getLandingSiteRef()
1074
    {
1075
        return $this->landingSiteRef;
1076
    }
1077
1078
    /**
1079
     * @param string $landingSiteRef
1080
     *
1081
     * @return Order
1082
     */
1083
    public function setLandingSiteRef($landingSiteRef)
1084
    {
1085
        $this->landingSiteRef = $landingSiteRef;
1086
1087
        return $this;
1088
    }
1089
1090
    /**
1091
     * @return string
1092
     */
1093
    public function getOrderNumber()
1094
    {
1095
        return $this->orderNumber;
1096
    }
1097
1098
    /**
1099
     * @param string $orderNumber
1100
     *
1101
     * @return Order
1102
     */
1103
    public function setOrderNumber($orderNumber)
1104
    {
1105
        $this->orderNumber = $orderNumber;
1106
1107
        return $this;
1108
    }
1109
1110
    /**
1111
     * @return array
1112
     */
1113
    public function getDiscountCodes()
1114
    {
1115
        return $this->discountCodes;
1116
    }
1117
1118
    /**
1119
     * @param array $discountCodes
1120
     *
1121
     * @return Order
1122
     */
1123
    public function setDiscountCodes($discountCodes)
1124
    {
1125
        $this->discountCodes = $discountCodes;
1126
1127
        return $this;
1128
    }
1129
1130
    /**
1131
     * @return array
1132
     */
1133
    public function getNoteAttributes()
1134
    {
1135
        return $this->noteAttributes;
1136
    }
1137
1138
    /**
1139
     * @param array $noteAttributes
1140
     *
1141
     * @return Order
1142
     */
1143
    public function setNoteAttributes($noteAttributes)
1144
    {
1145
        $this->noteAttributes = $noteAttributes;
1146
1147
        return $this;
1148
    }
1149
1150
    /**
1151
     * @return array
1152
     */
1153
    public function getPaymentGatewayNames()
1154
    {
1155
        return $this->paymentGatewayNames;
1156
    }
1157
1158
    /**
1159
     * @param array $paymentGatewayNames
1160
     *
1161
     * @return Order
1162
     */
1163
    public function setPaymentGatewayNames($paymentGatewayNames)
1164
    {
1165
        $this->paymentGatewayNames = $paymentGatewayNames;
1166
1167
        return $this;
1168
    }
1169
1170
    /**
1171
     * @return string
1172
     */
1173
    public function getProcessingMethod()
1174
    {
1175
        return $this->processingMethod;
1176
    }
1177
1178
    /**
1179
     * @param string $processingMethod
1180
     *
1181
     * @return Order
1182
     */
1183
    public function setProcessingMethod($processingMethod)
1184
    {
1185
        $this->processingMethod = $processingMethod;
1186
1187
        return $this;
1188
    }
1189
1190
    /**
1191
     * @return int
1192
     */
1193
    public function getCheckoutId()
1194
    {
1195
        return $this->checkoutId;
1196
    }
1197
1198
    /**
1199
     * @param int $checkoutId
1200
     *
1201
     * @return Order
1202
     */
1203
    public function setCheckoutId($checkoutId)
1204
    {
1205
        $this->checkoutId = $checkoutId;
1206
1207
        return $this;
1208
    }
1209
1210
    /**
1211
     * @return string
1212
     */
1213
    public function getSourceName()
1214
    {
1215
        return $this->sourceName;
1216
    }
1217
1218
    /**
1219
     * @param string $sourceName
1220
     *
1221
     * @return Order
1222
     */
1223
    public function setSourceName($sourceName)
1224
    {
1225
        $this->sourceName = $sourceName;
1226
1227
        return $this;
1228
    }
1229
1230
    /**
1231
     * @return string
1232
     */
1233
    public function getFulfillmentStatus()
1234
    {
1235
        return $this->fulfillmentStatus;
1236
    }
1237
1238
    /**
1239
     * @param string $fulfillmentStatus
1240
     *
1241
     * @return Order
1242
     */
1243
    public function setFulfillmentStatus($fulfillmentStatus)
1244
    {
1245
        $this->fulfillmentStatus = $fulfillmentStatus;
1246
1247
        return $this;
1248
    }
1249
1250
    /**
1251
     * @return array
1252
     */
1253
    public function getTaxLines()
1254
    {
1255
        return $this->taxLines;
1256
    }
1257
1258
    /**
1259
     * @param array $taxLines
1260
     *
1261
     * @return Order
1262
     */
1263
    public function setTaxLines($taxLines)
1264
    {
1265
        $this->taxLines = $taxLines;
1266
1267
        return $this;
1268
    }
1269
1270
    /**
1271
     * @return array
1272
     */
1273
    public function getTags()
1274
    {
1275
        return $this->tags;
1276
    }
1277
1278
    /**
1279
     * @param array $tags
1280
     *
1281
     * @return Order
1282
     */
1283
    public function setTags($tags)
1284
    {
1285
        $this->tags = $tags;
1286
1287
        return $this;
1288
    }
1289
1290
    /**
1291
     * @return string
1292
     */
1293
    public function getContactEmail()
1294
    {
1295
        return $this->contactEmail;
1296
    }
1297
1298
    /**
1299
     * @param string $contactEmail
1300
     *
1301
     * @return Order
1302
     */
1303
    public function setContactEmail($contactEmail)
1304
    {
1305
        $this->contactEmail = $contactEmail;
1306
1307
        return $this;
1308
    }
1309
1310
    /**
1311
     * @return string
1312
     */
1313
    public function getOrderStatusUrl()
1314
    {
1315
        return $this->orderStatusUrl;
1316
    }
1317
1318
    /**
1319
     * @param string $orderStatusUrl
1320
     *
1321
     * @return Order
1322
     */
1323
    public function setOrderStatusUrl($orderStatusUrl)
1324
    {
1325
        $this->orderStatusUrl = $orderStatusUrl;
1326
1327
        return $this;
1328
    }
1329
1330
    /**
1331
     * @return LineItem[]
1332
     */
1333
    public function getLineItems()
1334
    {
1335
        return $this->lineItems;
1336
    }
1337
1338
    /**
1339
     * @param LineItem[] $lineItems
1340
     *
1341
     * @return Order
1342
     */
1343
    public function setLineItems($lineItems)
1344
    {
1345
        $this->lineItems = $lineItems;
1346
1347
        return $this;
1348
    }
1349
1350
    /**
1351
     * @return ShippingLine[]
1352
     */
1353
    public function getShippingLines()
1354
    {
1355
        return $this->shippingLines;
1356
    }
1357
1358
    /**
1359
     * @param ShippingLine[] $shippingLines
1360
     *
1361
     * @return Order
1362
     */
1363
    public function setShippingLines($shippingLines)
1364
    {
1365
        $this->shippingLines = $shippingLines;
1366
1367
        return $this;
1368
    }
1369
1370
    /**
1371
     * @return Address
1372
     */
1373
    public function getBillingAddress()
1374
    {
1375
        return $this->billingAddress;
1376
    }
1377
1378
    /**
1379
     * @param Address $billingAddress
1380
     *
1381
     * @return Order
1382
     */
1383
    public function setBillingAddress($billingAddress)
1384
    {
1385
        $this->billingAddress = $billingAddress;
1386
1387
        return $this;
1388
    }
1389
1390
    /**
1391
     * @return Address
1392
     */
1393
    public function getShippingAddress()
1394
    {
1395
        return $this->shippingAddress;
1396
    }
1397
1398
    /**
1399
     * @param Address $shippingAddress
1400
     *
1401
     * @return Order
1402
     */
1403
    public function setShippingAddress($shippingAddress)
1404
    {
1405
        $this->shippingAddress = $shippingAddress;
1406
1407
        return $this;
1408
    }
1409
1410
    /**
1411
     * @return Fulfillment[]
1412
     */
1413
    public function getFulfillments()
1414
    {
1415
        return $this->fulfillments;
1416
    }
1417
1418
    /**
1419
     * @param Fulfillment[] $fulfillments
1420
     *
1421
     * @return Order
1422
     */
1423
    public function setFulfillments($fulfillments)
1424
    {
1425
        $this->fulfillments = $fulfillments;
1426
1427
        return $this;
1428
    }
1429
1430
    /**
1431
     * @return ClientDetails
1432
     */
1433
    public function getClientDetails()
1434
    {
1435
        return $this->clientDetails;
1436
    }
1437
1438
    /**
1439
     * @param ClientDetails $clientDetails
1440
     *
1441
     * @return Order
1442
     */
1443
    public function setClientDetails($clientDetails)
1444
    {
1445
        $this->clientDetails = $clientDetails;
1446
1447
        return $this;
1448
    }
1449
1450
    /**
1451
     * @return Refund[]
1452
     */
1453
    public function getRefunds()
1454
    {
1455
        return $this->refunds;
1456
    }
1457
1458
    /**
1459
     * @param Refund[] $refunds
1460
     *
1461
     * @return Order
1462
     */
1463
    public function setRefunds($refunds)
1464
    {
1465
        $this->refunds = $refunds;
1466
1467
        return $this;
1468
    }
1469
1470
    /**
1471
     * @return array
1472
     */
1473
    public function getPaymentDetails()
1474
    {
1475
        return $this->paymentDetails;
1476
    }
1477
1478
    /**
1479
     * @param array $paymentDetails
1480
     *
1481
     * @return Order
1482
     */
1483
    public function setPaymentDetails($paymentDetails)
1484
    {
1485
        $this->paymentDetails = $paymentDetails;
1486
1487
        return $this;
1488
    }
1489
1490
    /**
1491
     * @return Transaction[]
1492
     */
1493
    public function getTransactions()
1494
    {
1495
        return $this->transactions;
1496
    }
1497
1498
    /**
1499
     * @param Transaction[] $transactions
1500
     *
1501
     * @return Order
1502
     */
1503
    public function setTransactions($transactions)
1504
    {
1505
        $this->transactions = $transactions;
1506
1507
        return $this;
1508
    }
1509
1510
    /**
1511
     * @return DiscountApplication[]
1512
     */
1513
    public function getDiscountApplications()
1514
    {
1515
        return $this->discountApplications;
1516
    }
1517
1518
    /**
1519
     * @param DiscountApplication[] $discountApplications
1520
     *
1521
     * @return Order
1522
     */
1523
    public function setDiscountApplications($discountApplications)
1524
    {
1525
        $this->discountApplications = $discountApplications;
1526
1527
        return $this;
1528
    }
1529
1530
    /**
1531
     * @return Customer
1532
     */
1533
    public function getCustomer()
1534
    {
1535
        return $this->customer;
1536
    }
1537
1538
    /**
1539
     * @param Customer $customer
1540
     */
1541
    public function setCustomer($customer)
1542
    {
1543
        $this->customer = $customer;
1544
    }
1545
}