Property | Type | Description | |
---|---|---|---|
$apiContext | |||
$apiMethod | |||
$serviceName |
Method | Description | |
---|---|---|
__construct ( $port, $serviceName, $serviceBinding, $apiContext, $handlers = [] ) | ||
addHandler ( IPPHandler $handler ) | Register additional handlers to run before executing this call | |
makeRequest ( string $apiMethod, $request ) : array | Execute an api call | |
setServiceName ( $serviceName ) |
Method | Description | |
---|---|---|
getOptions ( ) | ||
runHandlers ( $httpConfig, $request ) |
public __construct ( $port, $serviceName, $serviceBinding, $apiContext, $handlers = [] ) |
public addHandler ( IPPHandler $handler ) | ||
$handler | IPPHandler |
public makeRequest ( string $apiMethod, $request ) : array | ||
$apiMethod | string | Name of the API operation (such as 'Pay') |
return | array | containing request and response |