ShipmentSummaryInterface.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Model\Shipment;
  6. /**
  7. * Temando Shipment Summary Interface.
  8. *
  9. * @package Temando\Shipping\Model
  10. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  11. * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  12. * @link https://www.temando.com/
  13. */
  14. interface ShipmentSummaryInterface
  15. {
  16. const ORDER_ID = 'order_id';
  17. const SHIPMENT_ID = 'shipment_id';
  18. const STATUS = 'status';
  19. const RECIPIENT_ADDRESS = 'recipient_address';
  20. const RECIPIENT_NAME = 'recipient_name';
  21. const ERRORS = 'errors';
  22. /**
  23. * @return string
  24. */
  25. public function getOrderId();
  26. /**
  27. * @return string
  28. */
  29. public function getShipmentId();
  30. /**
  31. * @return string
  32. */
  33. public function getStatus();
  34. /**
  35. * @return string
  36. */
  37. public function getRecipientAddress();
  38. /**
  39. * @return string
  40. */
  41. public function getRecipientName();
  42. /**
  43. * @return ShipmentErrorInterface[]
  44. */
  45. public function getErrors();
  46. }