You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
744 B

  1. <?php
  2. namespace App\Utilities\Zarinpal\Drivers;
  3. interface DriverInterface
  4. {
  5. /**
  6. * @param $inputs
  7. *
  8. * @return array|redirect
  9. */
  10. public function request($inputs);
  11. /**
  12. * @param $inputs
  13. *
  14. * @return array|redirect
  15. */
  16. public function requestWithExtra($inputs);
  17. /**
  18. * @param $inputs
  19. *
  20. * @return array
  21. */
  22. public function verify($inputs);
  23. /**
  24. * @param $inputs
  25. *
  26. * @return array
  27. */
  28. public function verifyWithExtra($inputs);
  29. /**
  30. * @param $inputs
  31. *
  32. * @return array
  33. */
  34. public function setAddress($inputs);
  35. /**
  36. * activate sandbox mod for dev environment.
  37. */
  38. public function enableSandbox();
  39. }