/** * Set API Base URL. * * @param string|null $apiBaseUrl * * @return self */ private function setApiBase($apiBaseUrl) { if (empty($apiBaseUrl)) { $apiBaseUrl = Stripe::getApiBaseUrl(); } $this->apiBaseUrl = $apiBaseUrl; return $this; }
/** * Get the base url. * * @return string */ public static function baseUrl() { return Stripe::getApiBaseUrl(); }