ShipmentSearchResultInterface.php 882 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Sales\Api\Data;
  7. use Magento\Framework\Api\SearchResultsInterface;
  8. /**
  9. * Shipment search result interface.
  10. *
  11. * A shipment is a delivery package that contains products. A shipment document accompanies the shipment. This
  12. * document lists the products and their quantities in the delivery package.
  13. * @api
  14. * @since 100.0.2
  15. */
  16. interface ShipmentSearchResultInterface extends SearchResultsInterface
  17. {
  18. /**
  19. * Gets collection items.
  20. *
  21. * @return \Magento\Sales\Api\Data\ShipmentInterface[] Array of collection items.
  22. */
  23. public function getItems();
  24. /**
  25. * Set collection items.
  26. *
  27. * @param \Magento\Sales\Api\Data\ShipmentInterface[] $items
  28. * @return $this
  29. */
  30. public function setItems(array $items);
  31. }