GuestShippingInformationManagementInterface.php 644 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Checkout\Api;
  7. /**
  8. * Interface for managing guest shipping address information
  9. * @api
  10. * @since 100.0.2
  11. */
  12. interface GuestShippingInformationManagementInterface
  13. {
  14. /**
  15. * @param string $cartId
  16. * @param \Magento\Checkout\Api\Data\ShippingInformationInterface $addressInformation
  17. * @return \Magento\Checkout\Api\Data\PaymentDetailsInterface
  18. */
  19. public function saveAddressInformation(
  20. $cartId,
  21. \Magento\Checkout\Api\Data\ShippingInformationInterface $addressInformation
  22. );
  23. }