protected function _getInstallmentsHelperFromPaymentMethod($methodCode)
    {
        $helperClassName = $this->_scopeConfig->getValue('installments/payment_methods/'
            . $methodCode . '/installments_helper');
        $helper = $this->_helperFactory->get($helperClassName);
        if (false === $helper instanceof \Magento\Framework\App\Helper\AbstractHelper) {
            throw new \LogicException($helperClassName .
                ' doesn\'t extend Magento\Framework\App\Helper\AbstractHelper');
        }

        return $helper;
    }