ValidatorInterface.php 548 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Paypal\Model\Payflow\Service\Response;
  7. use Magento\Framework\DataObject;
  8. use Magento\Paypal\Model\Payflow\Transparent;
  9. /**
  10. * Interface ValidatorInterface
  11. */
  12. interface ValidatorInterface
  13. {
  14. /**
  15. * Validate data
  16. *
  17. * @param DataObject $response
  18. * @param Transparent|null $transparentModel
  19. * @return bool
  20. */
  21. public function validate(DataObject $response, Transparent $transparentModel);
  22. }