PackagingInterface.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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 Packaging Interface.
  8. *
  9. * The packaging/container data object represents one item in the packaging grid listing.
  10. *
  11. * @package Temando\Shipping\Model
  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 PackagingInterface
  17. {
  18. const PACKAGING_ID = 'packaging_id';
  19. const NAME = 'name';
  20. const TYPE = 'type';
  21. const WIDTH = 'width';
  22. const LENGTH = 'length';
  23. const HEIGHT = 'height';
  24. const TARE_WEIGHT = 'tare_weight';
  25. const MAX_WEIGHT = 'max_weight';
  26. /**
  27. * @return string
  28. */
  29. public function getPackagingId();
  30. /**
  31. * @return string
  32. */
  33. public function getName();
  34. /**
  35. * @return string
  36. */
  37. public function getType();
  38. /**
  39. * @return string[]
  40. */
  41. public function getWidth();
  42. /**
  43. * @return string
  44. */
  45. public function getLength();
  46. /**
  47. * @return string
  48. */
  49. public function getHeight();
  50. /**
  51. * @return string
  52. */
  53. public function getTareWeight();
  54. /**
  55. * @return string
  56. */
  57. public function getMaxWeight();
  58. }