\AluPays\TestTestAluPaysAPIClient

Summary

Methods
Properties
Constants
__construct()
getURL()
getClient()
getLastResponse()
settle()
settlementDecline()
No public properties found
No constants found
No protected methods found
$api_credential
$http_client
$apiurl
$response
N/A
No private methods found
No private properties found
N/A

Properties

$http_client

$http_client : \AluPays\Http\HttpClient

Type

\AluPays\Http\HttpClient — El cliente para generar las request HTTP.

$apiurl

$apiurl : string

Type

string — La URL de la API.

$response

$response : \Psr\Http\Message\ResponseInterface

Type

\Psr\Http\Message\ResponseInterface — Última respuesta.

Methods

__construct()

__construct(string  $api_key, string  $api_secret) 

Parameters

string $api_key
string $api_secret

getURL()

getURL() 

getClient()

getClient() 

getLastResponse()

getLastResponse() 

settlementDecline()

settlementDecline(\AluPays\Entity\Transaction  $transaction,   $raw = false) 

Parameters

\AluPays\Entity\Transaction $transaction
$raw