paypal-server-sdk 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fdbfb757e518ebefec4716d5b2537990f574a284194a842351bbe7ee93fb00ba
4
- data.tar.gz: 71d09fe02f8f8c35c1042d2e65a14859ea5e7e74acc3cde794b6c6bf0a611673
3
+ metadata.gz: 72e87c0a4a2bbe2a6d2851a6284a7fe4fafd5c2afaedd8e487562c92da9109a2
4
+ data.tar.gz: dc7d7504f8cabf4e5cf33cff132365324001beaf7e6f9397d7e4ae8010bbc840
5
5
  SHA512:
6
- metadata.gz: 5b9126f722849bdb4c7a56de78b9dac7e022ac6fc82914dc9123d1e78f943f265f54defbbac0efb236d31e77706595f099e8e5140d6dc2c97d401ceb085cc8fa
7
- data.tar.gz: cd4eb3abe22dcef53fcb6e9c62d0d34e8a62b302d8fc908d0b29543428119c0d3c35170765c2a3867ebf6a8a554b4edda1bf6c4a9c69e4019ef1b2192c6e34ef
6
+ metadata.gz: a3601590d82e08b09c472677bed7194e64251216ae8fcdd64e52d5bb4910877487399fbe99d41f69ebf015fea49b8d0b86b3e152daedcbfc854b327b21b01486
7
+ data.tar.gz: 836c7021ec50c5fd8d9026eeb46c92b47736060c3e0e6f6ddc9a32bfc7e2b5b67fed30646e5d6ccc074921d4cc64de4ca5e9d9e2c7767ef186feceaa6fcec783
data/LICENSE CHANGED
@@ -1,8 +1,8 @@
1
1
  The PayPal Server SDK is released under the following license:
2
2
 
3
- Copyright (c) 2024 PAYPAL, INC.
3
+ Copyright (c) 2024 PAYPAL, INC.
4
4
 
5
- SDK LICENSE
5
+ SDK LICENSE
6
6
 
7
7
  NOTICE TO USER: PayPal, Inc. is providing the Software and Documentation for use under the terms of this Agreement. Any use, reproduction, modification or distribution of the Software or Documentation, or any derivatives or portions hereof, constitutes your acceptance of this Agreement.
8
8
  As used in this Agreement, "PayPal" means PayPal, Inc. "Software" means the software code accompanying this agreement. "Documentation" means the documents, specifications and all other items accompanying this Agreement other than the Software.
data/README.md CHANGED
@@ -3,7 +3,22 @@
3
3
 
4
4
  ## Introduction
5
5
 
6
- An order represents a payment between two or more parties. Use the Orders API to create, update, retrieve, authorize, and capture orders., Call the Payments API to authorize payments, capture authorized payments, refund payments that have already been captured, and show payment information. Use the Payments API in conjunction with the <a href="/docs/api/orders/v2/">Orders API</a>. For more information, see the <a href="/docs/checkout/">PayPal Checkout Overview</a>., The Payment Method Tokens API saves payment methods so payers don't have to enter details for future transactions. Payers can check out faster or pay without being present after they agree to save a payment method.<br><br>The API associates a payment method with a temporary setup token. Pass the setup token to the API to exchange the setup token for a permanent token.<br><br>The permanent token represents a payment method that's saved to the vault. This token can be used repeatedly for checkout or recurring transactions such as subscriptions.<br><br>The Payment Method Tokens API is available in the US only.
6
+ ### ⚠️ Beta Release Notice
7
+
8
+ This version is considered a **beta release**. While we have done our best to ensure stability and functionality, there may still be bugs, incomplete features, or breaking changes in future updates.
9
+
10
+ #### Important Notes
11
+
12
+ - **Available Features:** This SDK currently contains only 3 of PayPal's API endpoints. Additional endpoints and functionality will be added in the future.
13
+ - **API Changes:** Expect potential changes in APIs and features as we finalize the product.
14
+
15
+ ### Information
16
+
17
+ The PayPal Server SDK provides integration access to the PayPal REST APIs. The API endpoints are divided into distinct controllers:
18
+
19
+ - Orders Controller: <a href="https://developer.paypal.com/docs/api/orders/v2/">Orders API v2</a>
20
+ - Payments Controller: <a href="https://developer.paypal.com/docs/api/payments/v2/">Payments API v2</a>
21
+ - Vault Controller: <a href="https://developer.paypal.com/docs/api/payment-tokens/v3/">Payment Method Tokens API v3</a> *Available in the US only.*
7
22
 
8
23
  Find out more here: [https://developer.paypal.com/docs/api/orders/v2/](https://developer.paypal.com/docs/api/orders/v2/)
9
24
 
@@ -12,20 +27,20 @@ Find out more here: [https://developer.paypal.com/docs/api/orders/v2/](https://d
12
27
  Install the gem from the command line:
13
28
 
14
29
  ```ruby
15
- gem install paypal-server-sdk -v 0.5.1
30
+ gem install paypal-server-sdk -v 0.5.2
16
31
  ```
17
32
 
18
33
  Or add the gem to your Gemfile and run `bundle`:
19
34
 
20
35
  ```ruby
21
- gem 'paypal-server-sdk', '0.5.1'
36
+ gem 'paypal-server-sdk', '0.5.2'
22
37
  ```
23
38
 
24
- For additional gem details, see the [RubyGems page for the paypal-server-sdk gem](https://rubygems.org/gems/paypal-server-sdk/versions/0.5.1).
39
+ For additional gem details, see the [RubyGems page for the paypal-server-sdk gem](https://rubygems.org/gems/paypal-server-sdk/versions/0.5.2).
25
40
 
26
41
  ## Initialize the API Client
27
42
 
28
- **_Note:_** Documentation for the client can be found [here.](doc/client.md)
43
+ **_Note:_** Documentation for the client can be found [here.](https://www.github.com/paypal/PayPal-Ruby-Server-SDK/tree/0.5.2/doc/client.md)
29
44
 
30
45
  The following parameters are configurable for the API Client:
31
46
 
@@ -41,8 +56,8 @@ The following parameters are configurable for the API Client:
41
56
  | `retry_statuses` | `Array` | A list of HTTP statuses to retry. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
42
57
  | `retry_methods` | `Array` | A list of HTTP methods to retry. <br> **Default: %i[get put]** |
43
58
  | `http_callback` | `HttpCallBack` | The Http CallBack allows defining callables for pre and post API calls. |
44
- | `logging_configuration` | [`LoggingConfiguration`](__base_path/logging-configuration.md) | The SDK logging configuration for API calls |
45
- | `client_credentials_auth_credentials` | [`ClientCredentialsAuthCredentials`](__base_path/auth/oauth-2-client-credentials-grant.md) | The credential object for OAuth 2 Client Credentials Grant |
59
+ | `logging_configuration` | [`LoggingConfiguration`](https://www.github.com/paypal/PayPal-Ruby-Server-SDK/tree/0.5.2/doc/logging-configuration.md) | The SDK logging configuration for API calls |
60
+ | `client_credentials_auth_credentials` | [`ClientCredentialsAuthCredentials`](https://www.github.com/paypal/PayPal-Ruby-Server-SDK/tree/0.5.2/doc/auth/oauth-2-client-credentials-grant.md) | The credential object for OAuth 2 Client Credentials Grant |
46
61
 
47
62
  The API client can be initialized as follows:
48
63
 
@@ -92,21 +107,21 @@ The SDK can be configured to use a different environment for making API calls. A
92
107
 
93
108
  This API uses the following authentication schemes.
94
109
 
95
- * [`Oauth2 (OAuth 2 Client Credentials Grant)`](__base_path/auth/oauth-2-client-credentials-grant.md)
110
+ * [`Oauth2 (OAuth 2 Client Credentials Grant)`](https://www.github.com/paypal/PayPal-Ruby-Server-SDK/tree/0.5.2/doc/auth/oauth-2-client-credentials-grant.md)
96
111
 
97
112
  ## List of APIs
98
113
 
99
- * [Orders](doc/controllers/orders.md)
100
- * [Payments](doc/controllers/payments.md)
101
- * [Vault](doc/controllers/vault.md)
114
+ * [Orders](https://www.github.com/paypal/PayPal-Ruby-Server-SDK/tree/0.5.2/doc/controllers/orders.md)
115
+ * [Payments](https://www.github.com/paypal/PayPal-Ruby-Server-SDK/tree/0.5.2/doc/controllers/payments.md)
116
+ * [Vault](https://www.github.com/paypal/PayPal-Ruby-Server-SDK/tree/0.5.2/doc/controllers/vault.md)
102
117
 
103
118
  ## Classes Documentation
104
119
 
105
- * [Utility Classes](doc/utility-classes.md)
106
- * [HttpResponse](doc/http-response.md)
107
- * [HttpRequest](doc/http-request.md)
108
- * [LoggingConfiguration](doc/logging-configuration.md)
109
- * [RequestLoggingConfiguration](doc/request-logging-configuration.md)
110
- * [ResponseLoggingConfiguration](doc/response-logging-configuration.md)
111
- * [Abstract Logger](doc/abstract-logger.md)
120
+ * [Utility Classes](https://www.github.com/paypal/PayPal-Ruby-Server-SDK/tree/0.5.2/doc/utility-classes.md)
121
+ * [HttpResponse](https://www.github.com/paypal/PayPal-Ruby-Server-SDK/tree/0.5.2/doc/http-response.md)
122
+ * [HttpRequest](https://www.github.com/paypal/PayPal-Ruby-Server-SDK/tree/0.5.2/doc/http-request.md)
123
+ * [LoggingConfiguration](https://www.github.com/paypal/PayPal-Ruby-Server-SDK/tree/0.5.2/doc/logging-configuration.md)
124
+ * [RequestLoggingConfiguration](https://www.github.com/paypal/PayPal-Ruby-Server-SDK/tree/0.5.2/doc/request-logging-configuration.md)
125
+ * [ResponseLoggingConfiguration](https://www.github.com/paypal/PayPal-Ruby-Server-SDK/tree/0.5.2/doc/response-logging-configuration.md)
126
+ * [Abstract Logger](https://www.github.com/paypal/PayPal-Ruby-Server-SDK/tree/0.5.2/doc/abstract-logger.md)
112
127
 
@@ -10,7 +10,7 @@ module PaypalServerSdk
10
10
  attr_accessor :config, :http_call_back
11
11
 
12
12
  def self.user_agent
13
- 'PayPal REST API Ruby SDK, Version: 0.5.1, on OS {os-info}'
13
+ 'PayPal REST API Ruby SDK, Version: 0.5.2, on OS {os-info}'
14
14
  end
15
15
 
16
16
  def self.user_agent_parameters
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paypal-server-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - PayPal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-10 00:00:00.000000000 Z
11
+ date: 2024-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: apimatic_core_interfaces