![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/module-quote/Api/Data/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); namespace Magento\Quote\Api\Data; /** * Interface CartSearchResultsInterface * @api * @since 100.0.2 */ interface CartSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface { /**#@+ * Constants defined for keys of array, makes typos less likely */ const KEY_ITEMS = 'items'; const KEY_SEARCH_CRITERIA = 'search_criteria'; const KEY_TOTAL_COUNT = 'total_count'; /**#@-*/ /** * Get carts list. * * @return \Magento\Quote\Api\Data\CartInterface[] */ public function getItems(); /** * Set carts list. * * @param \Magento\Quote\Api\Data\CartInterface[] $items * @return $this */ public function setItems(array $items); /** * Get search criteria. * * @return \Magento\Framework\Api\SearchCriteriaInterface */ public function getSearchCriteria(); /** * Set search criteria. * * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return $this */ public function setSearchCriteria(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria); /** * Get total count. * * @return int */ public function getTotalCount(); /** * Set total count. * * @param int $totalCount * @return $this */ public function setTotalCount($totalCount); }