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;
    }
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;
    }
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 ; }
Get Installments Helper from Payment Method
@param string $methodCode
@return \Magento\Framework\App\Helper\AbstractHelper
@throws \LogicException
Get Installments Helper from Payment Method