SpecificationInterface.php 444 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Payment\Model\Method;
  7. /**
  8. * Interface SpecificationInterface
  9. *
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface SpecificationInterface
  14. {
  15. /**
  16. * Check specification is satisfied by payment method
  17. *
  18. * @param string $paymentMethod
  19. * @return bool
  20. */
  21. public function isSatisfiedBy($paymentMethod);
  22. }