PaymentMethodListInterface.php 689 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Payment\Api;
  7. /**
  8. * Payment method list interface.
  9. *
  10. * @api
  11. * @since 100.1.3
  12. */
  13. interface PaymentMethodListInterface
  14. {
  15. /**
  16. * Get list of payment methods.
  17. *
  18. * @param int $storeId
  19. * @return \Magento\Payment\Api\Data\PaymentMethodInterface[]
  20. * @since 100.1.3
  21. */
  22. public function getList($storeId);
  23. /**
  24. * Get list of active payment methods.
  25. *
  26. * @param int $storeId
  27. * @return \Magento\Payment\Api\Data\PaymentMethodInterface[]
  28. * @since 100.1.3
  29. */
  30. public function getActiveList($storeId);
  31. }