GroupSearchResultsInterface.php 669 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Customer\Api\Data;
  7. /**
  8. * Interface for customer groups search results.
  9. * @api
  10. * @since 100.0.2
  11. */
  12. interface GroupSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface
  13. {
  14. /**
  15. * Get customer groups list.
  16. *
  17. * @return \Magento\Customer\Api\Data\GroupInterface[]
  18. */
  19. public function getItems();
  20. /**
  21. * Set customer groups list.
  22. *
  23. * @api
  24. * @param \Magento\Customer\Api\Data\GroupInterface[] $items
  25. * @return $this
  26. */
  27. public function setItems(array $items);
  28. }