PHP 클래스 PayPal\Transport\PayPalRestCall

파일 보기 프로젝트 열기: paypal/rest-api-sdk-php 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ApiContext $apiContext ) Default Constructor
execute ( array $handlers = [], string $path, string $method, string $data = '', array $headers = [] ) : mixed

메소드 상세

__construct() 공개 메소드

Default Constructor
public __construct ( ApiContext $apiContext )
$apiContext PayPal\Rest\ApiContext

execute() 공개 메소드

public execute ( array $handlers = [], string $path, string $method, string $data = '', array $headers = [] ) : mixed
$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
리턴 mixed