ShipmentTrackSearchResultInterface.php 923 B

123456789101112131415161718192021222324252627282930313233
  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. /**
  8. * Shipment track search result interface.
  9. *
  10. * A shipment is a delivery package that contains products. A shipment document accompanies the shipment. This
  11. * document lists the products and their quantities in the delivery package. Merchants and customers can track
  12. * shipments.
  13. * @api
  14. * @since 100.0.2
  15. */
  16. interface ShipmentTrackSearchResultInterface extends \Magento\Framework\Api\SearchResultsInterface
  17. {
  18. /**
  19. * Gets collection items.
  20. *
  21. * @return \Magento\Sales\Api\Data\ShipmentTrackInterface[] Array of collection items.
  22. */
  23. public function getItems();
  24. /**
  25. * Set collection items.
  26. *
  27. * @param \Magento\Sales\Api\Data\ShipmentTrackInterface[] $items
  28. * @return $this
  29. */
  30. public function setItems(array $items);
  31. }