コード例 #1
0
ファイル: Tracking.php プロジェクト: kewaunited/xcart
 /**
  * Add an significant event
  *
  * @param \XLite\Module\XC\CanadaPost\Model\Order\Parcel\Shipment\Tracking\SignificantEvent $newSignificantEvent Significant event object 
  *
  * @return void
  */
 public function addSignificantEvent(\XLite\Module\XC\CanadaPost\Model\Order\Parcel\Shipment\Tracking\SignificantEvent $newSignificantEvent)
 {
     $newSignificantEvent->setTrackingDetails($this);
     $this->addSignificantEvents($newSignificantEvent);
 }
 /**
  * {@inheritDoc}
  */
 public function setTrackingDetails(\XLite\Module\XC\CanadaPost\Model\Order\Parcel\Shipment\Tracking $tracking = NULL)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTrackingDetails', array($tracking));
     return parent::setTrackingDetails($tracking);
 }