PHP Class PayPal\Core\PPAPIService

Afficher le fichier Open project: paypal/sdk-core-php Class Usage Examples

Méthodes publiques

Свойство Type Description
$apiContext
$apiMethod
$serviceName

Méthodes publiques

Méthode 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 )

Private Methods

Méthode Description
getOptions ( )
runHandlers ( $httpConfig, $request )

Method Details

__construct() public méthode

public __construct ( $port, $serviceName, $serviceBinding, $apiContext, $handlers = [] )

addHandler() public méthode

Register additional handlers to run before executing this call
public addHandler ( IPPHandler $handler )
$handler IPPHandler

makeRequest() public méthode

Execute an api call
public makeRequest ( string $apiMethod, $request ) : array
$apiMethod string Name of the API operation (such as 'Pay')
Résultat array containing request and response

setServiceName() public méthode

public setServiceName ( $serviceName )

Property Details

$apiContext public_oe property

public $apiContext

$apiMethod public_oe property

public $apiMethod

$serviceName public_oe property

public $serviceName