<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Quote\Api; /** * Interface CartTotalRepositoryInterface * @api * @since 100.0.2 */ interface CartTotalRepositoryInterface { /** * Returns quote totals data for a specified cart. * * @param int $cartId The cart ID. * @return \Magento\Quote\Api\Data\TotalsInterface Quote totals data. * @throws \Magento\Framework\Exception\NoSuchEntityException The specified cart does not exist. */ public function get($cartId); }