Exemplo n.º 1
0
 public function __construct(\Ess\M2ePro\Model\Magento\Payment $payment, \Magento\Customer\Model\CustomerFactory $customerFactory, \Magento\Customer\Model\Data\CustomerFactory $customerDataFactory, \Ess\M2ePro\Model\Currency $currency, \Ess\M2ePro\Model\ActiveRecord\Component\Child\AbstractModel $order, \Ess\M2ePro\Helper\Factory $helperFactory, \Ess\M2ePro\Model\Factory $modelFactory)
 {
     $this->payment = $payment;
     $this->customerFactory = $customerFactory;
     $this->customerDataFactory = $customerDataFactory;
     parent::__construct($currency, $order, $helperFactory, $modelFactory);
 }
Exemplo n.º 2
0
 public function __construct(\Magento\Tax\Model\Calculation $taxCalculation, \Ess\M2ePro\Model\Magento\Payment $payment, \Magento\Eav\Model\Entity\AttributeFactory $attributeFactory, \Magento\Customer\Model\CustomerFactory $customerFactory, \Magento\Customer\Model\Data\CustomerFactory $customerDataFactory, \Ess\M2ePro\Model\Currency $currency, \Ess\M2ePro\Model\ActiveRecord\Component\Child\AbstractModel $order, \Ess\M2ePro\Helper\Factory $helperFactory, \Ess\M2ePro\Model\Factory $modelFactory)
 {
     $this->taxCalculation = $taxCalculation;
     $this->payment = $payment;
     $this->attributeFactory = $attributeFactory;
     $this->customerFactory = $customerFactory;
     $this->customerDataFactory = $customerDataFactory;
     parent::__construct($currency, $order, $helperFactory, $modelFactory);
 }