Ejemplo n.º 1
0
 /**
  * Call constructor.
  */
 public function __construct(\Praxigento\Core\Fw\Logger\App $logger, \Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Core\Transaction\Database\IManager $manTrans, \Praxigento\Accounting\Repo\Entity\IAccount $repoAcc, \Praxigento\Accounting\Repo\Entity\ITransaction $repoTrans)
 {
     parent::__construct($logger, $manObj);
     $this->_manTrans = $manTrans;
     $this->_repoAcc = $repoAcc;
     $this->_repoTrans = $repoTrans;
 }
 public function __construct(\Psr\Log\LoggerInterface $logger, \Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Core\Tool\IPeriod $toolPeriod, Sub\Db $subDb, Sub\BasedCalcs $subBasedCalcs)
 {
     parent::__construct($logger, $manObj);
     $this->_toolPeriod = $toolPeriod;
     $this->_subDb = $subDb;
     $this->_subBasedCalcs = $subBasedCalcs;
 }
Ejemplo n.º 3
0
 /**
  * Call constructor.
  */
 public function __construct(\Praxigento\Core\Fw\Logger\App $logger, \Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Accounting\Repo\Entity\IAccount $repoAccount, \Praxigento\Accounting\Repo\Entity\Type\IAsset $repoTypeAsset, \Praxigento\Accounting\Repo\IModule $repoMod)
 {
     parent::__construct($logger, $manObj);
     $this->_repoAccount = $repoAccount;
     $this->_repoTypeAsset = $repoTypeAsset;
     $this->_repoMod = $repoMod;
 }
Ejemplo n.º 4
0
 public function __construct(\Praxigento\Core\Fw\Logger\App $logger, \Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Core\Tool\IDate $toolDate, \Praxigento\Accounting\Service\IAccount $callAccount, \Praxigento\Accounting\Service\IOperation $callOperation, \Praxigento\Pv\Repo\IModule $repoMod)
 {
     parent::__construct($logger, $manObj);
     $this->_toolDate = $toolDate;
     $this->_callAccount = $callAccount;
     $this->_callOperation = $callOperation;
     $this->_repoMod = $repoMod;
 }
Ejemplo n.º 5
0
 public function __construct(\Psr\Log\LoggerInterface $logger, \Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Core\Transaction\Database\IManager $manTrans, \Praxigento\Core\Tool\IPeriod $toolPeriod, \Praxigento\Downline\Repo\Entity\IChange $repoChange, \Praxigento\Downline\Repo\Entity\ISnap $repoSnap, Sub\CalcSimple $subCalc)
 {
     parent::__construct($logger, $manObj);
     $this->_manTrans = $manTrans;
     $this->_toolPeriod = $toolPeriod;
     $this->_repoChange = $repoChange;
     $this->_repoSnap = $repoSnap;
     $this->_subCalc = $subCalc;
 }
Ejemplo n.º 6
0
 public function __construct(\Praxigento\Core\Fw\Logger\App $logger, \Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Core\Transaction\Database\IManager $manTrans, \Praxigento\BonusBase\Repo\Entity\ICompress $repoBonusCompress, \Praxigento\Downline\Service\IMap $repoDownlineMap, \Praxigento\Downline\Service\ISnap $callDownlineSnap, \Praxigento\Downline\Tool\ITree $toolDownlineTree)
 {
     parent::__construct($logger, $manObj);
     $this->_manTrans = $manTrans;
     $this->_repoBonusCompress = $repoBonusCompress;
     $this->_callDownlineMap = $repoDownlineMap;
     $this->_callDownlineSnap = $callDownlineSnap;
     $this->_toolDownlineTree = $toolDownlineTree;
 }
Ejemplo n.º 7
0
 public function __construct(\Psr\Log\LoggerInterface $logger, \Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Core\Transaction\Database\IManager $manTrans, \Praxigento\Accounting\Repo\Entity\IOperation $repoOper, \Praxigento\Accounting\Repo\Entity\Type\IOperation $repoTypeOper, \Praxigento\Accounting\Repo\Entity\Log\Change\IAdmin $repoELogChangeAdmin, \Praxigento\Accounting\Repo\Entity\Log\Change\ICustomer $repoELogChangeCust, Sub\Add $subAdd)
 {
     parent::__construct($logger, $manObj);
     $this->_manTrans = $manTrans;
     $this->_repoTypeOper = $repoTypeOper;
     $this->_repoOper = $repoOper;
     $this->_repoELogChangeAdmin = $repoELogChangeAdmin;
     $this->_repoELogChangeCust = $repoELogChangeCust;
     $this->_subAdd = $subAdd;
 }
 public function __construct(\Psr\Log\LoggerInterface $logger, \Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Core\Tool\IPeriod $toolPeriod, \Praxigento\Bonus\Hybrid\Lib\Tool\IScheme $toolScheme, \Praxigento\Core\Transaction\Database\IManager $manTrans, \Praxigento\Accounting\Service\IAccount $callAcc, \Praxigento\Bonus\Hybrid\Lib\Service\IPeriod $callBonusPeriod, Sub\Db $subDb, Sub\Calc $subCalc)
 {
     parent::__construct($logger, $manObj);
     $this->_toolPeriod = $toolPeriod;
     $this->_toolScheme = $toolScheme;
     $this->_manTrans = $manTrans;
     $this->_callAcc = $callAcc;
     $this->_callPeriod = $callBonusPeriod;
     $this->_subDb = $subDb;
     $this->_subCalc = $subCalc;
 }
Ejemplo n.º 9
0
 /**
  * Call constructor.
  * @param \Psr\Log\LoggerInterface $logger
  * @param \Magento\Framework\ObjectManagerInterface $manObj
  * @param \Praxigento\Core\Transaction\Database\IManager $manTrans
  * @param \Praxigento\Accounting\Service\IAccount $callAccount
  * @param \Praxigento\Accounting\Service\IOperation $callOperation
  * @param \Praxigento\Pv\Repo\IModule $repoMod
  * @param \Praxigento\Pv\Repo\Entity\ISale $repoSale
  * @param \Praxigento\Pv\Repo\Entity\Sale\IItem $repoSaleItem
  * @param \Praxigento\Pv\Repo\Entity\Stock\IItem $repoStockItem
  * @param \Praxigento\Core\Tool\IDate $toolDate
  *
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Psr\Log\LoggerInterface $logger, \Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Core\Transaction\Database\IManager $manTrans, \Praxigento\Accounting\Service\IAccount $callAccount, \Praxigento\Accounting\Service\IOperation $callOperation, \Praxigento\Pv\Repo\IModule $repoMod, \Praxigento\Pv\Repo\Entity\ISale $repoSale, \Praxigento\Pv\Repo\Entity\Sale\IItem $repoSaleItem, \Praxigento\Pv\Repo\Entity\Stock\IItem $repoStockItem, \Praxigento\Core\Tool\IDate $toolDate)
 {
     parent::__construct($logger, $manObj);
     $this->_manTrans = $manTrans;
     $this->_callAccount = $callAccount;
     $this->_callOperation = $callOperation;
     $this->_repoMod = $repoMod;
     $this->_repoSale = $repoSale;
     $this->_repoSaleItem = $repoSaleItem;
     $this->_repoStockItem = $repoStockItem;
     $this->_toolDate = $toolDate;
 }
 /**
  * Call constructor.
  * @param \Psr\Log\LoggerInterface $logger
  * @param \Magento\Framework\ObjectManagerInterface $manObj
  * @param \Praxigento\Core\Transaction\Database\IManager $manTrans
  * @param \Praxigento\Bonus\GlobalSales\Lib\Repo\IModule $repoMod
  * @param \Praxigento\BonusBase\Repo\Service\IModule $repoBonusService
  * @param \Praxigento\BonusBase\Repo\Entity\ICompress $repoBonusCompress
  * @param \Praxigento\BonusBase\Repo\Entity\Type\ICalc $repoBonusTypeCalc
  * @param \Praxigento\BonusBase\Service\IPeriod $callBasePeriod
  * @param \Praxigento\Wallet\Service\IOperation $callWalletOperation
  * @param Sub\Bonus $subBonus
  * @param Sub\Qualification $subQual
  *
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Psr\Log\LoggerInterface $logger, \Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Core\Transaction\Database\IManager $manTrans, \Praxigento\Bonus\GlobalSales\Lib\Repo\IModule $repoMod, \Praxigento\BonusBase\Repo\Service\IModule $repoBonusService, \Praxigento\BonusBase\Repo\Entity\ICompress $repoBonusCompress, \Praxigento\BonusBase\Repo\Entity\Type\ICalc $repoBonusTypeCalc, \Praxigento\BonusBase\Service\IPeriod $callBasePeriod, \Praxigento\Wallet\Service\IOperation $callWalletOperation, Sub\Bonus $subBonus, Sub\Qualification $subQual)
 {
     parent::__construct($logger, $manObj);
     $this->_manTrans = $manTrans;
     $this->_repoMod = $repoMod;
     $this->_repoBonusService = $repoBonusService;
     $this->_repoBonusCompress = $repoBonusCompress;
     $this->_repoBonusTypeCalc = $repoBonusTypeCalc;
     $this->_callBasePeriod = $callBasePeriod;
     $this->_callWalletOperation = $callWalletOperation;
     $this->_subBonus = $subBonus;
     $this->_subQualification = $subQual;
 }
Ejemplo n.º 11
0
 public function __construct(\Psr\Log\LoggerInterface $logger, \Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Core\Transaction\Database\IManager $manTrans, \Praxigento\BonusBase\Repo\Entity\ICalculation $repoCalc, \Praxigento\BonusBase\Repo\Entity\IPeriod $repoPeriod, \Praxigento\BonusBase\Repo\Entity\Type\ICalc $repoTypeCalc, \Praxigento\BonusBase\Repo\Service\IModule $repoService, \Praxigento\Core\Tool\IPeriod $toolPeriod, \Praxigento\Core\Tool\IDate $toolDate, \Praxigento\BonusBase\Service\Period\Sub\Depended $subDepended, \Praxigento\BonusBase\Service\Period\Sub\PvBased $subPvBased)
 {
     parent::__construct($logger, $manObj);
     $this->_manTrans = $manTrans;
     $this->_repoCalc = $repoCalc;
     $this->_repoPeriod = $repoPeriod;
     $this->_repoTypeCalc = $repoTypeCalc;
     $this->_repoService = $repoService;
     $this->_toolPeriod = $toolPeriod;
     $this->_toolDate = $toolDate;
     $this->_subDepended = $subDepended;
     $this->_subPvBased = $subPvBased;
 }
Ejemplo n.º 12
0
 public function __construct(\Praxigento\Core\Fw\Logger\App $logger, \Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Core\Tool\IDate $toolDate, \Praxigento\Accounting\Service\IAccount $callAccount, \Praxigento\Accounting\Service\IOperation $callOper, \Praxigento\Accounting\Repo\Entity\IAccount $repoEAccount, \Praxigento\Accounting\Repo\Entity\Type\IAsset $repoETypeAsset, \Praxigento\Accounting\Repo\Entity\Type\IOperation $repoETypeOper, \Praxigento\Accounting\Repo\IModule $repoModAccount, \Praxigento\Wallet\Repo\IModule $repoMod, \Praxigento\Wallet\Repo\Entity\Log\ISale $repoELogSale)
 {
     parent::__construct($logger, $manObj);
     $this->_toolDate = $toolDate;
     $this->_callAccount = $callAccount;
     $this->_callOper = $callOper;
     $this->_repoEAcc = $repoEAccount;
     $this->_repoModAcc = $repoModAccount;
     $this->_repoETypeAsset = $repoETypeAsset;
     $this->_repoETypeOper = $repoETypeOper;
     $this->_repoMod = $repoMod;
     $this->_repoELogSale = $repoELogSale;
 }
Ejemplo n.º 13
0
 public function __construct(\Psr\Log\LoggerInterface $logger, \Magento\Framework\ObjectManagerInterface $manObj, \Praxigento\Core\Transaction\Database\IManager $manTrans, \Praxigento\Core\Tool\IDate $toolDate, \Praxigento\Core\Tool\IPeriod $toolPeriod, \Praxigento\Accounting\Repo\IModule $repoMod, \Praxigento\Accounting\Repo\Entity\IAccount $repoAccount, \Praxigento\Accounting\Repo\Entity\IBalance $repoBalance, \Praxigento\Accounting\Repo\Entity\IOperation $repoOperation, \Praxigento\Accounting\Repo\Entity\ITransaction $repoTransaction, \Praxigento\Accounting\Repo\Entity\Type\IAsset $repoTypeAsset, \Praxigento\Accounting\Repo\Entity\Type\IOperation $repoTypeOper, \Praxigento\Accounting\Repo\Entity\Log\Change\IAdmin $repoLogChangeAdmin, Sub\CalcSimple $subCalcSimple)
 {
     parent::__construct($logger, $manObj);
     $this->_manTrans = $manTrans;
     $this->_toolDate = $toolDate;
     $this->_toolPeriod = $toolPeriod;
     $this->_repoMod = $repoMod;
     $this->_repoAccount = $repoAccount;
     $this->_repoBalance = $repoBalance;
     $this->_repoOperation = $repoOperation;
     $this->_repoTransaction = $repoTransaction;
     $this->_repoTypeAsset = $repoTypeAsset;
     $this->_repoTypeOper = $repoTypeOper;
     $this->_repoLogChangeAdmin = $repoLogChangeAdmin;
     $this->_subCalcSimple = $subCalcSimple;
 }