Completed
Push — master ( 636a3e...0d9cfe )
by Joachim
12:23
created

Payment::setSessionId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
namespace Loevgaard\DandomainAltapayBundle\Entity;
3
4
use Doctrine\Common\Collections\ArrayCollection;
5
use Doctrine\ORM\Mapping AS ORM;
6
7
/**
8
 * @ORM\MappedSuperclass
9
 */
10
abstract class Payment implements PaymentInterface
11
{
12
    /**
13
     * @var string
14
     */
15
    protected $apiKey;
16
17
    /**
18
     * @var string
19
     */
20
    protected $merchant;
21
22
    /**
23
     * @var int
24
     */
25
    protected $orderId;
26
27
    /**
28
     * @var string
29
     */
30
    protected $sessionId;
31
32
    /**
33
     * @var string
34
     */
35
    protected $currencySymbol;
36
37
    /**
38
     * @var float
39
     */
40
    protected $totalAmount;
41
42
    /**
43
     * @var string
44
     */
45
    protected $callBackUrl;
46
47
    /**
48
     * @var string
49
     */
50
    protected $fullCallBackOkUrl;
51
52
    /**
53
     * @var string
54
     */
55
    protected $callBackOkUrl;
56
57
    /**
58
     * @var string
59
     */
60
    protected $callBackServerUrl;
61
62
    /**
63
     * @var int
64
     */
65
    protected $languageId;
66
67
    /**
68
     * @var boolean
69
     */
70
    protected $testMode;
71
72
    /**
73
     * @var int
74
     */
75
    protected $paymentGatewayCurrencyCode;
76
77
    /**
78
     * @var int
79
     */
80
    protected $cardTypeId;
81
82
    /**
83
     * @var string
84
     */
85
    protected $customerRekvNr;
86
87
    /**
88
     * @var string
89
     */
90
    protected $customerName;
91
92
    /**
93
     * @var string
94
     */
95
    protected $customerCompany;
96
97
    /**
98
     * @var string
99
     */
100
    protected $customerAddress;
101
102
    /**
103
     * @var string
104
     */
105
    protected $customerAddress2;
106
107
    /**
108
     * @var string
109
     */
110
    protected $customerZipCode;
111
112
    /**
113
     * @var string
114
     */
115
    protected $customerCity;
116
117
    /**
118
     * @var int
119
     */
120
    protected $customerCountryId;
121
122
    /**
123
     * @var string
124
     */
125
    protected $customerCountry;
126
127
    /**
128
     * @var string
129
     */
130
    protected $customerPhone;
131
132
    /**
133
     * @var string
134
     */
135
    protected $customerFax;
136
137
    /**
138
     * @var string
139
     */
140
    protected $customerEmail;
141
142
    /**
143
     * @var string
144
     */
145
    protected $customerNote;
146
147
    /**
148
     * @var string
149
     */
150
    protected $customerCvrnr;
151
152
    /**
153
     * @var int
154
     */
155
    protected $customerCustTypeId;
156
157
    /**
158
     * @var string
159
     */
160
    protected $customerEan;
161
162
    /**
163
     * @var string
164
     */
165
    protected $customerRes1;
166
167
    /**
168
     * @var string
169
     */
170
    protected $customerRes2;
171
172
    /**
173
     * @var string
174
     */
175
    protected $customerRes3;
176
177
    /**
178
     * @var string
179
     */
180
    protected $customerRes4;
181
182
    /**
183
     * @var string
184
     */
185
    protected $customerRes5;
186
187
    /**
188
     * @var string
189
     */
190
    protected $customerIp;
191
192
    /**
193
     * @var string
194
     */
195
    protected $deliveryName;
196
197
    /**
198
     * @var string
199
     */
200
    protected $deliveryCompany;
201
202
    /**
203
     * @var string
204
     */
205
    protected $deliveryAddress;
206
207
    /**
208
     * @var string
209
     */
210
    protected $deliveryAddress2;
211
212
    /**
213
     * @var string
214
     */
215
    protected $deliveryZipCode;
216
217
    /**
218
     * @var string
219
     */
220
    protected $deliveryCity;
221
222
    /**
223
     * @var int
224
     */
225
    protected $deliveryCountryID;
226
227
    /**
228
     * @var string
229
     */
230
    protected $deliveryCountry;
231
232
    /**
233
     * @var string
234
     */
235
    protected $deliveryPhone;
236
237
    /**
238
     * @var string
239
     */
240
    protected $deliveryFax;
241
242
    /**
243
     * @var string
244
     */
245
    protected $deliveryEmail;
246
247
    /**
248
     * @var string
249
     */
250
    protected $deliveryEan;
251
252
    /**
253
     * @var string
254
     */
255
    protected $shippingMethod;
256
257
    /**
258
     * @var float
259
     */
260
    protected $shippingFee;
261
262
    /**
263
     * @var string
264
     */
265
    protected $paymentMethod;
266
267
    /**
268
     * @var float
269
     */
270
    protected $paymentFee;
271
272
    /**
273
     * @var string
274
     */
275
    protected $loadBalancerRealIp;
276
277
    /**
278
     * @var OrderLine[]
279
     */
280
    protected $orderLines;
281
282
    public function __construct()
283
    {
284
        $this->orderLines = new ArrayCollection();
0 ignored issues
show
Documentation Bug introduced by
It seems like new \Doctrine\Common\Collections\ArrayCollection() of type object<Doctrine\Common\C...ctions\ArrayCollection> is incompatible with the declared type array<integer,object<Loe...ndle\Entity\OrderLine>> of property $orderLines.

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...
285
    }
286
287
    /**
288
     * @return string
289
     */
290
    public function getApiKey() : string
291
    {
292
        return $this->apiKey;
293
    }
294
295
    /**
296
     * @param string $apiKey
297
     * @return PaymentInterface
298
     */
299
    public function setApiKey(string $apiKey) : PaymentInterface
300
    {
301
        $this->apiKey = $apiKey;
302
        return $this;
303
    }
304
305
    /**
306
     * @return string
307
     */
308
    public function getMerchant() : string
309
    {
310
        return $this->merchant;
311
    }
312
313
    /**
314
     * @param string $merchant
315
     * @return PaymentInterface
316
     */
317
    public function setMerchant(string $merchant) : PaymentInterface
318
    {
319
        $this->merchant = $merchant;
320
        return $this;
321
    }
322
323
    /**
324
     * @return int
325
     */
326
    public function getOrderId() : int
327
    {
328
        return $this->orderId;
329
    }
330
331
    /**
332
     * @param int $orderId
333
     * @return PaymentInterface
334
     */
335
    public function setOrderId(int $orderId) : PaymentInterface
336
    {
337
        $this->orderId = $orderId;
338
        return $this;
339
    }
340
341
    /**
342
     * @return string
343
     */
344
    public function getSessionId() : string
345
    {
346
        return $this->sessionId;
347
    }
348
349
    /**
350
     * @param string $sessionId
351
     * @return PaymentInterface
352
     */
353
    public function setSessionId(string $sessionId) : PaymentInterface
354
    {
355
        $this->sessionId = $sessionId;
356
        return $this;
357
    }
358
359
    /**
360
     * @return string
361
     */
362
    public function getCurrencySymbol() : string
363
    {
364
        return $this->currencySymbol;
365
    }
366
367
    /**
368
     * @param string $currencySymbol
369
     * @return PaymentInterface
370
     */
371
    public function setCurrencySymbol(string $currencySymbol) : PaymentInterface
372
    {
373
        $this->currencySymbol = $currencySymbol;
374
        return $this;
375
    }
376
377
    /**
378
     * @return float
379
     */
380
    public function getTotalAmount() : float
381
    {
382
        return $this->totalAmount;
383
    }
384
385
    /**
386
     * @param float $totalAmount
387
     * @return PaymentInterface
388
     */
389
    public function setTotalAmount(float $totalAmount) : PaymentInterface
390
    {
391
        $this->totalAmount = $totalAmount;
392
        return $this;
393
    }
394
395
    /**
396
     * @return string
397
     */
398
    public function getCallBackUrl() : string
399
    {
400
        return $this->callBackUrl;
401
    }
402
403
    /**
404
     * @param string $callBackUrl
405
     * @return PaymentInterface
406
     */
407
    public function setCallBackUrl(string $callBackUrl) : PaymentInterface
408
    {
409
        $this->callBackUrl = $callBackUrl;
410
        return $this;
411
    }
412
413
    /**
414
     * @return string
415
     */
416
    public function getFullCallBackOkUrl() : string
417
    {
418
        return $this->fullCallBackOkUrl;
419
    }
420
421
    /**
422
     * @param string $fullCallBackOkUrl
423
     * @return PaymentInterface
424
     */
425
    public function setFullCallBackOkUrl(string $fullCallBackOkUrl) : PaymentInterface
426
    {
427
        $this->fullCallBackOkUrl = $fullCallBackOkUrl;
428
        return $this;
429
    }
430
431
    /**
432
     * @return string
433
     */
434
    public function getCallBackOkUrl() : string
435
    {
436
        return $this->callBackOkUrl;
437
    }
438
439
    /**
440
     * @param string $callBackOkUrl
441
     * @return PaymentInterface
442
     */
443
    public function setCallBackOkUrl(string $callBackOkUrl) : PaymentInterface
444
    {
445
        $this->callBackOkUrl = $callBackOkUrl;
446
        return $this;
447
    }
448
449
    /**
450
     * @return string
451
     */
452
    public function getCallBackServerUrl() : string
453
    {
454
        return $this->callBackServerUrl;
455
    }
456
457
    /**
458
     * @param string $callBackServerUrl
459
     * @return PaymentInterface
460
     */
461
    public function setCallBackServerUrl(string $callBackServerUrl) : PaymentInterface
462
    {
463
        $this->callBackServerUrl = $callBackServerUrl;
464
        return $this;
465
    }
466
467
    /**
468
     * @return int
469
     */
470
    public function getLanguageId() : int
471
    {
472
        return $this->languageId;
473
    }
474
475
    /**
476
     * @param int $languageId
477
     * @return PaymentInterface
478
     */
479
    public function setLanguageId(int $languageId) : PaymentInterface
480
    {
481
        $this->languageId = $languageId;
482
        return $this;
483
    }
484
485
    /**
486
     * @return bool
487
     */
488
    public function isTestMode(): bool
489
    {
490
        return $this->testMode;
491
    }
492
493
    /**
494
     * @param bool $testMode
495
     * @return PaymentInterface
496
     */
497
    public function setTestMode(bool $testMode) : PaymentInterface
498
    {
499
        $this->testMode = $testMode;
500
        return $this;
501
    }
502
503
    /**
504
     * @return int
505
     */
506
    public function getPaymentGatewayCurrencyCode()
507
    {
508
        return $this->paymentGatewayCurrencyCode;
509
    }
510
511
    /**
512
     * @param int $paymentGatewayCurrencyCode
513
     * @return PaymentInterface
514
     */
515
    public function setPaymentGatewayCurrencyCode(int $paymentGatewayCurrencyCode) : PaymentInterface
516
    {
517
        $this->paymentGatewayCurrencyCode = $paymentGatewayCurrencyCode;
518
        return $this;
519
    }
520
521
    /**
522
     * @return int
523
     */
524
    public function getCardTypeId()
525
    {
526
        return $this->cardTypeId;
527
    }
528
529
    /**
530
     * @param int $cardTypeId
531
     * @return PaymentInterface
532
     */
533
    public function setCardTypeId(int $cardTypeId) : PaymentInterface
534
    {
535
        $this->cardTypeId = $cardTypeId;
536
        return $this;
537
    }
538
539
    /**
540
     * @return string
541
     */
542
    public function getCustomerRekvNr() : string
543
    {
544
        return $this->customerRekvNr;
545
    }
546
547
    /**
548
     * @param string $customerRekvNr
549
     * @return PaymentInterface
550
     */
551
    public function setCustomerRekvNr(string $customerRekvNr) : PaymentInterface
552
    {
553
        $this->customerRekvNr = $customerRekvNr;
554
        return $this;
555
    }
556
557
    /**
558
     * @return string
559
     */
560
    public function getCustomerName() : string
561
    {
562
        return $this->customerName;
563
    }
564
565
    /**
566
     * @param string $customerName
567
     * @return PaymentInterface
568
     */
569
    public function setCustomerName(string $customerName) : PaymentInterface
570
    {
571
        $this->customerName = $customerName;
572
        return $this;
573
    }
574
575
    /**
576
     * @return string
577
     */
578
    public function getCustomerCompany() : string
579
    {
580
        return $this->customerCompany;
581
    }
582
583
    /**
584
     * @param string $customerCompany
585
     * @return PaymentInterface
586
     */
587
    public function setCustomerCompany(string $customerCompany) : PaymentInterface
588
    {
589
        $this->customerCompany = $customerCompany;
590
        return $this;
591
    }
592
593
    /**
594
     * @return string
595
     */
596
    public function getCustomerAddress() : string
597
    {
598
        return $this->customerAddress;
599
    }
600
601
    /**
602
     * @param string $customerAddress
603
     * @return PaymentInterface
604
     */
605
    public function setCustomerAddress(string $customerAddress) : PaymentInterface
606
    {
607
        $this->customerAddress = $customerAddress;
608
        return $this;
609
    }
610
611
    /**
612
     * @return string
613
     */
614
    public function getCustomerAddress2() : string
615
    {
616
        return $this->customerAddress2;
617
    }
618
619
    /**
620
     * @param string $customerAddress2
621
     * @return PaymentInterface
622
     */
623
    public function setCustomerAddress2(string $customerAddress2) : PaymentInterface
624
    {
625
        $this->customerAddress2 = $customerAddress2;
626
        return $this;
627
    }
628
629
    /**
630
     * @return string
631
     */
632
    public function getCustomerZipCode() : string
633
    {
634
        return $this->customerZipCode;
635
    }
636
637
    /**
638
     * @param string $customerZipCode
639
     * @return PaymentInterface
640
     */
641
    public function setCustomerZipCode(string $customerZipCode) : PaymentInterface
642
    {
643
        $this->customerZipCode = $customerZipCode;
644
        return $this;
645
    }
646
647
    /**
648
     * @return string
649
     */
650
    public function getCustomerCity() : string
651
    {
652
        return $this->customerCity;
653
    }
654
655
    /**
656
     * @param string $customerCity
657
     * @return PaymentInterface
658
     */
659
    public function setCustomerCity(string $customerCity) : PaymentInterface
660
    {
661
        $this->customerCity = $customerCity;
662
        return $this;
663
    }
664
665
    /**
666
     * @return int
667
     */
668
    public function getCustomerCountryId()
669
    {
670
        return $this->customerCountryId;
671
    }
672
673
    /**
674
     * @param int $customerCountryId
675
     * @return PaymentInterface
676
     */
677
    public function setCustomerCountryId(int $customerCountryId) : PaymentInterface
678
    {
679
        $this->customerCountryId = $customerCountryId;
680
        return $this;
681
    }
682
683
    /**
684
     * @return string
685
     */
686
    public function getCustomerCountry() : string
687
    {
688
        return $this->customerCountry;
689
    }
690
691
    /**
692
     * @param string $customerCountry
693
     * @return PaymentInterface
694
     */
695
    public function setCustomerCountry(string $customerCountry) : PaymentInterface
696
    {
697
        $this->customerCountry = $customerCountry;
698
        return $this;
699
    }
700
701
    /**
702
     * @return string
703
     */
704
    public function getCustomerPhone() : string
705
    {
706
        return $this->customerPhone;
707
    }
708
709
    /**
710
     * @param string $customerPhone
711
     * @return PaymentInterface
712
     */
713
    public function setCustomerPhone(string $customerPhone) : PaymentInterface
714
    {
715
        $this->customerPhone = $customerPhone;
716
        return $this;
717
    }
718
719
    /**
720
     * @return string
721
     */
722
    public function getCustomerFax() : string
723
    {
724
        return $this->customerFax;
725
    }
726
727
    /**
728
     * @param string $customerFax
729
     * @return PaymentInterface
730
     */
731
    public function setCustomerFax(string $customerFax) : PaymentInterface
732
    {
733
        $this->customerFax = $customerFax;
734
        return $this;
735
    }
736
737
    /**
738
     * @return string
739
     */
740
    public function getCustomerEmail() : string
741
    {
742
        return $this->customerEmail;
743
    }
744
745
    /**
746
     * @param string $customerEmail
747
     * @return PaymentInterface
748
     */
749
    public function setCustomerEmail(string $customerEmail) : PaymentInterface
750
    {
751
        $this->customerEmail = $customerEmail;
752
        return $this;
753
    }
754
755
    /**
756
     * @return string
757
     */
758
    public function getCustomerNote() : string
759
    {
760
        return $this->customerNote;
761
    }
762
763
    /**
764
     * @param string $customerNote
765
     * @return PaymentInterface
766
     */
767
    public function setCustomerNote(string $customerNote) : PaymentInterface
768
    {
769
        $this->customerNote = $customerNote;
770
        return $this;
771
    }
772
773
    /**
774
     * @return string
775
     */
776
    public function getCustomerCvrnr() : string
777
    {
778
        return $this->customerCvrnr;
779
    }
780
781
    /**
782
     * @param string $customerCvrnr
783
     * @return PaymentInterface
784
     */
785
    public function setCustomerCvrnr(string $customerCvrnr) : PaymentInterface
786
    {
787
        $this->customerCvrnr = $customerCvrnr;
788
        return $this;
789
    }
790
791
    /**
792
     * @return int
793
     */
794
    public function getCustomerCustTypeId() : int
795
    {
796
        return $this->customerCustTypeId;
797
    }
798
799
    /**
800
     * @param int $customerCustTypeId
801
     * @return PaymentInterface
802
     */
803
    public function setCustomerCustTypeId(int $customerCustTypeId) : PaymentInterface
804
    {
805
        $this->customerCustTypeId = $customerCustTypeId;
806
        return $this;
807
    }
808
809
    /**
810
     * @return string
811
     */
812
    public function getCustomerEan() : string
813
    {
814
        return $this->customerEan;
815
    }
816
817
    /**
818
     * @param string $customerEan
819
     * @return PaymentInterface
820
     */
821
    public function setCustomerEan(string $customerEan) : PaymentInterface
822
    {
823
        $this->customerEan = $customerEan;
824
        return $this;
825
    }
826
827
    /**
828
     * @return string
829
     */
830
    public function getCustomerRes1() : string
831
    {
832
        return $this->customerRes1;
833
    }
834
835
    /**
836
     * @param string $customerRes1
837
     * @return PaymentInterface
838
     */
839
    public function setCustomerRes1(string $customerRes1) : PaymentInterface
840
    {
841
        $this->customerRes1 = $customerRes1;
842
        return $this;
843
    }
844
845
    /**
846
     * @return string
847
     */
848
    public function getCustomerRes2() : string
849
    {
850
        return $this->customerRes2;
851
    }
852
853
    /**
854
     * @param string $customerRes2
855
     * @return PaymentInterface
856
     */
857
    public function setCustomerRes2(string $customerRes2) : PaymentInterface
858
    {
859
        $this->customerRes2 = $customerRes2;
860
        return $this;
861
    }
862
863
    /**
864
     * @return string
865
     */
866
    public function getCustomerRes3() : string
867
    {
868
        return $this->customerRes3;
869
    }
870
871
    /**
872
     * @param string $customerRes3
873
     * @return PaymentInterface
874
     */
875
    public function setCustomerRes3(string $customerRes3) : PaymentInterface
876
    {
877
        $this->customerRes3 = $customerRes3;
878
        return $this;
879
    }
880
881
    /**
882
     * @return string
883
     */
884
    public function getCustomerRes4() : string
885
    {
886
        return $this->customerRes4;
887
    }
888
889
    /**
890
     * @param string $customerRes4
891
     * @return PaymentInterface
892
     */
893
    public function setCustomerRes4(string $customerRes4) : PaymentInterface
894
    {
895
        $this->customerRes4 = $customerRes4;
896
        return $this;
897
    }
898
899
    /**
900
     * @return string
901
     */
902
    public function getCustomerRes5() : string
903
    {
904
        return $this->customerRes5;
905
    }
906
907
    /**
908
     * @param string $customerRes5
909
     * @return PaymentInterface
910
     */
911
    public function setCustomerRes5(string $customerRes5) : PaymentInterface
912
    {
913
        $this->customerRes5 = $customerRes5;
914
        return $this;
915
    }
916
917
    /**
918
     * @return string
919
     */
920
    public function getCustomerIp() : string
921
    {
922
        return $this->customerIp;
923
    }
924
925
    /**
926
     * @param string $customerIp
927
     * @return PaymentInterface
928
     */
929
    public function setCustomerIp(string $customerIp) : PaymentInterface
930
    {
931
        $this->customerIp = $customerIp;
932
        return $this;
933
    }
934
935
    /**
936
     * @return string
937
     */
938
    public function getDeliveryName() : string
939
    {
940
        return $this->deliveryName;
941
    }
942
943
    /**
944
     * @param string $deliveryName
945
     * @return PaymentInterface
946
     */
947
    public function setDeliveryName(string $deliveryName) : PaymentInterface
948
    {
949
        $this->deliveryName = $deliveryName;
950
        return $this;
951
    }
952
953
    /**
954
     * @return string
955
     */
956
    public function getDeliveryCompany() : string
957
    {
958
        return $this->deliveryCompany;
959
    }
960
961
    /**
962
     * @param string $deliveryCompany
963
     * @return PaymentInterface
964
     */
965
    public function setDeliveryCompany(string $deliveryCompany) : PaymentInterface
966
    {
967
        $this->deliveryCompany = $deliveryCompany;
968
        return $this;
969
    }
970
971
    /**
972
     * @return string
973
     */
974
    public function getDeliveryAddress() : string
975
    {
976
        return $this->deliveryAddress;
977
    }
978
979
    /**
980
     * @param string $deliveryAddress
981
     * @return PaymentInterface
982
     */
983
    public function setDeliveryAddress(string $deliveryAddress) : PaymentInterface
984
    {
985
        $this->deliveryAddress = $deliveryAddress;
986
        return $this;
987
    }
988
989
    /**
990
     * @return string
991
     */
992
    public function getDeliveryAddress2() : string
993
    {
994
        return $this->deliveryAddress2;
995
    }
996
997
    /**
998
     * @param string $deliveryAddress2
999
     * @return PaymentInterface
1000
     */
1001
    public function setDeliveryAddress2(string $deliveryAddress2) : PaymentInterface
1002
    {
1003
        $this->deliveryAddress2 = $deliveryAddress2;
1004
        return $this;
1005
    }
1006
1007
    /**
1008
     * @return string
1009
     */
1010
    public function getDeliveryZipCode() : string
1011
    {
1012
        return $this->deliveryZipCode;
1013
    }
1014
1015
    /**
1016
     * @param string $deliveryZipCode
1017
     * @return PaymentInterface
1018
     */
1019
    public function setDeliveryZipCode(string $deliveryZipCode) : PaymentInterface
1020
    {
1021
        $this->deliveryZipCode = $deliveryZipCode;
1022
        return $this;
1023
    }
1024
1025
    /**
1026
     * @return string
1027
     */
1028
    public function getDeliveryCity() : string
1029
    {
1030
        return $this->deliveryCity;
1031
    }
1032
1033
    /**
1034
     * @param string $deliveryCity
1035
     * @return PaymentInterface
1036
     */
1037
    public function setDeliveryCity(string $deliveryCity) : PaymentInterface
1038
    {
1039
        $this->deliveryCity = $deliveryCity;
1040
        return $this;
1041
    }
1042
1043
    /**
1044
     * @return int
1045
     */
1046
    public function getDeliveryCountryID() : int
1047
    {
1048
        return $this->deliveryCountryID;
1049
    }
1050
1051
    /**
1052
     * @param int $deliveryCountryID
1053
     * @return PaymentInterface
1054
     */
1055
    public function setDeliveryCountryID(int $deliveryCountryID) : PaymentInterface
1056
    {
1057
        $this->deliveryCountryID = $deliveryCountryID;
1058
        return $this;
1059
    }
1060
1061
    /**
1062
     * @return string
1063
     */
1064
    public function getDeliveryCountry() : string
1065
    {
1066
        return $this->deliveryCountry;
1067
    }
1068
1069
    /**
1070
     * @param string $deliveryCountry
1071
     * @return PaymentInterface
1072
     */
1073
    public function setDeliveryCountry(string $deliveryCountry) : PaymentInterface
1074
    {
1075
        $this->deliveryCountry = $deliveryCountry;
1076
        return $this;
1077
    }
1078
1079
    /**
1080
     * @return string
1081
     */
1082
    public function getDeliveryPhone() : string
1083
    {
1084
        return $this->deliveryPhone;
1085
    }
1086
1087
    /**
1088
     * @param string $deliveryPhone
1089
     * @return PaymentInterface
1090
     */
1091
    public function setDeliveryPhone(string $deliveryPhone) : PaymentInterface
1092
    {
1093
        $this->deliveryPhone = $deliveryPhone;
1094
        return $this;
1095
    }
1096
1097
    /**
1098
     * @return string
1099
     */
1100
    public function getDeliveryFax() : string
1101
    {
1102
        return $this->deliveryFax;
1103
    }
1104
1105
    /**
1106
     * @param string $deliveryFax
1107
     * @return PaymentInterface
1108
     */
1109
    public function setDeliveryFax(string $deliveryFax) : PaymentInterface
1110
    {
1111
        $this->deliveryFax = $deliveryFax;
1112
        return $this;
1113
    }
1114
1115
    /**
1116
     * @return string
1117
     */
1118
    public function getDeliveryEmail() : string
1119
    {
1120
        return $this->deliveryEmail;
1121
    }
1122
1123
    /**
1124
     * @param string $deliveryEmail
1125
     * @return PaymentInterface
1126
     */
1127
    public function setDeliveryEmail(string $deliveryEmail) : PaymentInterface
1128
    {
1129
        $this->deliveryEmail = $deliveryEmail;
1130
        return $this;
1131
    }
1132
1133
    /**
1134
     * @return string
1135
     */
1136
    public function getDeliveryEan() : string
1137
    {
1138
        return $this->deliveryEan;
1139
    }
1140
1141
    /**
1142
     * @param string $deliveryEan
1143
     * @return PaymentInterface
1144
     */
1145
    public function setDeliveryEan(string $deliveryEan) : PaymentInterface
1146
    {
1147
        $this->deliveryEan = $deliveryEan;
1148
        return $this;
1149
    }
1150
1151
    /**
1152
     * @return string
1153
     */
1154
    public function getShippingMethod() : string
1155
    {
1156
        return $this->shippingMethod;
1157
    }
1158
1159
    /**
1160
     * @param string $shippingMethod
1161
     * @return PaymentInterface
1162
     */
1163
    public function setShippingMethod(string $shippingMethod) : PaymentInterface
1164
    {
1165
        $this->shippingMethod = $shippingMethod;
1166
        return $this;
1167
    }
1168
1169
    /**
1170
     * @return float
1171
     */
1172
    public function getShippingFee() : float
1173
    {
1174
        return $this->shippingFee;
1175
    }
1176
1177
    /**
1178
     * @param float $shippingFee
1179
     * @return PaymentInterface
1180
     */
1181
    public function setShippingFee(float $shippingFee) : PaymentInterface
1182
    {
1183
        $this->shippingFee = $shippingFee;
1184
        return $this;
1185
    }
1186
1187
    /**
1188
     * @return string
1189
     */
1190
    public function getPaymentMethod() : string
1191
    {
1192
        return $this->paymentMethod;
1193
    }
1194
1195
    /**
1196
     * @param string $paymentMethod
1197
     * @return PaymentInterface
1198
     */
1199
    public function setPaymentMethod(string $paymentMethod) : PaymentInterface
1200
    {
1201
        $this->paymentMethod = $paymentMethod;
1202
        return $this;
1203
    }
1204
1205
    /**
1206
     * @return float
1207
     */
1208
    public function getPaymentFee() : float
1209
    {
1210
        return $this->paymentFee;
1211
    }
1212
1213
    /**
1214
     * @param float $paymentFee
1215
     * @return PaymentInterface
1216
     */
1217
    public function setPaymentFee(float $paymentFee) : PaymentInterface
1218
    {
1219
        $this->paymentFee = $paymentFee;
1220
        return $this;
1221
    }
1222
1223
    /**
1224
     * @return string
1225
     */
1226
    public function getLoadBalancerRealIp() : string
1227
    {
1228
        return $this->loadBalancerRealIp;
1229
    }
1230
1231
    /**
1232
     * @param string $loadBalancerRealIp
1233
     * @return PaymentInterface
1234
     */
1235
    public function setLoadBalancerRealIp(string $loadBalancerRealIp) : PaymentInterface
1236
    {
1237
        $this->loadBalancerRealIp = $loadBalancerRealIp;
1238
        return $this;
1239
    }
1240
1241
    /**
1242
     * @return OrderLineInterface[]
1243
     */
1244
    public function getOrderLines() : array
1245
    {
1246
        return $this->orderLines;
1247
    }
1248
1249
    /**
1250
     * @param OrderLineInterface[] $orderLines
1251
     * @return PaymentInterface
1252
     */
1253
    public function setOrderLines(array $orderLines) : PaymentInterface
1254
    {
1255
        $this->orderLines = $orderLines;
0 ignored issues
show
Documentation Bug introduced by
It seems like $orderLines of type array<integer,object<Loe...ty\OrderLineInterface>> is incompatible with the declared type array<integer,object<Loe...ndle\Entity\OrderLine>> of property $orderLines.

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...
1256
        return $this;
1257
    }
1258
1259
    /**
1260
     * @param OrderLineInterface $orderLine
1261
     * @return PaymentInterface
1262
     */
1263
    public function addOrderLine(OrderLineInterface $orderLine) : PaymentInterface
1264
    {
1265
        $this->orderLines[] = $orderLine;
1266
        return $this;
1267
    }
1268
}