AddressInterface.php 909 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. namespace Magento\InventorySourceSelectionApi\Api\Data;
  8. /**
  9. * Data interface for shipping source or shipping destination
  10. *
  11. * @api
  12. */
  13. interface AddressInterface
  14. {
  15. /**
  16. * Requested shipping country
  17. *
  18. * @return string
  19. */
  20. public function getCountry(): string;
  21. /**
  22. * Requested shipping postcode
  23. *
  24. * @return string
  25. */
  26. public function getPostcode(): string;
  27. /**
  28. * Requested shipping street address
  29. *
  30. * @return string
  31. */
  32. public function getStreet(): string;
  33. /**
  34. * Requested shipping region
  35. *
  36. * @return string
  37. */
  38. public function getRegion(): string;
  39. /**
  40. * Requested shipping city
  41. *
  42. * @return string
  43. */
  44. public function getCity(): string;
  45. }