Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
CartRepositoryInterface.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Quote\Api;
7 
14 {
22  public function get($cartId);
23 
35  public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria);
36 
45  public function getForCustomer($customerId, array $sharedStoreIds = []);
46 
55  public function getActive($cartId, array $sharedStoreIds = []);
56 
65  public function getActiveForCustomer($customerId, array $sharedStoreIds = []);
66 
73  public function save(\Magento\Quote\Api\Data\CartInterface $quote);
74 
81  public function delete(\Magento\Quote\Api\Data\CartInterface $quote);
82 }
$quote
$searchCriteria
$cartId
Definition: quote.php:22
getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria)
getActiveForCustomer($customerId, array $sharedStoreIds=[])
save(\Magento\Quote\Api\Data\CartInterface $quote)
getForCustomer($customerId, array $sharedStoreIds=[])
getActive($cartId, array $sharedStoreIds=[])