28 \
Magento\Framework\Registry $coreRegistry
30 $this->_coreRegistry = $coreRegistry;
31 parent::__construct($context);
46 $this->_actionFlag->set(
'',
'no-dispatch',
true);
56 protected function _initAgreement()
58 $agreementId = $this->
getRequest()->getParam(
'agreement');
63 $currentCustomerId = $this->
_getSession()->getCustomerId();
70 $this->messageManager->addErrorMessage(
71 __(
'Please specify the correct billing agreement ID and try again.')
84 return $this->_objectManager->get(\
Magento\Customer\Model\Session::class);
_redirect($path, $arguments=[])
dispatch(RequestInterface $request)
__construct(\Magento\Framework\App\Action\Context $context, \Magento\Framework\Registry $coreRegistry)