LatLngInterface.php 496 B

123456789101112131415161718192021222324252627282930
  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\InventoryDistanceBasedSourceSelectionApi\Api\Data;
  8. /**
  9. * DTO for latitude and longitude request
  10. *
  11. * @api
  12. */
  13. interface LatLngInterface
  14. {
  15. /**
  16. * Get latitude
  17. *
  18. * @return float
  19. */
  20. public function getLat(): float;
  21. /**
  22. * Get longitude
  23. *
  24. * @return float
  25. */
  26. public function getLng(): float;
  27. }