Свойство | Тип | Описание | |
---|---|---|---|
$CACertPath | The path to your CA certs. Use only if needed (if you can't fix libcurl/php). | ||
$apiKey | Default API key for all requests, may be overridden with the Recurly_Client constructor | ||
$apiUrl | Base API URL | ||
$apiVersion | API Version | ||
$subdomain | Subdomain for all requests. |
Метод | Описание | |
---|---|---|
__construct ( $apiKey = null, $acceptLanguage = 'en-US' ) | Create a new Recurly Client | |
apiKey ( ) : string | Current API key | |
baseUri ( ) | ||
getFile ( string $uri, resource $file_pointer ) | Saves the contents of a URI into a file handle. | |
getPdf ( string $uri, string $locale = null ) : string | Requests a PDF document from the given URI | |
request ( $method, $uri, $data = null ) |
Метод | Описание | |
---|---|---|
__userAgent ( ) | ||
_getHeaders ( $headerText ) | ||
_raiseCurlError ( $errorNumber, $message ) | ||
_sendRequest ( string $method, string $uri, mixed $data = '' ) | Sends an HTTP request to the Recurly API |
public __construct ( $apiKey = null, $acceptLanguage = 'en-US' ) |
public static $CACertPath |
public static $apiKey |