PHP Класс Pingpp\Pingpp

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$apiBase The base URL for the Pingpp API.
$apiKey The Pingpp API key to be used for requests.
$apiVersion The version of the Pingpp API to use for requests.
$privateKey The PEM formatted private key to be used for signing requests.
$privateKeyPath The private key path to be used for signing requests.
$verifySslCerts Defaults to true.

Открытые методы

Метод Описание
getApiKey ( ) : string
getApiVersion ( ) : string
getPrivateKey ( ) : string
getPrivateKeyPath ( ) : string
getVerifySslCerts ( ) : boolean
setApiKey ( string $apiKey ) Sets the API key to be used for requests.
setApiVersion ( string $apiVersion )
setPrivateKey ( string $key )
setPrivateKeyPath ( string $path )
setVerifySslCerts ( boolean $verify )

Описание методов

getApiKey() публичный статический Метод

public static getApiKey ( ) : string
Результат string The API key used for requests.

getApiVersion() публичный статический Метод

public static getApiVersion ( ) : string
Результат string The API version used for requests. null if we're using the latest version.

getPrivateKey() публичный статический Метод

public static getPrivateKey ( ) : string
Результат string

getPrivateKeyPath() публичный статический Метод

public static getPrivateKeyPath ( ) : string
Результат string

getVerifySslCerts() публичный статический Метод

public static getVerifySslCerts ( ) : boolean
Результат boolean

setApiKey() публичный статический Метод

Sets the API key to be used for requests.
public static setApiKey ( string $apiKey )
$apiKey string

setApiVersion() публичный статический Метод

public static setApiVersion ( string $apiVersion )
$apiVersion string The API version to use for requests.

setPrivateKey() публичный статический Метод

public static setPrivateKey ( string $key )
$key string

setPrivateKeyPath() публичный статический Метод

public static setPrivateKeyPath ( string $path )
$path string

setVerifySslCerts() публичный статический Метод

public static setVerifySslCerts ( boolean $verify )
$verify boolean

Описание свойств

$apiBase публичное статическое свойство

The base URL for the Pingpp API.
public static $apiBase

$apiKey публичное статическое свойство

The Pingpp API key to be used for requests.
public static $apiKey

$apiVersion публичное статическое свойство

The version of the Pingpp API to use for requests.
public static $apiVersion

$privateKey публичное статическое свойство

The PEM formatted private key to be used for signing requests.
public static $privateKey

$privateKeyPath публичное статическое свойство

The private key path to be used for signing requests.
public static $privateKeyPath

$verifySslCerts публичное статическое свойство

Defaults to true.
public static $verifySslCerts