CartTotalRepositoryInterface.php 580 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. * Interface CartTotalRepositoryInterface
  9. * @api
  10. * @since 100.0.2
  11. */
  12. interface CartTotalRepositoryInterface
  13. {
  14. /**
  15. * Returns quote totals data for a specified cart.
  16. *
  17. * @param int $cartId The cart ID.
  18. * @return \Magento\Quote\Api\Data\TotalsInterface Quote totals data.
  19. * @throws \Magento\Framework\Exception\NoSuchEntityException The specified cart does not exist.
  20. */
  21. public function get($cartId);
  22. }