QuoteCollectionPointInterface.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Api\Data\CollectionPoint;
  6. /**
  7. * Temando Quote Collection Point Interface – Checkout/Quoting
  8. *
  9. * @api
  10. * @deprecated since 1.4.0
  11. * @see \Temando\Shipping\Api\Data\Delivery\QuoteCollectionPointInterface
  12. *
  13. * @package Temando\Shipping\Api
  14. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  15. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  16. * @link http://www.temando.com/
  17. */
  18. interface QuoteCollectionPointInterface
  19. {
  20. const ENTITY_ID = 'entity_id';
  21. const COLLECTION_POINT_ID = 'collection_point_id';
  22. const RECIPIENT_ADDRESS_ID = 'recipient_address_id';
  23. const NAME = 'name';
  24. const COUNTRY = 'country';
  25. const REGION = 'region';
  26. const POSTCODE = 'postcode';
  27. const CITY = 'city';
  28. const STREET = 'street';
  29. const OPENING_HOURS = 'opening_hours';
  30. const SHIPPING_EXPERIENCES = 'shipping_experiences';
  31. const SELECTED = 'selected';
  32. /**
  33. * @return int
  34. */
  35. public function getEntityId();
  36. /**
  37. * @return string
  38. */
  39. public function getCollectionPointId();
  40. /**
  41. * @return int
  42. */
  43. public function getRecipientAddressId();
  44. /**
  45. * @return string
  46. */
  47. public function getName();
  48. /**
  49. * @return string
  50. */
  51. public function getCountry();
  52. /**
  53. * @return string
  54. */
  55. public function getRegion();
  56. /**
  57. * @return string
  58. */
  59. public function getPostcode();
  60. /**
  61. * @return string
  62. */
  63. public function getCity();
  64. /**
  65. * @return string[]
  66. */
  67. public function getStreet();
  68. /**
  69. * @return string[][]
  70. */
  71. public function getOpeningHours();
  72. /**
  73. * @return string[][]
  74. */
  75. public function getShippingExperiences();
  76. /**
  77. * @return bool
  78. */
  79. public function isSelected();
  80. }