protected function supports(PaymentInterface $payment)
    {
        if (null === $method = $payment->getMethod()) {
            throw new RuntimeException("Payment method must be set.");
        }

        if ($method->isCredit() || $method->isOutstanding()) {
            return true;
        }

        return false;
    }