6 * @var string The Stripe API key to be used for requests.
10 * @var string The base URL for the Stripe API.
12 public static $apiBase = 'https://api.stripe.com';
14 * @var string|null The version of the Stripe API to use for requests.
16 public static $apiVersion = null;
18 * @var boolean Defaults to true.
20 public static $verifySslCerts = true;
21 const VERSION
= '1.16.0';
24 * @return string The API key used for requests.
26 public static function getApiKey()
32 * Sets the API key to be used for requests.
34 * @param string $apiKey
36 public static function setApiKey($apiKey)
38 self
::$apiKey = $apiKey;
42 * @return string The API version used for requests. null if we're using the
45 public static function getApiVersion()
47 return self
::$apiVersion;
51 * @param string $apiVersion The API version to use for requests.
53 public static function setApiVersion($apiVersion)
55 self
::$apiVersion = $apiVersion;
61 public static function getVerifySslCerts()
63 return self
::$verifySslCerts;
67 * @param boolean $verify
69 public static function setVerifySslCerts($verify)
71 self
::$verifySslCerts = $verify;