PHP Class PayPal\Handler\RestHandler

Inheritance: implements PayPal\Handler\IPayPalHandler
Show file Open project: paypal/rest-api-sdk-php

Public Methods

Method Description
__construct ( ApiContext $apiContext ) Construct
handle ( PayPalHttpConfig $httpConfig, string $request, mixed $options ) : mixed | void

Private Methods

Method Description
_getEndpoint ( array $config ) : string End Point

Method Details

__construct() public method

Construct
public __construct ( ApiContext $apiContext )
$apiContext PayPal\Rest\ApiContext

handle() public method

public handle ( PayPalHttpConfig $httpConfig, string $request, mixed $options ) : mixed | void
$httpConfig PayPal\Core\PayPalHttpConfig
$request string
$options mixed
return mixed | void