PHP Class PayPal\Core\PPBaseService

Mostrar archivo Open project: paypal/sdk-core-php Class Usage Examples

Protected Properties

Property Type Description
$config
$lastRequest
$lastResponse

Public Methods

Method Description
__construct ( $serviceName, $serviceBinding, $config = null, $handlers = [] )
call ( $port, string $method, object $requestObject, apiContext $apiContext, array $handlers = [] )
getLastRequest ( )
getLastResponse ( )
getServiceName ( )

Method Details

__construct() public method

public __construct ( $serviceName, $serviceBinding, $config = null, $handlers = [] )

call() public method

public call ( $port, string $method, object $requestObject, apiContext $apiContext, array $handlers = [] )
$method string - API method to call
$requestObject object Request object
$apiContext apiContext object containing credential and SOAP headers
$handlers array Array of Handlers

getLastRequest() public method

public getLastRequest ( )

getLastResponse() public method

public getLastResponse ( )

getServiceName() public method

public getServiceName ( )

Property Details

$config protected_oe property

protected $config

$lastRequest protected_oe property

protected $lastRequest

$lastResponse protected_oe property

protected $lastResponse