/** * @param CcConfig $ccConfig * @param PaymentHelper $paymentHelper * @param \Magento\Braintree\Model\Vault $vault * @param \Magento\Braintree\Model\Config\Cc $config * @param \Magento\Checkout\Model\Session $checkoutSession * @param \Magento\Customer\Model\Session $customerSession * @param \Magento\Framework\Url $urlBuilder * @param \Magento\Braintree\Helper\Data $dataHelper */ public function __construct(CcConfig $ccConfig, PaymentHelper $paymentHelper, \Magento\Braintree\Model\Vault $vault, \Magento\Braintree\Model\Config\Cc $config, \Magento\Checkout\Model\Session $checkoutSession, \Magento\Customer\Model\Session $customerSession, \Magento\Framework\Url $urlBuilder, \Magento\Braintree\Helper\Data $dataHelper) { parent::__construct($ccConfig, $paymentHelper); $this->vault = $vault; $this->config = $config; $this->checkoutSession = $checkoutSession; $this->customerSession = $customerSession; $this->urlBuilder = $urlBuilder; $this->dataHelper = $dataHelper; }
/** * @param \Magento\Payment\Model\CcConfig $ccConfig * @param PaymentHelper $paymentHelper * @param \Adyen\Payment\Helper\Data $adyenHelper */ public function __construct(\Magento\Framework\Model\Context $context, \Magento\Payment\Model\CcConfig $ccConfig, PaymentHelper $paymentHelper, \Adyen\Payment\Helper\Data $adyenHelper, \Adyen\Payment\Model\Resource\Billing\Agreement\CollectionFactory $billingAgreementCollectionFactory, \Magento\Customer\Model\Session $customerSession, \Magento\Checkout\Model\Session $session, \Magento\Store\Model\StoreManagerInterface $storeManager) { parent::__construct($ccConfig, $paymentHelper, $this->methodCodes); $this->_paymentHelper = $paymentHelper; $this->_adyenHelper = $adyenHelper; $this->_billingAgreementCollectionFactory = $billingAgreementCollectionFactory; $this->_customerSession = $customerSession; $this->_session = $session; $this->_appState = $context->getAppState(); $this->_storeManager = $storeManager; }
/** * @param \Magento\Payment\Model\CcConfig $ccConfig * @param PaymentHelper $paymentHelper * @param \Adyen\Payment\Helper\Data $adyenHelper */ public function __construct(\Magento\Payment\Model\CcConfig $ccConfig, PaymentHelper $paymentHelper, \Adyen\Payment\Helper\Data $adyenHelper) { parent::__construct($ccConfig, $paymentHelper, $this->methodCodes); $this->adyenHelper = $adyenHelper; }
public function __construct(\Magento\Payment\Model\CcConfig $ccConfig, PaymentHelper $paymentHelper, Source $assetSource) { parent::__construct($ccConfig, $paymentHelper, $this->_methodCodes); $this->_paymentHelper = $paymentHelper; $this->_assetSource = $assetSource; }