public function __construct(\Magento\Customer\Helper\Address $customerAddress, \Psr\Log\LoggerInterface $logger, Logger $customLogger, \Magento\Framework\Locale\ResolverInterface $localeResolver, \Magento\Directory\Model\RegionFactory $regionFactory, \Magento\Framework\HTTP\Adapter\CurlFactory $curlFactory, ScopeConfigInterface $scopeConfigInterface, \Magento\Paypal\Model\Config $config, \Magento\Tax\Helper\Data $taxData, ObjectManagerInterface $objectManagerInterface, \Magento\Quote\Api\CartManagementInterface $quoteManagement, \Magento\Customer\Model\Session $customerSession, \Magento\Checkout\Helper\Data $helperData, DateTime $dateTime, ProfileFactory $profileFactory, Registry $registry, $data = []) { $this->_config = $config; $this->_curlFactory = $curlFactory; $this->_scopeConfig = $scopeConfigInterface; $this->_taxData = $taxData; $this->_objectManager = $objectManagerInterface; $this->_quoteManagement = $quoteManagement; $this->_customerSession = $customerSession; $this->_helperData = $helperData; $this->_date = $dateTime; $this->_profileFactory = $profileFactory; $this->_coreRegistry = $registry; parent::__construct($customerAddress, $logger, $customLogger, $localeResolver, $regionFactory, $data); }
/** * @param \Magento\Customer\Helper\Address $customerAddress * @param \Psr\Log\LoggerInterface $logger * @param Logger $customLogger * @param \Magento\Framework\Locale\ResolverInterface $localeResolver * @param \Magento\Directory\Model\RegionFactory $regionFactory * @param \Magento\Directory\Model\CountryFactory $countryFactory * @param ProcessableExceptionFactory $processableExceptionFactory * @param \Magento\Framework\Exception\LocalizedExceptionFactory $frameworkExceptionFactory * @param \Magento\Framework\HTTP\Adapter\CurlFactory $curlFactory * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) */ public function __construct(\Magento\Customer\Helper\Address $customerAddress, \Psr\Log\LoggerInterface $logger, Logger $customLogger, \Magento\Framework\Locale\ResolverInterface $localeResolver, \Magento\Directory\Model\RegionFactory $regionFactory, \Magento\Directory\Model\CountryFactory $countryFactory, \Magento\Paypal\Model\Api\ProcessableExceptionFactory $processableExceptionFactory, \Magento\Framework\Exception\LocalizedExceptionFactory $frameworkExceptionFactory, \Magento\Framework\HTTP\Adapter\CurlFactory $curlFactory, array $data = []) { parent::__construct($customerAddress, $logger, $customLogger, $localeResolver, $regionFactory, $data); $this->_countryFactory = $countryFactory; $this->_processableExceptionFactory = $processableExceptionFactory; $this->_frameworkExceptionFactory = $frameworkExceptionFactory; $this->_curlFactory = $curlFactory; }