InvoiceCommentSearchResultInterface.php 826 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. * Invoice comment search result interface.
  9. *
  10. * An invoice is a record of the receipt of payment for an order. An invoice can include comments that detail the
  11. * invoice history.
  12. * @api
  13. * @since 100.0.2
  14. */
  15. interface InvoiceCommentSearchResultInterface extends \Magento\Framework\Api\SearchResultsInterface
  16. {
  17. /**
  18. * Gets collection items.
  19. *
  20. * @return \Magento\Sales\Api\Data\InvoiceCommentInterface[] Array of collection items.
  21. */
  22. public function getItems();
  23. /**
  24. * Sets collection items.
  25. *
  26. * @param \Magento\Sales\Api\Data\InvoiceCommentInterface[] $items
  27. * @return $this
  28. */
  29. public function setItems(array $items);
  30. }