public function __construct(\Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Core\Transaction\Database\IManager $manTrans, \Magento\Framework\Webapi\ServiceInputProcessor $serviceInputProcessor, \Praxigento\Odoo\Service\IReplicate $callReplicate, Sub\Categories $subCats)
 {
     parent::__construct($manObj, 'prxgt:app:init-products', 'Create sample products in application.');
     $this->_manTrans = $manTrans;
     $this->_serviceInputProcessor = $serviceInputProcessor;
     $this->_callReplicate = $callReplicate;
     $this->_subCats = $subCats;
 }
 public function __construct(\Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Core\Transaction\Database\IManager $manTrans, \Magento\Customer\Api\CustomerRepositoryInterface $repoCustomer, \Praxigento\Downline\Tool\IReferral $toolReferral, \Praxigento\App\Generic2\Console\Command\Init\Sub\CustomerGroups $subCustomerGroups)
 {
     parent::__construct($manObj, 'prxgt:app:init-customers', 'Create sample downline tree in application.');
     $this->manTrans = $manTrans;
     $this->repoCustomer = $repoCustomer;
     $this->toolReferral = $toolReferral;
     $this->subCustomerGroups = $subCustomerGroups;
 }
Пример #3
0
 public function __construct(\Praxigento\Core\Fw\Logger\App $logger, \Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Core\Transaction\Database\IManager $manTrans, \Magento\Store\Model\StoreManager $manStore, \Magento\Framework\Event\ManagerInterface $manEvent, \Magento\Store\Api\GroupRepositoryInterface $mageRepoGroup, \Magento\Store\Api\StoreRepositoryInterface $mageRepoStore, \Magento\CatalogInventory\Api\StockRepositoryInterface $mageRepoStock, \Praxigento\Core\Repo\IGeneric $repoGeneric, \Praxigento\Odoo\Repo\Agg\IWarehouse $repoWrhs, Sub\SalesRules $subRules)
 {
     parent::__construct($manObj, 'prxgt:app:init-stocks', 'Create sample stores in application and map warehouses/stocks to stores.');
     $this->logger = $logger;
     $this->_manObj = $manObj;
     $this->manTrans = $manTrans;
     $this->manStore = $manStore;
     $this->manEvent = $manEvent;
     $this->mageRepoGroup = $mageRepoGroup;
     $this->mageRepoStore = $mageRepoStore;
     $this->mageRepoStock = $mageRepoStock;
     $this->repoGeneric = $repoGeneric;
     $this->repoWrhs = $repoWrhs;
     $this->subRules = $subRules;
 }
 public function __construct(\Magento\Framework\ObjectManagerInterface $manObj, Sub\Categories $subCats, Sub\AclUser $subAclUser)
 {
     parent::__construct($manObj, 'prxgt:odoo:post-replicate', 'Enable data after replication from Odoo.');
     $this->_subCats = $subCats;
     $this->_subAclUser = $subAclUser;
 }
Пример #5
0
 public function __construct(\Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Core\Transaction\Database\IManager $manTrans, \Praxigento\BonusBase\Service\IPeriod $callBonusPeriod, \Praxigento\Pv\Service\ISale $callPvSale)
 {
     parent::__construct($manObj, 'prxgt:app:init-bonus', 'Initialize bonus parameters for Generic Application.');
     $this->_manTrans = $manTrans;
 }
 public function __construct(\Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Core\Transaction\Database\IManager $manTrans, \Praxigento\App\Generic2\Console\Command\Init\Sub\SaleOrder $subSaleOrder)
 {
     parent::__construct($manObj, 'prxgt:app:init-orders', 'Create orders to calculate bonus after that.');
     $this->_manTrans = $manTrans;
     $this->_subSaleOrder = $subSaleOrder;
 }