Generate file attachment transactions for explicit Remarkup attachments on common...
[phabricator.git] / externals / stripe-php / lib / Stripe / Stripe.php
blobae94f208940fcf8e87f0aead3db387afc717af54
1 <?php
3 abstract class Stripe
5 /**
6 * @var string The Stripe API key to be used for requests.
7 */
8 public static $apiKey;
9 /**
10 * @var string The base URL for the Stripe API.
12 public static $apiBase = 'https://api.stripe.com';
13 /**
14 * @var string|null The version of the Stripe API to use for requests.
16 public static $apiVersion = null;
17 /**
18 * @var boolean Defaults to true.
20 public static $verifySslCerts = true;
21 const VERSION = '1.16.0';
23 /**
24 * @return string The API key used for requests.
26 public static function getApiKey()
28 return self::$apiKey;
31 /**
32 * Sets the API key to be used for requests.
34 * @param string $apiKey
36 public static function setApiKey($apiKey)
38 self::$apiKey = $apiKey;
41 /**
42 * @return string The API version used for requests. null if we're using the
43 * latest version.
45 public static function getApiVersion()
47 return self::$apiVersion;
50 /**
51 * @param string $apiVersion The API version to use for requests.
53 public static function setApiVersion($apiVersion)
55 self::$apiVersion = $apiVersion;
58 /**
59 * @return boolean
61 public static function getVerifySslCerts()
63 return self::$verifySslCerts;
66 /**
67 * @param boolean $verify
69 public static function setVerifySslCerts($verify)
71 self::$verifySslCerts = $verify;