PaymentTokenSearchResultsInterface.php 743 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Vault\Api\Data;
  7. /**
  8. * Gateway vault payment token search result interface.
  9. *
  10. * @api
  11. * @since 100.1.0
  12. */
  13. interface PaymentTokenSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface
  14. {
  15. /**
  16. * Gets collection items.
  17. *
  18. * @return \Magento\Vault\Api\Data\PaymentTokenInterface[] Array of collection items.
  19. * @since 100.1.0
  20. */
  21. public function getItems();
  22. /**
  23. * Sets collection items.
  24. *
  25. * @param \Magento\Vault\Api\Data\PaymentTokenInterface[] $items
  26. * @return $this
  27. * @since 100.1.0
  28. */
  29. public function setItems(array $items);
  30. }