OrderShipInterface.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\ViewModel;
  6. /**
  7. * Order and Shipment Details Provider Interface
  8. *
  9. * All view models that provide access to shipment action details must implement this.
  10. *
  11. * @package Temando\Shipping\ViewModel
  12. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  13. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  14. * @link http://www.temando.com/
  15. */
  16. interface OrderShipInterface
  17. {
  18. /**
  19. * @return string
  20. */
  21. public function getShipEndpoint(): string;
  22. /**
  23. * @return string
  24. */
  25. public function getOrderData(): string;
  26. /**
  27. * @return string
  28. */
  29. public function getSelectedExperience(): string;
  30. /**
  31. * @return string
  32. */
  33. public function getExtOrderId(): string;
  34. /**
  35. * @return string
  36. */
  37. public function getShipmentViewPageUrl(): string;
  38. /**
  39. * @return string
  40. */
  41. public function getDefaultCurrency(): string;
  42. /**
  43. * @return string
  44. */
  45. public function getDefaultDimensionsUnit(): string;
  46. /**
  47. * @return string
  48. */
  49. public function getDefaultWeightUnit(): string;
  50. }