GuestCartRepositoryInterface.php 534 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Quote\Api;
  7. /**
  8. * Cart Repository interface for guest carts.
  9. * @api
  10. * @since 100.0.2
  11. */
  12. interface GuestCartRepositoryInterface
  13. {
  14. /**
  15. * Enable a guest user to return information for a specified cart.
  16. *
  17. * @param string $cartId
  18. * @return \Magento\Quote\Api\Data\CartInterface
  19. * @throws \Magento\Framework\Exception\NoSuchEntityException
  20. */
  21. public function get($cartId);
  22. }