Ejemplo n.º 1
0
 /**
  * Add an delivery option
  *
  * @param \XLite\Module\XC\CanadaPost\Model\Order\Parcel\Shipment\Tracking\DeliveryOption $newDeliveryOption Delivery option object 
  *
  * @return void
  */
 public function addDeliveryOption(\XLite\Module\XC\CanadaPost\Model\Order\Parcel\Shipment\Tracking\DeliveryOption $newDeliveryOption)
 {
     $newDeliveryOption->setTrackingDetails($this);
     $this->addDeliveryOptions($newDeliveryOption);
 }
 /**
  * {@inheritDoc}
  */
 public function prepareEntityBeforeCommit($type)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'prepareEntityBeforeCommit', array($type));
     return parent::prepareEntityBeforeCommit($type);
 }