* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @link http://www.temando.com/ */ class Fulfillment extends DataObject implements FulfillmentInterface { /** * Get readable label for shipment method. * * @return string */ public function getServiceName() { return $this->getData(FulfillmentInterface::SERVICE_NAME); } /** * Get Tracking Number for this shipment. * * @return string */ public function getTrackingReference() { return $this->getData(FulfillmentInterface::TRACKING_REFERENCE); } /** * Get Tracking URL for this shipment. * * @return string */ public function getTrackingUrl() { return $this->getData(FulfillmentInterface::TRACKING_URL); } /** * @return string */ public function getCarrierName() { return $this->getData(FulfillmentInterface::CARRIER_NAME); } }