Ejemplo n.º 1
0
 /**
  * Data constructor.
  *
  * @param Message\MessageInterface                             $messageInterface
  * @param \Magento\Framework\App\Helper\Context                $context
  * @param LayoutFactory                                        $layoutFactory
  * @param \Magento\Payment\Model\Method\Factory                $paymentMethodFactory
  * @param \Magento\Store\Model\App\Emulation                   $appEmulation
  * @param \Magento\Payment\Model\Config                        $paymentConfig
  * @param \Magento\Framework\App\Config\Initial                $initialConfig
  * @param \Magento\Framework\Setup\ModuleContextInterface      $moduleContext
  * @param \MercadoPago\Core\Logger\Logger                      $logger
  * @param \Magento\Sales\Model\ResourceModel\Status\Collection $statusFactory
  */
 public function __construct(\MercadoPago\Core\Helper\Message\MessageInterface $messageInterface, \Magento\Framework\App\Helper\Context $context, LayoutFactory $layoutFactory, \Magento\Payment\Model\Method\Factory $paymentMethodFactory, \Magento\Store\Model\App\Emulation $appEmulation, \Magento\Payment\Model\Config $paymentConfig, \Magento\Framework\App\Config\Initial $initialConfig, \Magento\Framework\Setup\ModuleContextInterface $moduleContext, \MercadoPago\Core\Logger\Logger $logger, \Magento\Sales\Model\ResourceModel\Status\Collection $statusFactory, \Magento\Sales\Model\OrderFactory $orderFactory)
 {
     parent::__construct($context, $layoutFactory, $paymentMethodFactory, $appEmulation, $paymentConfig, $initialConfig);
     $this->_messageInterface = $messageInterface;
     $this->_mpLogger = $logger;
     $this->_moduleContext = $moduleContext;
     $this->_statusFactory = $statusFactory;
     $this->_orderFactory = $orderFactory;
 }