/**
* Prepares order product totals
*
* @param OrderInterface $order
* @param ShippingMethodCostInterface $shippingMethodCost
*/
protected function prepareProductTotals(OrderInterface $order, CartInterface $cart)
{
$cartTotals = $cart->getTotals();
$baseCurrency = $cart->getCurrency();
$productTotal = new OrderTotal();
$productTotal->setGrossAmount($this->currencyHelper->convert($cartTotals->getGrossPrice(), $baseCurrency, $order->getCurrency()));
$productTotal->setNetAmount($this->currencyHelper->convert($cartTotals->getNetPrice(), $baseCurrency, $order->getCurrency()));
$productTotal->setTaxAmount($this->currencyHelper->convert($cartTotals->getTaxAmount(), $baseCurrency, $order->getCurrency()));
$productTotal->setCurrency($order->getCurrency());
$order->setProductTotal($productTotal);
}