Skip to content

Commit 8ef527e

Browse files
Automated commit message (#7)
Co-authored-by: PayPalServerSDKs <[email protected]>
1 parent 635a7c0 commit 8ef527e

File tree

152 files changed

+1097
-1166
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+1097
-1166
lines changed

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# Getting Started with Paypal Server SDK
2+
# Getting Started with PayPal Server SDK
33

44
## Introduction
55

@@ -28,15 +28,15 @@ The package is compatible with Python versions `3 >=3.7, <= 3.11`.
2828
Install the package from PyPi using the following pip command:
2929

3030
```python
31-
pip install paypal-server-sdk==0.5.2
31+
pip install paypal-server-sdk==0.6.0
3232
```
3333

3434
You can also view the package at:
35-
https://pypi.python.org/pypi/paypal-server-sdk/0.5.2
35+
https://pypi.python.org/pypi/paypal-server-sdk/0.6.0
3636

3737
## Initialize the API Client
3838

39-
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.5.2/doc/client.md)
39+
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.6.0/doc/client.md)
4040

4141
The following parameters are configurable for the API Client:
4242

@@ -51,13 +51,13 @@ The following parameters are configurable for the API Client:
5151
| `backoff_factor` | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
5252
| `retry_statuses` | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
5353
| `retry_methods` | `Array of string` | The http methods on which retry is to be done. <br> **Default: ['GET', 'PUT']** |
54-
| `logging_configuration` | [`LoggingConfiguration`](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.5.2/doc/logging-configuration.md) | The SDK logging configuration for API calls |
55-
| `client_credentials_auth_credentials` | [`ClientCredentialsAuthCredentials`](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.5.2/doc/auth/oauth-2-client-credentials-grant.md) | The credential object for OAuth 2 Client Credentials Grant |
54+
| `logging_configuration` | [`LoggingConfiguration`](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.6.0/doc/logging-configuration.md) | The SDK logging configuration for API calls |
55+
| `client_credentials_auth_credentials` | [`ClientCredentialsAuthCredentials`](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.6.0/doc/auth/oauth-2-client-credentials-grant.md) | The credential object for OAuth 2 Client Credentials Grant |
5656

5757
The API client can be initialized as follows:
5858

5959
```python
60-
client = PaypalserversdkClient(
60+
client = PaypalServersdkClient(
6161
client_credentials_auth_credentials=ClientCredentialsAuthCredentials(
6262
o_auth_client_id='OAuthClientId',
6363
o_auth_client_secret='OAuthClientSecret'
@@ -102,21 +102,21 @@ The SDK can be configured to use a different environment for making API calls. A
102102

103103
This API uses the following authentication schemes.
104104

105-
* [`Oauth2 (OAuth 2 Client Credentials Grant)`](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.5.2/doc/auth/oauth-2-client-credentials-grant.md)
105+
* [`Oauth2 (OAuth 2 Client Credentials Grant)`](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.6.0/doc/auth/oauth-2-client-credentials-grant.md)
106106

107107
## List of APIs
108108

109-
* [Orders](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.5.2/doc/controllers/orders.md)
110-
* [Payments](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.5.2/doc/controllers/payments.md)
111-
* [Vault](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.5.2/doc/controllers/vault.md)
109+
* [Orders](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.6.0/doc/controllers/orders.md)
110+
* [Payments](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.6.0/doc/controllers/payments.md)
111+
* [Vault](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.6.0/doc/controllers/vault.md)
112112

113113
## Classes Documentation
114114

115-
* [Utility Classes](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.5.2/doc/utility-classes.md)
116-
* [HttpResponse](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.5.2/doc/http-response.md)
117-
* [HttpRequest](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.5.2/doc/http-request.md)
118-
* [LoggingConfiguration](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.5.2/doc/logging-configuration.md)
119-
* [RequestLoggingConfiguration](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.5.2/doc/request-logging-configuration.md)
120-
* [ResponseLoggingConfiguration](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.5.2/doc/response-logging-configuration.md)
121-
* [AbstractLogger](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.5.2/doc/abstract-logger.md)
115+
* [Utility Classes](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.6.0/doc/utility-classes.md)
116+
* [HttpResponse](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.6.0/doc/http-response.md)
117+
* [HttpRequest](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.6.0/doc/http-request.md)
118+
* [LoggingConfiguration](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.6.0/doc/logging-configuration.md)
119+
* [RequestLoggingConfiguration](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.6.0/doc/request-logging-configuration.md)
120+
* [ResponseLoggingConfiguration](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.6.0/doc/response-logging-configuration.md)
121+
* [AbstractLogger](https://www.github.com/paypal/PayPal-Python-Server-SDK/tree/0.6.0/doc/abstract-logger.md)
122122

doc/abstract-logger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class CustomLogger(AbstractLogger):
3838
Following is how the custom logger implementation can be injected in the SDK client.
3939

4040
```python
41-
client = PaypalserversdkClient(
41+
client = PaypalServersdkClient(
4242
logging_configuration=LoggingConfiguration(
4343
logger=CustomLogger()
4444
)

doc/auth/oauth-2-client-credentials-grant.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Documentation for accessing and setting credentials for Oauth2.
2727
You must initialize the client with *OAuth 2.0 Client Credentials Grant* credentials as shown in the following code snippet. This will fetch the OAuth token automatically when any of the endpoints, requiring *OAuth 2.0 Client Credentials Grant* autentication, are called.
2828

2929
```python
30-
client = PaypalserversdkClient(
30+
client = PaypalServersdkClient(
3131
client_credentials_auth_credentials=ClientCredentialsAuthCredentials(
3232
o_auth_client_id='OAuthClientId',
3333
o_auth_client_secret='OAuthClientSecret'
@@ -44,7 +44,7 @@ Your application can also manually provide an OAuthToken using the setter `o_aut
4444
Whenever the OAuth Token gets updated, the provided callback implementation will be executed. For instance, you may use it to store your access token whenever it gets updated.
4545

4646
```python
47-
client = PaypalserversdkClient(
47+
client = PaypalServersdkClient(
4848
client_credentials_auth_credentials=ClientCredentialsAuthCredentials(
4949
o_auth_client_id='OAuthClientId',
5050
o_auth_client_secret='OAuthClientSecret',
@@ -70,7 +70,7 @@ def _o_auth_token_provider(last_oauth_token, auth_manager):
7070
return o_auth_token
7171

7272

73-
client = PaypalserversdkClient(
73+
client = PaypalServersdkClient(
7474
client_credentials_auth_credentials=ClientCredentialsAuthCredentials(
7575
o_auth_client_id='OAuthClientId',
7676
o_auth_client_secret='OAuthClientSecret',

doc/client.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The following parameters are configurable for the API Client:
2020
The API client can be initialized as follows:
2121

2222
```python
23-
client = PaypalserversdkClient(
23+
client = PaypalServersdkClient(
2424
client_credentials_auth_credentials=ClientCredentialsAuthCredentials(
2525
o_auth_client_id='OAuthClientId',
2626
o_auth_client_secret='OAuthClientSecret'
@@ -50,7 +50,7 @@ API calls return an `ApiResponse` object that includes the following fields:
5050
| `errors` | Errors, if they exist |
5151
| `body` | The deserialized body of the HTTP response |
5252

53-
## Paypal Server SDK Client
53+
## PayPal Server SDK Client
5454

5555
The gateway for the SDK. This class acts as a factory for the Controllers and also holds the configuration of the SDK.
5656

0 commit comments

Comments
 (0)