* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @link https://www.temando.com/ */ interface ShipmentStatusInterface { const STATUS_PENDING = 40060100; const STATUS_FULFILLED = 40060200; const STATUS_CANCELLED = 40060300; const STATUS_COMPLETING = 40060400; const STATUS_COMPLETED = 40060450; const STATUS_ERROR = 40060500; /** * Obtain human readable representation of shipment status. * * @param int $statusCode * @return string */ public function getStatusText(int $statusCode): string; /** * Obtain numeric representation of shipment status. * * @param string $status * @return int */ public function getStatusCode(string $status): int; }