OrderPickupLocationInterface.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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 Order Pickup Location Interface – Order Details/Fulfillment
  8. *
  9. * @api
  10. * @package Temando\Shipping\Api
  11. * @author Sebastian Ertner <sebastian.ertner@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 OrderPickupLocationInterface
  16. {
  17. const RECIPIENT_ADDRESS_ID = 'recipient_address_id';
  18. const PICKUP_LOCATION_ID = 'pickup_location_id';
  19. const NAME = 'name';
  20. const COUNTRY = 'country';
  21. const REGION = 'region';
  22. const POSTCODE = 'postcode';
  23. const CITY = 'city';
  24. const STREET = 'street';
  25. /**
  26. * @return int
  27. */
  28. public function getRecipientAddressId();
  29. /**
  30. * @return string
  31. */
  32. public function getPickupLocationId();
  33. /**
  34. * @return string
  35. */
  36. public function getName();
  37. /**
  38. * @return string
  39. */
  40. public function getCountry();
  41. /**
  42. * @return string
  43. */
  44. public function getRegion();
  45. /**
  46. * @return string
  47. */
  48. public function getPostcode();
  49. /**
  50. * @return string
  51. */
  52. public function getCity();
  53. /**
  54. * @return string[]
  55. */
  56. public function getStreet();
  57. }