1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <?php
- /**
- * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
- */
- namespace Temando\Shipping\Model\Shipment;
- /**
- * Temando Order Fulfillment Interface.
- *
- * When we import external. When shipment details are requested from the API the
- * response also contains this shipment origin data object.
- *
- * @package Temando\Shipping\Model
- * @author Benjamin Heuer <benjamin.heuer@netresearch.de>
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
- * @link http://www.temando.com/
- */
- interface FulfillmentInterface
- {
- const SERVICE_NAME = 'service_name';
- const TRACKING_REFERENCE = 'tracking_reference';
- const TRACKING_URL = 'tracking_url';
- const CARRIER_NAME = 'carrier_name';
- /**
- * Get readable label for shipment method.
- *
- * @return string
- */
- public function getServiceName();
- /**
- * Get Tracking Number for this shipment.
- *
- * @return string
- */
- public function getTrackingReference();
- /**
- * Get Tracking URL for this shipment.
- *
- * @return string
- */
- public function getTrackingUrl();
- /**
- * Get carrier name.
- *
- * @return string
- */
- public function getCarrierName();
- }
|