Пример #1
0
 public function __construct(\Ess\M2ePro\Model\Amazon\Order\ShippingAddressFactory $shippingAddressFactory, \Magento\Shipping\Model\CarrierFactory $carrierFactory, \Magento\Framework\Event\ManagerInterface $eventManager, \Ess\M2ePro\Model\ActiveRecord\Component\Parent\Factory $parentFactory, \Ess\M2ePro\Model\Factory $modelFactory, \Ess\M2ePro\Model\ActiveRecord\Factory $activeRecordFactory, \Ess\M2ePro\Helper\Factory $helperFactory, \Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Model\ResourceModel\AbstractResource $resource = null, \Magento\Framework\Data\Collection\AbstractDb $resourceCollection = null, array $data = [])
 {
     $this->shippingAddressFactory = $shippingAddressFactory;
     $this->carrierFactory = $carrierFactory;
     $this->eventManager = $eventManager;
     parent::__construct($parentFactory, $modelFactory, $activeRecordFactory, $helperFactory, $context, $registry, $resource, $resourceCollection, $data);
 }
Пример #2
0
 public function __construct(\Ess\M2ePro\Model\Magento\Product\BuilderFactory $productBuilderFactory, \Magento\Framework\Event\ManagerInterface $eventManager, \Magento\Catalog\Model\ProductFactory $productFactory, \Ess\M2ePro\Model\ActiveRecord\Component\Parent\Factory $parentFactory, \Ess\M2ePro\Model\Factory $modelFactory, \Ess\M2ePro\Model\ActiveRecord\Factory $activeRecordFactory, \Ess\M2ePro\Helper\Factory $helperFactory, \Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Model\ResourceModel\AbstractResource $resource = null, \Magento\Framework\Data\Collection\AbstractDb $resourceCollection = null, array $data = [])
 {
     $this->productBuilderFactory = $productBuilderFactory;
     $this->eventManager = $eventManager;
     $this->productFactory = $productFactory;
     parent::__construct($parentFactory, $modelFactory, $activeRecordFactory, $helperFactory, $context, $registry, $resource, $resourceCollection, $data);
 }
Пример #3
0
 public function __construct(\Ess\M2ePro\Model\Currency $currencyModel, \Ess\M2ePro\Model\ActiveRecord\Component\Parent\Factory $parentFactory, \Ess\M2ePro\Model\Factory $modelFactory, \Ess\M2ePro\Model\ActiveRecord\Factory $activeRecordFactory, \Ess\M2ePro\Helper\Factory $helperFactory, \Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Model\ResourceModel\AbstractResource $resource = null, \Magento\Framework\Data\Collection\AbstractDb $resourceCollection = null, array $data = [])
 {
     $this->currencyModel = $currencyModel;
     parent::__construct($parentFactory, $modelFactory, $activeRecordFactory, $helperFactory, $context, $registry, $resource, $resourceCollection, $data);
 }