Méthode | Description | |
---|---|---|
APIContext ( ) : System |
Initializes a new instance of APIContext that is used when making HTTP calls to the PayPal REST API.
|
|
APIContext ( string accessToken ) : System |
Initializes a new instance of APIContext that is used when making HTTP calls to the PayPal REST API; as well as sets and verifies the state of an accessToken.
|
|
APIContext ( string accessToken, string requestId ) : System |
Initializes a new instance of APIContext that is used when making HTTP calls to the PayPal REST API; as well as sets and verifies the states of an accessToken and requestId.
|
|
GetConfigWithDefaults ( ) : string>.Dictionary |
Gets the stored configuration and merges it with the application's default config.
|
|
ResetRequestId ( ) : void |
Resets the request ID used for ensuring idempotency when making a REST API call.
|
public APIContext ( string accessToken ) : System | ||
accessToken | string | OAuth access token to use when making API requests |
Résultat | System |
public APIContext ( string accessToken, string requestId ) : System | ||
accessToken | string | OAuth access token to use when making API requests |
requestId | string | ID used for ensuring idempotency when making a REST API call |
Résultat | System |
public GetConfigWithDefaults ( ) : string>.Dictionary |
||
Résultat | string>.Dictionary |