示例#1
0
 /**
  * @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;
 }
示例#2
0
文件: Oms.php 项目: spryker/Oms
 /**
  * @param array $idSalesOrderItems
  *
  * @return void
  */
 public function triggerEventForNewOrderItems(array $idSalesOrderItems)
 {
     $omsFacade = new OmsFacade();
     $omsFacade->triggerEventForNewOrderItems($idSalesOrderItems);
 }