| 1 |
<?php |
| 2 |
|
| 3 |
namespace Stripe; |
| 4 |
|
| 5 |
/** |
| 6 |
* Interface for a Stripe client. |
| 7 |
*/ |
| 8 |
interface BaseStripeClientInterface |
| 9 |
{ |
| 10 |
/** |
| 11 |
* Gets the API key used by the client to send requests. |
| 12 |
* |
| 13 |
* @return null|string the API key used by the client to send requests |
| 14 |
*/ |
| 15 |
public function getApiKey(); |
| 16 |
|
| 17 |
/** |
| 18 |
* Gets the client ID used by the client in OAuth requests. |
| 19 |
* |
| 20 |
* @return null|string the client ID used by the client in OAuth requests |
| 21 |
*/ |
| 22 |
public function getClientId(); |
| 23 |
|
| 24 |
/** |
| 25 |
* Gets the base URL for Stripe's API. |
| 26 |
* |
| 27 |
* @return string the base URL for Stripe's API |
| 28 |
*/ |
| 29 |
public function getApiBase(); |
| 30 |
|
| 31 |
/** |
| 32 |
* Gets the base URL for Stripe's OAuth API. |
| 33 |
* |
| 34 |
* @return string the base URL for Stripe's OAuth API |
| 35 |
*/ |
| 36 |
public function getConnectBase(); |
| 37 |
|
| 38 |
/** |
| 39 |
* Gets the base URL for Stripe's Files API. |
| 40 |
* |
| 41 |
* @return string the base URL for Stripe's Files API |
| 42 |
*/ |
| 43 |
public function getFilesBase(); |
| 44 |
} |
| 45 |
|