Beispiel #1
0
 /**
  * Called when an order successfully placed by a client
  *
  * @return void
  */
 public function processSucceed()
 {
     parent::processSucceed();
     foreach ($this->getItems() as $item) {
         $item->createPrivateAttachments();
     }
 }
Beispiel #2
0
 /**
  * Called when an order successfully placed by a client
  *
  * @return void
  */
 public function processSucceed()
 {
     parent::processSucceed();
     foreach ($this->getUsedCoupons() as $usedCoupons) {
         $usedCoupons->markAsUsed();
     }
 }
Beispiel #3
0
 /**
  * Called when an order successfully placed by a client
  *
  * @return void
  */
 public function processSucceed()
 {
     $this->acquirePINCodes();
     parent::processSucceed();
 }
Beispiel #4
0
 /**
  * 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();
 }