PHP 클래스 PayPal\Core\PPAPIService

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

공개 프로퍼티들

프로퍼티 타입 설명
$apiContext
$apiMethod
$serviceName

공개 메소드들

메소드 설명
__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 )

비공개 메소드들

메소드 설명
getOptions ( )
runHandlers ( $httpConfig, $request )

메소드 상세

__construct() 공개 메소드

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

addHandler() 공개 메소드

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

makeRequest() 공개 메소드

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

setServiceName() 공개 메소드

public setServiceName ( $serviceName )

프로퍼티 상세

$apiContext 공개적으로 프로퍼티

public $apiContext

$apiMethod 공개적으로 프로퍼티

public $apiMethod

$serviceName 공개적으로 프로퍼티

public $serviceName