GuestCartPickupLocationManagementInterface.php 978 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Api\Delivery;
  6. use Magento\Framework\Exception\CouldNotSaveException;
  7. /**
  8. * @api
  9. * @deprecated since 1.5.1
  10. * @see \Temando\Shipping\Api\Checkout\GuestCartPickupLocationManagementInterface
  11. *
  12. * @package Temando\Shipping\Api
  13. * @author Sebastian Ertner <sebastian.ertner@netresearch.de>
  14. * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  15. * @link https://www.temando.com/
  16. */
  17. interface GuestCartPickupLocationManagementInterface
  18. {
  19. /**
  20. * @param string $cartId
  21. * @return \Temando\Shipping\Api\Data\Delivery\QuotePickupLocationInterface[]
  22. */
  23. public function getPickupLocations($cartId);
  24. /**
  25. * @param string $cartId
  26. * @param int $entityId
  27. * @return bool
  28. * @throws CouldNotSaveException
  29. */
  30. public function selectPickupLocation($cartId, $entityId);
  31. }