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
46 lines
744 B
<?php
|
|
|
|
namespace App\Utilities\Zarinpal\Drivers;
|
|
|
|
interface DriverInterface
|
|
{
|
|
/**
|
|
* @param $inputs
|
|
*
|
|
* @return array|redirect
|
|
*/
|
|
public function request($inputs);
|
|
|
|
/**
|
|
* @param $inputs
|
|
*
|
|
* @return array|redirect
|
|
*/
|
|
public function requestWithExtra($inputs);
|
|
|
|
/**
|
|
* @param $inputs
|
|
*
|
|
* @return array
|
|
*/
|
|
public function verify($inputs);
|
|
|
|
/**
|
|
* @param $inputs
|
|
*
|
|
* @return array
|
|
*/
|
|
public function verifyWithExtra($inputs);
|
|
|
|
/**
|
|
* @param $inputs
|
|
*
|
|
* @return array
|
|
*/
|
|
public function setAddress($inputs);
|
|
|
|
/**
|
|
* activate sandbox mod for dev environment.
|
|
*/
|
|
public function enableSandbox();
|
|
}
|