PaymentMethodListInterface.php 797 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Vault\Api;
  7. use Magento\Vault\Model\VaultPaymentInterface;
  8. /**
  9. * Contains methods to retrieve vault payment methods
  10. * This interface is consistent with \Magento\Payment\Api\PaymentMethodListInterface
  11. * @api
  12. * @since 100.2.0
  13. */
  14. interface PaymentMethodListInterface
  15. {
  16. /**
  17. * Get list of available vault payments
  18. * @param int $storeId
  19. * @return VaultPaymentInterface[]
  20. * @since 100.2.0
  21. */
  22. public function getList($storeId);
  23. /**
  24. * Get list of enabled in the configuration vault payments
  25. * @param int $storeId
  26. * @return VaultPaymentInterface[]
  27. * @since 100.2.0
  28. */
  29. public function getActiveList($storeId);
  30. }