ShipmentInterface.php 888 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Model\Dispatch;
  6. /**
  7. * Temando Dispatch Shipment Interface.
  8. *
  9. * @package Temando\Shipping\Model
  10. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  11. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  12. * @link http://www.temando.com/
  13. */
  14. interface ShipmentInterface
  15. {
  16. const SHIPMENT_ID = 'shipment_id';
  17. const STATUS = 'status';
  18. const MESSAGE = 'message';
  19. const ERRORS = 'errors';
  20. /**
  21. * @return string
  22. */
  23. public function getShipmentId();
  24. /**
  25. * @return string
  26. */
  27. public function getStatus();
  28. /**
  29. * @return string
  30. */
  31. public function getMessage();
  32. /**
  33. * @return ErrorInterface
  34. */
  35. public function getErrors();
  36. }