123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- /**
- * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
- */
- namespace Temando\Shipping\Api\CollectionPoint;
- use Magento\Framework\Exception\CouldNotDeleteException;
- use Magento\Framework\Exception\CouldNotSaveException;
- /**
- * Process Collection Point Search (Guest Checkout)
- *
- * @api
- * @deprecated since 1.4.0
- * @see \Temando\Shipping\Api\Delivery\GuestCartCollectionPointManagementInterface
- *
- * @package Temando\Shipping\Api
- * @author Benjamin Heuer <benjamin.heuer@netresearch.de>
- * @author Christoph Aßmann <christoph.assmann@netresearch.de>
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
- * @link http://www.temando.com/
- */
- interface GuestCartCollectionPointManagementInterface
- {
- /**
- * @param string $cartId
- * @param string $countryId
- * @param string $postcode
- * @return \Temando\Shipping\Api\Data\CollectionPoint\SearchRequestInterface
- * @throws CouldNotSaveException
- */
- public function saveSearchRequest($cartId, $countryId, $postcode);
- /**
- * @param string $cartId
- * @return bool
- * @throws CouldNotDeleteException
- */
- public function deleteSearchRequest($cartId);
- /**
- * @param string $cartId
- * @return \Temando\Shipping\Api\Data\CollectionPoint\QuoteCollectionPointInterface[]
- */
- public function getCollectionPoints($cartId);
- /**
- * @param string $cartId
- * @param int $entityId
- * @return bool
- * @throws CouldNotSaveException
- */
- public function selectCollectionPoint($cartId, $entityId);
- }
|