protected function hasDifferentCurrencies(PaymentSubjectInterface $subject)
    {
        $currency = $subject->getCurrency()->getCode();

        foreach ($subject->getPayments() as $payment) {
            if ($payment->getCurrency()->getCode() !== $currency) {
                return true;
            }
        }

        return false;
    }