protected function getBaseUrl() {
        $str_base_url = $this->obj_http_client->getConfig(self::CONFIG_CLIENT_BASE_URL);
        if (!empty($str_base_url)) {
            return $str_base_url;
        }

        return self::DEFAULT_BASE_URL;
    }
protected function getBaseUrl() {
        $str_base_url = $this->obj_http_client->getConfig(self::CONFIG_CLIENT_BASE_URL);
        if (!empty($str_base_url)) {
            return $str_base_url;
        }

        return self::DEFAULT_BASE_URL;
    }
protected function getBaseUrl ( ) { $ str_base_url = $ this -> obj_http_client -> getConfig ( self :: CONFIG_CLIENT_BASE_URL ) ; if ( ! empty ( $ str_base_url ) ) { return $ str_base_url ; } return self :: DEFAULT_BASE_URL ; }
Get the base url from the client object.

Note: If for some reason the client's base URL is not set then we will return the default endpoint.

@return string
Get the base url from the client object .