ConfigInterface.php 793 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Payment\Gateway;
  7. /**
  8. * Interface ConfigInterface
  9. * @package Magento\Payment\Gateway
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface ConfigInterface
  14. {
  15. /**
  16. * Retrieve information from payment configuration
  17. *
  18. * @param string $field
  19. * @param int|null $storeId
  20. *
  21. * @return mixed
  22. */
  23. public function getValue($field, $storeId = null);
  24. /**
  25. * Sets method code
  26. *
  27. * @param string $methodCode
  28. * @return void
  29. */
  30. public function setMethodCode($methodCode);
  31. /**
  32. * Sets path pattern
  33. *
  34. * @param string $pathPattern
  35. * @return void
  36. */
  37. public function setPathPattern($pathPattern);
  38. }