QuotePickupLocationInterface.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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\Delivery;
  6. /**
  7. * Temando Quote Pickup Location Interface – Checkout/Quoting
  8. *
  9. * @api
  10. * @package Temando\Shipping\Api
  11. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  12. * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  13. * @link https://www.temando.com/
  14. */
  15. interface QuotePickupLocationInterface
  16. {
  17. const ENTITY_ID = 'entity_id';
  18. const PICKUP_LOCATION_ID = 'pickup_location_id';
  19. const RECIPIENT_ADDRESS_ID = 'recipient_address_id';
  20. const NAME = 'name';
  21. const COUNTRY = 'country';
  22. const REGION = 'region';
  23. const POSTCODE = 'postcode';
  24. const CITY = 'city';
  25. const STREET = 'street';
  26. const DISTANCE = 'distance';
  27. const OPENING_HOURS = 'opening_hours';
  28. const SHIPPING_EXPERIENCES = 'shipping_experiences';
  29. const SELECTED = 'selected';
  30. /**
  31. * @return int
  32. */
  33. public function getEntityId();
  34. /**
  35. * @return string
  36. */
  37. public function getPickupLocationId();
  38. /**
  39. * @return int
  40. */
  41. public function getRecipientAddressId();
  42. /**
  43. * @return string
  44. */
  45. public function getName();
  46. /**
  47. * @return string
  48. */
  49. public function getCountry();
  50. /**
  51. * @return string
  52. */
  53. public function getRegion();
  54. /**
  55. * @return string
  56. */
  57. public function getPostcode();
  58. /**
  59. * @return string
  60. */
  61. public function getCity();
  62. /**
  63. * @return string[]
  64. */
  65. public function getStreet();
  66. /**
  67. * @return int
  68. */
  69. public function getDistance();
  70. /**
  71. * @return string[][]
  72. */
  73. public function getOpeningHours();
  74. /**
  75. * @return string[][]
  76. */
  77. public function getShippingExperiences();
  78. /**
  79. * @return bool
  80. */
  81. public function isSelected();
  82. }