CreditmemoSearchResultInterface.php 976 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. * Credit memo search result interface.
  9. *
  10. * After a customer places and pays for an order and an invoice has been issued, the merchant can create a credit memo
  11. * to refund all or part of the amount paid for any returned or undelivered items. The memo restores funds to the
  12. * customer account so that the customer can make future purchases.
  13. * @api
  14. * @since 100.0.2
  15. */
  16. interface CreditmemoSearchResultInterface extends \Magento\Framework\Api\SearchResultsInterface
  17. {
  18. /**
  19. * Gets collection items.
  20. *
  21. * @return \Magento\Sales\Api\Data\CreditmemoInterface[] Array of collection items.
  22. */
  23. public function getItems();
  24. /**
  25. * Set collection items.
  26. *
  27. * @param \Magento\Sales\Api\Data\CreditmemoInterface[] $items
  28. * @return $this
  29. */
  30. public function setItems(array $items);
  31. }