CreditmemoItemSearchResultInterface.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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 item 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. A credit memo item is an invoiced item for which
  13. * a merchant creates a credit memo.
  14. * @api
  15. * @since 100.0.2
  16. */
  17. interface CreditmemoItemSearchResultInterface extends \Magento\Framework\Api\SearchResultsInterface
  18. {
  19. /**
  20. * Gets collection items.
  21. *
  22. * @return \Magento\Sales\Api\Data\CreditmemoItemInterface[] Array of collection items.
  23. */
  24. public function getItems();
  25. /**
  26. * Set collection items.
  27. *
  28. * @param \Magento\Sales\Api\Data\CreditmemoItemInterface[] $items
  29. * @return $this
  30. */
  31. public function setItems(array $items);
  32. }