* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @link https://www.temando.com/ */ interface OrderCollectionPointRepositoryInterface { /** * Load collection point by shipping address id. * * @param int $addressId * @return OrderCollectionPointInterface * @throws NoSuchEntityException */ public function get($addressId); /** * Save collection point. * * @param OrderCollectionPointInterface $collectionPoint * @return OrderCollectionPointInterface * @throws CouldNotSaveException */ public function save(OrderCollectionPointInterface $collectionPoint); }