diff --git a/src/Position.php b/src/Position.php index 490f0f2..9b9598d 100644 --- a/src/Position.php +++ b/src/Position.php @@ -92,12 +92,12 @@ public function setName(string $name) $this->name = $name; } - public function setPriceTotal(string $priceTotal) + public function setPriceTotal(float $priceTotal) { $this->priceTotal = $priceTotal; } - public function setPriceSingle(string $priceSingle) + public function setPriceSingle(float $priceSingle) { $this->priceSingle = $priceSingle; } @@ -107,12 +107,12 @@ public function setTaxCode(string $taxCode) $this->taxCode = $taxCode; } - public function setWeight(string $weight) + public function setWeight(float $weight) { $this->weight = $weight; } - public function setAmount(string $amount) + public function setAmount(int $amount) { $this->amount = $amount; }