File tree 1 file changed +6
-6
lines changed
PayPalBundle/Structs/Payment/Transactions/ItemList
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class Item
21
21
private $ sku ;
22
22
23
23
/**
24
- * @var float
24
+ * @var string
25
25
*/
26
26
private $ price ;
27
27
@@ -31,7 +31,7 @@ class Item
31
31
private $ currency ;
32
32
33
33
/**
34
- * @var int
34
+ * @var string
35
35
*/
36
36
private $ quantity ;
37
37
@@ -53,7 +53,7 @@ public function getTax()
53
53
*/
54
54
public function setTax ($ tax )
55
55
{
56
- $ this ->tax = $ tax ;
56
+ $ this ->tax = ( string ) $ tax ;
57
57
}
58
58
59
59
/**
@@ -89,7 +89,7 @@ public function setSku($sku)
89
89
}
90
90
91
91
/**
92
- * @return float
92
+ * @return string
93
93
*/
94
94
public function getPrice ()
95
95
{
@@ -101,7 +101,7 @@ public function getPrice()
101
101
*/
102
102
public function setPrice ($ price )
103
103
{
104
- $ this ->price = $ price ;
104
+ $ this ->price = ( string ) $ price ;
105
105
}
106
106
107
107
/**
@@ -133,7 +133,7 @@ public function getQuantity()
133
133
*/
134
134
public function setQuantity ($ quantity )
135
135
{
136
- $ this ->quantity = $ quantity ;
136
+ $ this ->quantity = ( string ) $ quantity ;
137
137
}
138
138
139
139
/**
You can’t perform that action at this time.
0 commit comments