/** * Called when an order successfully placed by a client * * @return void */ public function processSucceed() { parent::processSucceed(); foreach ($this->getItems() as $item) { $item->createPrivateAttachments(); } }
/** * Called when an order successfully placed by a client * * @return void */ public function processSucceed() { parent::processSucceed(); foreach ($this->getUsedCoupons() as $usedCoupons) { $usedCoupons->markAsUsed(); } }
/** * Called when an order successfully placed by a client * * @return void */ public function processSucceed() { $this->acquirePINCodes(); parent::processSucceed(); }
/** * Called when an order successfully placed by a client * * @return void */ public function processSucceed() { parent::processSucceed(); if ($this->isPitneyBowesSelected() && $this->getPbOrder()) { $this->createOrderHistoryEvent($this->getPbOrder()); $this->confirmOrderApiCall(); } }
/** * {@inheritDoc} */ public function processSucceed() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'processSucceed', array()); return parent::processSucceed(); }