PHP Class PayPal\Transport\PPRestCall

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

Méthodes publiques

Méthode Description
__construct ( $apiContext )
execute ( array $handlers, string $path, string $method, string $data = '', array $headers = [] )

Method Details

__construct() public méthode

public __construct ( $apiContext )

execute() public méthode

public execute ( array $handlers, string $path, string $method, string $data = '', array $headers = [] )
$handlers array array of handlers
$path string Resource path relative to base service endpoint
$method string HTTP method - one of GET, POST, PUT, DELETE, PATCH etc
$data string Request payload
$headers array HTTP headers