Completed
Push — master ( e6d49b...645be4 )
by Taosikai
11:29
created

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