GuestCartCheckoutFieldManagementInterface.php 838 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. * Interface GuestCartCheckoutFieldManagementInterface
  8. *
  9. * Persist value-added services as selected during guest checkout.
  10. *
  11. * @api
  12. * @package Temando\Shipping\Api
  13. * @author Sebastian Ertner <sebastian.ertner@netresearch.de>
  14. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  15. * @link http://www.temando.com/
  16. */
  17. interface GuestCartCheckoutFieldManagementInterface
  18. {
  19. /**
  20. * @param string $cartId
  21. * @param \Magento\Framework\Api\AttributeInterface[] $serviceSelection
  22. * @return void
  23. * @throws \Magento\Framework\Exception\CouldNotSaveException
  24. */
  25. public function saveCheckoutFields($cartId, $serviceSelection);
  26. }