Files
stemcell/app/code/Stemcell/Checkout/Api/CartTotalRepositoryInterface.php
T
2026-09-15 10:26:34 +08:00

26 lines
615 B
PHP

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