* @author Christoph Aßmann * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @link http://www.temando.com/ */ interface CartCollectionPointManagementInterface { /** * @param int $cartId * @param string $countryId * @param string $postcode * @return \Temando\Shipping\Api\Data\CollectionPoint\SearchRequestInterface * @throws CouldNotSaveException */ public function saveSearchRequest($cartId, $countryId, $postcode); /** * @param int $cartId * @return bool * @throws CouldNotDeleteException */ public function deleteSearchRequest($cartId); /** * @param int $cartId * @return \Temando\Shipping\Api\Data\CollectionPoint\QuoteCollectionPointInterface[] */ public function getCollectionPoints($cartId); /** * @param int $cartId * @param int $entityId * @return bool * @throws CouldNotSaveException */ public function selectCollectionPoint($cartId, $entityId); }