/** * @param \Magento\Customer\Helper\Address $customerAddress * @param \Magento\Framework\Logger $logger * @param \Magento\Framework\Locale\ResolverInterface $localeResolver * @param \Magento\Directory\Model\RegionFactory $regionFactory * @param \Magento\Framework\Logger\AdapterFactory $logAdapterFactory * @param \Magento\Directory\Model\CountryFactory $countryFactory * @param \Magento\Paypal\Model\Api\ProcessableExceptionFactory $processableExceptionFactory * @param \Magento\Framework\Model\ExceptionFactory $frameworkExceptionFactory * @param \Magento\Framework\HTTP\Adapter\CurlFactory $curlFactory * @param \Magento\Framework\Math\Random $mathRandom * @param NvpFactory $nvpFactory * @param array $data */ public function __construct(\Magento\Customer\Helper\Address $customerAddress, \Magento\Framework\Logger $logger, \Magento\Framework\Locale\ResolverInterface $localeResolver, \Magento\Directory\Model\RegionFactory $regionFactory, \Magento\Framework\Logger\AdapterFactory $logAdapterFactory, \Magento\Directory\Model\CountryFactory $countryFactory, \Magento\Paypal\Model\Api\ProcessableExceptionFactory $processableExceptionFactory, \Magento\Framework\Model\ExceptionFactory $frameworkExceptionFactory, \Magento\Framework\HTTP\Adapter\CurlFactory $curlFactory, \Magento\Framework\Math\Random $mathRandom, NvpFactory $nvpFactory, array $data = array()) { parent::__construct($customerAddress, $logger, $localeResolver, $regionFactory, $logAdapterFactory, $countryFactory, $processableExceptionFactory, $frameworkExceptionFactory, $curlFactory, $data); $this->mathRandom = $mathRandom; $this->nvpFactory = $nvpFactory; }
/** * @param \Magento\Customer\Helper\Address $customerAddress * @param \Magento\Framework\Logger $logger * @param \Magento\Framework\Locale\ResolverInterface $localeResolver * @param \Magento\Directory\Model\RegionFactory $regionFactory * @param \Magento\Framework\Logger\AdapterFactory $logAdapterFactory * @param \Magento\Directory\Model\CountryFactory $countryFactory * @param \Magento\Paypal\Model\Api\ProcessableExceptionFactory $processableExceptionFactory * @param \Magento\Framework\Model\ExceptionFactory $frameworkExceptionFactory * @param \Magento\Framework\HTTP\Adapter\CurlFactory $curlFactory * @param \Magento\RecurringPayment\Model\QuoteImporter $quoteImporter * @param array $data */ public function __construct(\Magento\Customer\Helper\Address $customerAddress, \Magento\Framework\Logger $logger, \Magento\Framework\Locale\ResolverInterface $localeResolver, \Magento\Directory\Model\RegionFactory $regionFactory, \Magento\Framework\Logger\AdapterFactory $logAdapterFactory, \Magento\Directory\Model\CountryFactory $countryFactory, \Magento\Paypal\Model\Api\ProcessableExceptionFactory $processableExceptionFactory, \Magento\Framework\Model\ExceptionFactory $frameworkExceptionFactory, \Magento\Framework\HTTP\Adapter\CurlFactory $curlFactory, \Magento\RecurringPayment\Model\QuoteImporter $quoteImporter, array $data = array()) { parent::__construct($customerAddress, $logger, $localeResolver, $regionFactory, $logAdapterFactory, $countryFactory, $processableExceptionFactory, $frameworkExceptionFactory, $curlFactory, $data); $this->_quoteImporter = $quoteImporter; }