@@ -123,13 +123,16 @@ class OrderProductPriceSolver | |||
); | |||
} | |||
public function getTotalWithTaxAndReduction(OrderProductInterface $orderProduct) | |||
public function getTotalWithTaxAndReduction(OrderProductInterface $orderProduct, bool $round = true) | |||
{ | |||
return $this->applyReductionCatalog( | |||
$orderProduct, | |||
$this->getTotal($orderProduct), | |||
$this->getTotalWithTax($orderProduct), | |||
$orderProduct->getQuantityOrder() | |||
$orderProduct->getQuantityOrder(), | |||
null, | |||
true, | |||
$round | |||
); | |||
} | |||