Beispiel #1
0
 /**
  * @param \Magento\Framework\View\Element\Template\Context $context
  * @param \Magento\Payment\Model\Config $paymentConfig
  * @param \Magento\Paypal\Model\InfoFactory $paypalInfoFactory
  * @param array $data
  */
 public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Payment\Model\Config $paymentConfig, \Magento\Paypal\Model\InfoFactory $paypalInfoFactory, array $data = [])
 {
     $this->_paypalInfoFactory = $paypalInfoFactory;
     parent::__construct($context, $paymentConfig, $data);
 }
Beispiel #2
0
 /**
  * @param \Magento\Framework\View\Element\Template\Context $context
  * @param \Magento\Payment\Model\Config $paymentConfig
  * @param \Magento\Core\Helper\Data $coreData
  * @param array $data
  */
 public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Payment\Model\Config $paymentConfig, \Magento\Core\Helper\Data $coreData, array $data = array())
 {
     $this->_coreData = $coreData;
     parent::__construct($context, $paymentConfig, $data);
 }