You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Resources/Basket.php
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -34,21 +34,21 @@ class Basket extends AbstractUnzerResource
34
34
/**
35
35
* @var float $amountTotalGross
36
36
*
37
-
* @deprecated 1.1.5.0 @see $totalValueGross.
37
+
* @deprecated since 1.1.5.0 @see $totalValueGross.
38
38
*/
39
39
protected$amountTotalGross = 0.0;
40
40
41
41
/**
42
42
* @var float $amountTotalDiscount
43
43
*
44
-
* @deprecated 1.1.5.0 Property is redundant and is no longer needed.
44
+
* @deprecated since 1.1.5.0 @see Please set $amountDiscountPerUnitGross for each element of $basketItems instead.
45
45
*/
46
46
protected$amountTotalDiscount = 0.0;
47
47
48
48
/**
49
49
* @var float $amountTotalVat
50
50
*
51
-
* @deprecated 1.1.5.0 Property is redundant and is no longer needed.
51
+
* @deprecated since 1.1.5.0 Please set the $vat in percent for each element of $basketItems instead, if not already happened. The actual amount is not required anymore.
52
52
*/
53
53
protected$amountTotalVat = 0.0;
54
54
@@ -70,7 +70,7 @@ class Basket extends AbstractUnzerResource
70
70
/**
71
71
* Basket constructor.
72
72
*
73
-
* @deprecated 1.1.5.0 Please call constructor without parameters and use setter functions instead.
73
+
* @deprecated since 1.1.5.0 Please call constructor without parameters and use setter functions instead.
74
74
*
75
75
* @param float $amountTotalGross
76
76
* @param string $currencyCode
@@ -94,7 +94,7 @@ public function __construct(
94
94
/**
95
95
* @return float
96
96
*
97
-
* @deprecated 1.1.5.0 @see $getTotalValueGross.
97
+
* @deprecated since 1.1.5.0 @see $getTotalValueGross.
98
98
*/
99
99
publicfunctiongetAmountTotalGross(): float
100
100
{
@@ -104,7 +104,7 @@ public function getAmountTotalGross(): float
104
104
/**
105
105
* @param float $amountTotalGross
106
106
*
107
-
* @deprecated 1.1.5.0 @see $getTotalValueGross.
107
+
* @deprecated since 1.1.5.0 @see $getTotalValueGross.
108
108
*
109
109
* @return Basket
110
110
*/
@@ -136,7 +136,7 @@ public function setTotalValueGross(float $totalValueGross): Basket
136
136
/**
137
137
* @return float
138
138
*
139
-
* @deprecated 1.1.5.0 Property is redundant and is no longer needed.
139
+
* @deprecated since 1.1.5.0 Property is redundant and is no longer needed.
140
140
*/
141
141
publicfunctiongetAmountTotalDiscount(): float
142
142
{
@@ -146,7 +146,7 @@ public function getAmountTotalDiscount(): float
146
146
/**
147
147
* @param float $amountTotalDiscount
148
148
*
149
-
* @deprecated 1.1.5.0 Property is redundant and is no longer needed.
149
+
* @deprecated since 1.1.5.0 Property is redundant and is no longer needed.
150
150
*
151
151
* @return Basket
152
152
*/
@@ -159,7 +159,7 @@ public function setAmountTotalDiscount(float $amountTotalDiscount): Basket
159
159
/**
160
160
* @return float
161
161
*
162
-
* @deprecated 1.1.5.0 Property is redundant and is no longer needed.
162
+
* @deprecated since 1.1.5.0 Property is redundant and is no longer needed.
163
163
*/
164
164
publicfunctiongetAmountTotalVat(): float
165
165
{
@@ -169,7 +169,7 @@ public function getAmountTotalVat(): float
169
169
/**
170
170
* @param float $amountTotalVat
171
171
*
172
-
* @deprecated 1.1.5.0 Property is redundant and is no longer needed.
172
+
* @deprecated since 1.1.5.0 Property is redundant and is no longer needed.
173
173
*
174
174
* @return Basket
175
175
*/
@@ -320,7 +320,7 @@ public function expose(): array
0 commit comments