/** * @return \Spryker\Zed\Oms\Business\OmsFacade */ protected function createOmsFacade() { $omsBusinessFactory = new OmsBusinessFactory(); $omsConfig = new OmsConfig(); $omsBusinessFactory->setConfig($omsConfig); $omsFacade = new OmsFacade(); $omsFacade->setFactory($omsBusinessFactory); return $omsFacade; }
/** * @param array $idSalesOrderItems * * @return void */ public function triggerEventForNewOrderItems(array $idSalesOrderItems) { $omsFacade = new OmsFacade(); $omsFacade->triggerEventForNewOrderItems($idSalesOrderItems); }