PaymentMethodInterface.php 774 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Payment\Api\Data;
  7. /**
  8. * Payment method interface.
  9. *
  10. * @api
  11. * @since 100.1.3
  12. */
  13. interface PaymentMethodInterface
  14. {
  15. /**
  16. * Get code.
  17. *
  18. * @return string
  19. * @since 100.1.3
  20. */
  21. public function getCode();
  22. /**
  23. * Get title.
  24. *
  25. * @return string
  26. * @since 100.1.3
  27. */
  28. public function getTitle();
  29. /**
  30. * Get store id.
  31. *
  32. * @return int
  33. * @since 100.1.3
  34. */
  35. public function getStoreId();
  36. /**
  37. * Get is active.
  38. *
  39. * @return bool
  40. * @SuppressWarnings(PHPMD.BooleanGetMethodName)
  41. * @since 100.1.3
  42. */
  43. public function getIsActive();
  44. }