GuestCartDeliveryOptionManagementInterface.php 771 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Api\Quote;
  6. /**
  7. * GuestCartDeliveryOptionManagementInterface
  8. *
  9. * @api
  10. * @package Temando\Shipping\Api
  11. * @author Sebastian Ertner <sebastian.ertner@netresearch.de>
  12. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  13. * @link http://www.temando.com/
  14. */
  15. interface GuestCartDeliveryOptionManagementInterface
  16. {
  17. /**
  18. * Handle selected delivery option.
  19. *
  20. * @param string $cartId The shopping cart ID.
  21. * @param string $selectedOption
  22. * @return void
  23. * @throws \Magento\Framework\Exception\LocalizedException
  24. */
  25. public function save($cartId, $selectedOption);
  26. }