TransactionSearchResultInterface.php 798 B

12345678910111213141516171819202122232425262728293031
  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. * Transaction search result interface.
  9. *
  10. * A transaction is an interaction between a merchant and a customer such as a purchase, a credit, a refund, and so on.
  11. * @api
  12. * @since 100.0.2
  13. */
  14. interface TransactionSearchResultInterface extends \Magento\Framework\Api\SearchResultsInterface
  15. {
  16. /**
  17. * Gets collection items.
  18. *
  19. * @return \Magento\Sales\Api\Data\TransactionInterface[] Array of collection items.
  20. */
  21. public function getItems();
  22. /**
  23. * Set collection items.
  24. *
  25. * @param \Magento\Sales\Api\Data\TransactionInterface[] $items
  26. * @return $this
  27. */
  28. public function setItems(array $items);
  29. }