Метод |
Описание |
|
__construct ( OAuthTokenCredential $credential = null, string | null $requestId = null ) |
Construct |
|
addRequestHeader ( $name, $value ) |
|
|
get ( $searchKey ) : mixed |
Gets a specific configuration from key |
|
getConfig ( ) : array |
Gets Configurations |
|
getCredential ( ) : OAuthTokenCredential |
Get Credential |
|
getRequestHeaders ( ) |
|
|
getRequestId ( ) : string |
Get Request ID |
|
resetRequestId ( ) : string |
Resets the requestId that can be used to set the PayPal-request-id
header used for idempotency. In cases where you need to make multiple create calls
using the same ApiContext object, you need to reset request Id. |
|
setConfig ( array $config ) |
Sets Config |
|