Initial Commit
This commit is contained in:
21
dependencies/stripe/stripe-php/lib/StripeClientInterface.php
vendored
Normal file
21
dependencies/stripe/stripe-php/lib/StripeClientInterface.php
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace WP_Ultimo\Dependencies\Stripe;
|
||||
|
||||
/**
|
||||
* Interface for a Stripe client.
|
||||
*/
|
||||
interface StripeClientInterface extends BaseStripeClientInterface
|
||||
{
|
||||
/**
|
||||
* Sends a request to Stripe's API.
|
||||
*
|
||||
* @param 'delete'|'get'|'post' $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);
|
||||
}
|
Reference in New Issue
Block a user