ShipmentCommentSearchResultInterface.php 925 B

1234567891011121314151617181920212223242526272829303132
  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 comment 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. A shipment document can contain comments.
  12. * @api
  13. * @since 100.0.2
  14. */
  15. interface ShipmentCommentSearchResultInterface extends \Magento\Framework\Api\SearchResultsInterface
  16. {
  17. /**
  18. * Gets collection items.
  19. *
  20. * @return \Magento\Sales\Api\Data\ShipmentCommentInterface[] Array of collection items.
  21. */
  22. public function getItems();
  23. /**
  24. * Set collection items.
  25. *
  26. * @param \Magento\Sales\Api\Data\ShipmentCommentInterface[] $items
  27. * @return $this
  28. */
  29. public function setItems(array $items);
  30. }