DocumentationInterface.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Model;
  6. /**
  7. * Temando Documentation Interface.
  8. *
  9. * The documentation data object represents one dispatch or completion document,
  10. * e.g. a shipping label.
  11. *
  12. * @package Temando\Shipping\Model
  13. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  14. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  15. * @link http://www.temando.com/
  16. */
  17. interface DocumentationInterface
  18. {
  19. const DOCUMENTATION_ID = 'documentation_id';
  20. const NAME = 'name';
  21. const TYPE = 'type';
  22. const SIZE = 'size';
  23. const MIME_TYPE = 'mime_type';
  24. const URL = 'url';
  25. /**
  26. * @return string
  27. */
  28. public function getDocumentationId();
  29. /**
  30. * @return string
  31. */
  32. public function getName();
  33. /**
  34. * @return string
  35. */
  36. public function getType();
  37. /**
  38. * @return string
  39. */
  40. public function getSize();
  41. /**
  42. * @return string
  43. */
  44. public function getMimeType();
  45. /**
  46. * @return string
  47. */
  48. public function getUrl();
  49. }