CollectionPointSearchResultInterface.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Api\Data\CollectionPoint;
  6. use Magento\Framework\Api\SearchResultsInterface;
  7. /**
  8. * Collection point search result interface
  9. *
  10. * @api
  11. * @deprecated since 1.4.0
  12. * @see \Temando\Shipping\Api\Data\Delivery\CollectionPointSearchResultInterface
  13. *
  14. * @package Temando\Shipping\Api
  15. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  16. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  17. * @link http://www.temando.com/
  18. */
  19. interface CollectionPointSearchResultInterface extends SearchResultsInterface
  20. {
  21. /**
  22. * Get items
  23. *
  24. * @return \Temando\Shipping\Api\Data\CollectionPoint\QuoteCollectionPointInterface[]
  25. */
  26. public function getItems();
  27. /**
  28. * Set items
  29. *
  30. * @param \Temando\Shipping\Api\Data\CollectionPoint\QuoteCollectionPointInterface[] $items
  31. * @return void
  32. */
  33. public function setItems(array $items);
  34. }