Метод | Описание | |
---|---|---|
getConnectId ( ) : string | Returns connectId | |
getNonce ( ) : string | Returns nonce. | |
getPublicKey ( ) : string | Returns the public key | |
getSignature ( string $service, string $method, string $nonce ) : string | Returns the crypted hash signature for a api message. | |
getTimestamp ( ) : string | Returns the current REST timestamp. | |
isSecureApiCall ( ) : boolean | Returns message security status. | |
setConnectId ( string $connectId ) : void | Set connectId | |
setPublicKey ( string $publicKey ) : void | Sets the public key. | |
setSecretKey ( string $secretKey ) : void | Set SecretKey | |
setSecureApiCall ( $status = false ) : void | Enables the API authentication. | |
setTimestamp ( string $timestamp ) : void | Set connectId | |
setVersion ( string $version ) : void | Sets the API version to use. |
public getConnectId ( ) : string | ||
Результат | string | zanox connect id |
public getPublicKey ( ) : string | ||
Результат | string | zanox public key |
public getTimestamp ( ) : string | ||
Результат | string | message timestamp |
public isSecureApiCall ( ) : boolean | ||
Результат | boolean | true if secure message |
public setConnectId ( string $connectId ) : void | ||
$connectId | string | zanox connectId |
Результат | void |
public setPublicKey ( string $publicKey ) : void | ||
$publicKey | string | public key |
Результат | void |
public setSecretKey ( string $secretKey ) : void | ||
$secretKey | string | zanox secret key |
Результат | void |
public setSecureApiCall ( $status = false ) : void | ||
Результат | void |
public setTimestamp ( string $timestamp ) : void | ||
$timestamp | string | time stamp |
Результат | void |
public setVersion ( string $version ) : void | ||
$version | string | API version |
Результат | void |