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

@param OrderInterface $order

@return float
Converts the order s gross total to target currency