Path: blob/master/externals/stripe-php/lib/Stripe/Stripe.php
12256 views
<?php12abstract class Stripe3{4/**5* @var string The Stripe API key to be used for requests.6*/7public static $apiKey;8/**9* @var string The base URL for the Stripe API.10*/11public static $apiBase = 'https://api.stripe.com';12/**13* @var string|null The version of the Stripe API to use for requests.14*/15public static $apiVersion = null;16/**17* @var boolean Defaults to true.18*/19public static $verifySslCerts = true;20const VERSION = '1.16.0';2122/**23* @return string The API key used for requests.24*/25public static function getApiKey()26{27return self::$apiKey;28}2930/**31* Sets the API key to be used for requests.32*33* @param string $apiKey34*/35public static function setApiKey($apiKey)36{37self::$apiKey = $apiKey;38}3940/**41* @return string The API version used for requests. null if we're using the42* latest version.43*/44public static function getApiVersion()45{46return self::$apiVersion;47}4849/**50* @param string $apiVersion The API version to use for requests.51*/52public static function setApiVersion($apiVersion)53{54self::$apiVersion = $apiVersion;55}5657/**58* @return boolean59*/60public static function getVerifySslCerts()61{62return self::$verifySslCerts;63}6465/**66* @param boolean $verify67*/68public static function setVerifySslCerts($verify)69{70self::$verifySslCerts = $verify;71}72}737475