AddressSearchResultsInterface.php 670 B

123456789101112131415161718192021222324252627282930
  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 address search results.
  9. * @api
  10. * @since 100.0.2
  11. */
  12. interface AddressSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface
  13. {
  14. /**
  15. * Get customer addresses list.
  16. *
  17. * @return \Magento\Customer\Api\Data\AddressInterface[]
  18. */
  19. public function getItems();
  20. /**
  21. * Set customer addresses list.
  22. *
  23. * @param \Magento\Customer\Api\Data\AddressInterface[] $items
  24. * @return $this
  25. */
  26. public function setItems(array $items);
  27. }