/**
* Converts the order's gross total to target currency
*
* @param OrderInterface $order
*
* @return float
*/
protected function convertAmount(OrderInterface $order)
{
$amount = $order->getSummary()->getGrossAmount();
$baseCurrency = $order->getCurrency();
return $this->getCurrencyHelper()->convert($amount, $baseCurrency);
}