2021-03-01 10:07:03 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Stripe;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface for a Stripe client.
|
|
|
|
*/
|
2021-08-23 08:37:03 +02:00
|
|
|
interface StripeClientInterface extends BaseStripeClientInterface
|
2021-03-01 10:07:03 +01:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Sends a request to Stripe's API.
|
|
|
|
*
|
|
|
|
* @param string $method the HTTP method
|
|
|
|
* @param string $path the path of the request
|
|
|
|
* @param array $params the parameters of the request
|
|
|
|
* @param array|\Stripe\Util\RequestOptions $opts the special modifiers of the request
|
|
|
|
*
|
|
|
|
* @return \Stripe\StripeObject the object returned by Stripe's API
|
|
|
|
*/
|
|
|
|
public function request($method, $path, $params, $opts);
|
|
|
|
}
|