paypal / PayPal-NET-SDK

.NET SDK for PayPal's RESTful APIs
https://developer.paypal.com
Other
536 stars 462 forks source link

.NET SDK, API Context #436

Open ManuPeguero opened 4 years ago

ManuPeguero commented 4 years ago

General information

Issue description

As a developer i would like the "APIContext" class to have a new constructor that receives a Dictionary<string,string> and populate the public property: "Config" with the configuration necesary for the sdk to work correctly.

Use Case

When the application does not depends entirely in the web/app.config file and the application's configuration is handled in a custom way, there is the need to manually configure the APIContext class property: "Config". The "OAuthTokenCredential" class already support this.

Thanks.