| 1 |
<?php |
| 2 |
|
| 3 |
namespace Stripe; |
| 4 |
|
| 5 |
/** |
| 6 |
* Interface for a Stripe client. |
| 7 |
*/ |
| 8 |
interface StripeClientInterface extends BaseStripeClientInterface |
| 9 |
{ |
| 10 |
/** |
| 11 |
* Sends a request to Stripe's API. |
| 12 |
* |
| 13 |
* @param string $method the HTTP method |
| 14 |
* @param string $path the path of the request |
| 15 |
* @param array $params the parameters of the request |
| 16 |
* @param array|\Stripe\Util\RequestOptions $opts the special modifiers of the request |
| 17 |
* |
| 18 |
* @return \Stripe\StripeObject the object returned by Stripe's API |
| 19 |
*/ |
| 20 |
public function request($method, $path, $params, $opts); |
| 21 |
} |
| 22 |
|