paypal-sdk-rest 2.0.0.rc1 → 2.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -1
- data/README.md +10 -4
- data/lib/lib.rb +7 -0
- data/lib/paypal-sdk-rest.rb +1 -0
- data/lib/paypal/core/paypal_http_client.rb +1 -0
- data/lib/paypal/core/version.rb +1 -1
- data/lib/v1/customer_disputes/dispute_accept_claim_request.rb +35 -0
- data/lib/v1/customer_disputes/dispute_adjudicate_request.rb +35 -0
- data/lib/v1/customer_disputes/dispute_appeal_request.rb +35 -0
- data/lib/v1/customer_disputes/dispute_get_request.rb +31 -0
- data/lib/v1/customer_disputes/dispute_list_request.rb +59 -0
- data/lib/v1/customer_disputes/dispute_provide_evidence_request.rb +35 -0
- data/lib/v1/customer_disputes/dispute_require_evidence_request.rb +35 -0
- data/lib/v1/payments/authorization_capture_request.rb +3 -3
- data/lib/v1/payments/authorization_get_request.rb +3 -3
- data/lib/v1/payments/authorization_reauthorize_request.rb +3 -3
- data/lib/v1/payments/authorization_void_request.rb +7 -3
- data/lib/v1/payments/capture_get_request.rb +3 -3
- data/lib/v1/payments/capture_refund_request.rb +7 -3
- data/lib/v1/payments/order_authorize_request.rb +3 -3
- data/lib/v1/payments/order_capture_request.rb +3 -3
- data/lib/v1/payments/order_get_request.rb +3 -3
- data/lib/v1/payments/order_void_request.rb +7 -3
- data/lib/v1/payments/payment_create_request.rb +8 -4
- data/lib/v1/payments/payment_execute_request.rb +11 -3
- data/lib/v1/payments/payment_get_request.rb +3 -3
- data/lib/v1/payments/payment_list_request.rb +3 -3
- data/lib/v1/payments/payment_update_request.rb +4 -4
- data/lib/v1/payments/refund_get_request.rb +3 -3
- data/lib/v1/payments/sale_get_request.rb +3 -3
- data/lib/v1/payments/sale_refund_request.rb +8 -4
- data/spec/integration/v1/billing_agreements/agreement_create_spec.rb +7 -1
- data/spec/integration/v1/customer_disputes/dispute_accept_claim_spec.rb +26 -0
- data/spec/integration/v1/customer_disputes/dispute_adjudicate_spec.rb +24 -0
- data/spec/integration/v1/customer_disputes/dispute_appeal_spec.rb +33 -0
- data/spec/integration/v1/customer_disputes/dispute_get_spec.rb +19 -0
- data/spec/integration/v1/customer_disputes/dispute_list_spec.rb +17 -0
- data/spec/integration/v1/customer_disputes/dispute_provide_evidence_spec.rb +32 -0
- data/spec/integration/v1/customer_disputes/dispute_require_evidence_spec.rb +24 -0
- data/spec/integration/v1/customer_disputes/test_image.png +0 -0
- data/spec/integration/v1/payments/payments_helper.rb +7 -1
- data/spec/integration/v1/webhooks/webhook_helper.rb +0 -1
- data/spec/log/http.log +0 -0
- data/spec/log/rest_http.log +0 -0
- data/spec/spec_helper.rb +3 -0
- data/spec/unit/paypal_http_client_spec.rb +8 -0
- metadata +33 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 427c6d4722666af759f0fdef08ffdf13c744ddfd
|
4
|
+
data.tar.gz: 568acf30041cb766248d7eb5f07be36c33d68493
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 508242f3d5d765639f856e0c44eeea940e125bf290369a6ffbdf46a5b8f56a59b81e87d6f5734237b462b7a29de81bad9e9e876538e52b6ef4e92f7d134dcb19
|
7
|
+
data.tar.gz: b2fd4bb56102bdcdb8f74202ff25d50ff2c7c5a243c112525883e12dc36b68054d448d866f98743403b61d9305ff7f33cdf3a85afee5ca5ff1339e18ff1009dd
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,13 @@
|
|
1
|
-
# PayPal SDK 2.0
|
1
|
+
# PayPal SDK 2.0-beta [![Build Status](https://travis-ci.org/paypal/PayPal-Ruby-SDK.svg?branch=2.0-beta)](https://travis-ci.org/paypal/PayPal-Ruby-SDK)
|
2
2
|
|
3
3
|
This is a preview of how PayPal SDKs will look in the next major version. We've simplified the interface to only provide HTTPRequest that can easily be called via our HttpClient.
|
4
4
|
|
5
|
+
## What's New
|
6
|
+
|
7
|
+
Please see the [CHANGELOG.md](./CHANGELOG.md) for the latest changes.
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
5
11
|
### Creating a Payment
|
6
12
|
|
7
13
|
```ruby
|
@@ -17,7 +23,7 @@ payment = {
|
|
17
23
|
:transactions => [
|
18
24
|
:amount => {
|
19
25
|
:currency => "USD",
|
20
|
-
:
|
26
|
+
:total => "10"
|
21
27
|
}
|
22
28
|
],
|
23
29
|
:redirect_urls => {
|
@@ -25,7 +31,7 @@ payment = {
|
|
25
31
|
:return_url => "http://example.com/return"
|
26
32
|
},
|
27
33
|
:payer => {
|
28
|
-
:payment_method
|
34
|
+
:payment_method => "paypal"
|
29
35
|
}
|
30
36
|
}
|
31
37
|
|
@@ -47,7 +53,7 @@ If you're migrating from v1, check out our [Migration Guide](./docs/Migrating.md
|
|
47
53
|
|
48
54
|
## Building
|
49
55
|
|
50
|
-
To try this out, update the version of `paypalrestsdk` in your `Gemfile` to `2.0.0.
|
56
|
+
To try this out, update the version of `paypalrestsdk` in your `Gemfile` to `2.0.0.rc2`.
|
51
57
|
|
52
58
|
Please feel free to create an issue in this repo with any feedback, questions, or concerns you have.
|
53
59
|
|
data/lib/lib.rb
CHANGED
@@ -18,6 +18,13 @@ require_relative './v1/billing_plans/plan_create_request'
|
|
18
18
|
require_relative './v1/billing_plans/plan_get_request'
|
19
19
|
require_relative './v1/billing_plans/plan_list_request'
|
20
20
|
require_relative './v1/billing_plans/plan_update_request'
|
21
|
+
require_relative './v1/customer_disputes/dispute_accept_claim_request'
|
22
|
+
require_relative './v1/customer_disputes/dispute_adjudicate_request'
|
23
|
+
require_relative './v1/customer_disputes/dispute_appeal_request'
|
24
|
+
require_relative './v1/customer_disputes/dispute_get_request'
|
25
|
+
require_relative './v1/customer_disputes/dispute_list_request'
|
26
|
+
require_relative './v1/customer_disputes/dispute_provide_evidence_request'
|
27
|
+
require_relative './v1/customer_disputes/dispute_require_evidence_request'
|
21
28
|
require_relative './v1/identity/userinfo_get_request'
|
22
29
|
require_relative './v1/identity/user_consent'
|
23
30
|
require_relative './v1/invoices/invoice_cancel_request'
|
@@ -0,0 +1 @@
|
|
1
|
+
require_relative './lib'
|
data/lib/paypal/core/version.rb
CHANGED
@@ -0,0 +1,35 @@
|
|
1
|
+
# This class was generated on Sat, 07 Apr 2018 22:26:33 UTC by version 0.1.0-dev+291f3f of Braintree SDK Generator
|
2
|
+
# dispute_accept_claim_request.rb
|
3
|
+
# @version 0.1.0-dev+291f3f
|
4
|
+
# @type request
|
5
|
+
# @data H4sIAAAAAAAC/8xab3PbNtJ//3yKHfWZaTxDkbHdpD2/c5w2SZs0vtjpvfBlpCW5EnEGAQYApaidzNzXuK93n+RmAZASJdlurj5P34mLBYjf7m//ANRvo5+xptHJqBS2aR2lWBTUuHEhUdSjZPScbGFE44RWo5PRqR+0gODHYaYNIMSpCeQrePU8hU5LCsyFFG4V9fycBJaVKCoopLZkwVXUzQeh/GPRWqdrMv/+578szHChTQrnuDpHCYZmrSot1FrRCpwe6MPM6NpLajJFhcp9bQGLQrfKpaNk9NeWzOocDdbkyNjRydWHZPSSsCSzLf1Bm3pbdo6uGsh+G12uGjaddUao+SgZ/YJGYC5paNKJKEfJ6CdaRfGOVS8rglfPQc8G1mCbBVM5DcErnQ0ZzakxuAobeJyM3hGWb5VcjU5mKC2x4GMrDJWjE2daSkbnRjdknCA7OlGtlJ8/BB2yLizSownegzPv4Kiyiy1saOK3MzG91hrlDQpbfII4wtTB3m9DxJ1742gpLP0XZoiCTTvc7cEtEGi1ug1kHN/17gYhg1aICD8bVUGd7zusX9v7Qeg9ndwJU6iFFsUOUQfi2ygbFT0ofg5h+kCbV9rRYNtRcKsXWMcC5rp1D++GRhvHACaNtg7lBMvSkLW70G5WXKM15FqjJrYSTSPUfENn1wDdeiCUI6OQh1BCWB3izBTeYGM5BK9Og+QXlKL0ym/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09WHyos0tfWy5uz8Nzt21+O0fWjdW6Ohxb/e0r4W6hs3X7exNCnU9vMnvJFvNiALkLfEJKH4eHRuS6KiEq5enl9+/Pb0AP7XLU9iIrEJHGu3YD2Tb7nh6/xfQlaHZAE0U7NK5/1jj0MzJwft3r1O41FDjNcXvhQEdMziJt/EUv+RzuAf2ukpYuHr/7hVcUt3wjHFoZByVa6Y6raVNBbmZ52nlapmZWfH0ybePD7zVwhmlMTRujC78J6p50p8kfcb6/2kC00fxVmx6MIW+UthwTJ0y1mkXlNe0gs4vjFUrZpjPht4b4W7ImyBg7KLRrvnI4gdqkYNNB67rRbvOe3l5ed65oc8t7gbnPRACQ3LrG6jcX+XZ/GGD/vS/auhOojz5y3fffWXDfcH4m4Mu/1oyC7JcDFHBq+fxHy1+fe/oVmGdi3mrWytXUPqt5LEVsFSjcqKw3Z1GoKHPtj5tvIs7tMOPmL5p472htWKualLOZjx33EHafkw/MYz7zMVnWjlS8T8iI2waKcKNavaP8GeHl841bwJ9Tkbnby8uR+GvMqOTUbY4zLpP6Vn8W4vNflv/LeZztvVvo4tr0fQ7+v5TQ4Wj8sKha+0ZF8uTo8ePP//ffwAAAP//
|
6
|
+
# DO NOT EDIT
|
7
|
+
require 'cgi'
|
8
|
+
|
9
|
+
module PayPal
|
10
|
+
module V1
|
11
|
+
module CustomerDisputes
|
12
|
+
|
13
|
+
#
|
14
|
+
# Accepts a claim for a dispute, by ID. Accepts liability for a claim, which closes the dispute in the customer’s favor. PayPal refunds money to the customer from the merchant's account.
|
15
|
+
#
|
16
|
+
class DisputeAcceptClaimRequest
|
17
|
+
attr_accessor :path, :body, :headers, :verb
|
18
|
+
|
19
|
+
def initialize(dispute_id)
|
20
|
+
@headers = {}
|
21
|
+
@body = nil
|
22
|
+
@verb = "POST"
|
23
|
+
@path = "/v1/customer/disputes/{dispute_id}/accept-claim?"
|
24
|
+
|
25
|
+
@path = @path.gsub("{dispute_id}", CGI::escape(dispute_id.to_s))
|
26
|
+
@headers["Content-Type"] = "application/json"
|
27
|
+
end
|
28
|
+
|
29
|
+
def request_body(acceptClaimRequest)
|
30
|
+
@body = acceptClaimRequest
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# This class was generated on Sat, 07 Apr 2018 22:26:33 UTC by version 0.1.0-dev+291f3f of Braintree SDK Generator
|
2
|
+
# dispute_adjudicate_request.rb
|
3
|
+
# @version 0.1.0-dev+291f3f
|
4
|
+
# @type request
|
5
|
+
# @data H4sIAAAAAAAC/7yWUW/jRBDH3/kUowWJRnLigrjj8Ft0vVMrDhqaHC9RdZnYk3gv9q7ZGTe1qn53tF4nqROgIKp7S8azu//f/MezflC/YkkqUZnmqhYaYfa5znSKQipSF8Sp05Voa1SipiRSEANClxzBsoGriwi0AdKSkwPJCZZ1Q+5bBuuAqSja3yu8s26kIvVbTa6ZoMOShByrZH4bqUvCjNxx9L115XFsgpL3Yg9q1lQegMVps1aR+h2dxmVBfbBPOlOR+pmaLnxCN8sJri7ArlqGbhWIBW6xvfaxc9iE484jdUOYXZuiUckKCyYf+KPWjjKViKspUhNnK3KiiVVi6qJ4vA05xBI22Wsf74sOXcIpx9JmTY+gC/QpxuDCBl75wcuDZ//Fq3/N2wWeAj9vzF6dtuaTrSW1JfUA/ybh1Lbu2c67p+v+L0bw7dFncWUN05Fz03rJvuBGYJz6A/kU9J/77skOGHZ4udJ/0GYDT4870VZos+GewF3kqK8MoJfka9x12NBRgUIZzC/Hs3fX4ym0S2/P4symHGOl4xyFLPKwfRAPjsBev3xP5Y5WPZoucNozqS2rgvwbjm5NAh9vPoxgZqHEDbVdtKNLsSgin77UJjwpSXKbwVZLDpJrhvnHmyuYUVn5FcOVdSWKUHZ7lotUnMSxWFvwSJOsRtat41zKInar9PWrH88HbdVG8N46qBwNK2dTYtZm7cdqWtRZOHTxzSKCxdkiAjQZLAYLSHN0mPoxOAJPtPCsC9Dc5m+ogZ0vntUa32GSowSbAPclCIyBB4EP/ejDL/ICRc8aF2ras24fOjXvcjab7Gxw3el+4P2leV+IwFHRkx/+n2qf+/IHgdoakKaiZxvl1U9v3nzN1I6H4Q+DCLa5TnNgcnf+PmZA4++ulXWArb3B6NpgudTr2tZcNJC1UpYU+oOpRCM65d3UDG04JYJ5OzZuOoV8ULfdbkcaDbbakFmvTUlGOPZrhzuk47+je48xeKFJ7GfxW2uETHeJKqyqopv28Wduh9ylSPVLaJ9ETa6nMxW+HFSi4rvv4rRmsSW5uLsTOX44fCU8xr1PoOlGV3s97+4rSoWyqaDU/NZmpJLvz88fv/oTAAD//w==
|
6
|
+
# DO NOT EDIT
|
7
|
+
require 'cgi'
|
8
|
+
|
9
|
+
module PayPal
|
10
|
+
module V1
|
11
|
+
module CustomerDisputes
|
12
|
+
|
13
|
+
#
|
14
|
+
# Settles a dispute, by ID, in either the buyer's or seller's favor.
|
15
|
+
#
|
16
|
+
class DisputeAdjudicateRequest
|
17
|
+
attr_accessor :path, :body, :headers, :verb
|
18
|
+
|
19
|
+
def initialize(dispute_id)
|
20
|
+
@headers = {}
|
21
|
+
@body = nil
|
22
|
+
@verb = "POST"
|
23
|
+
@path = "/v1/customer/disputes/{dispute_id}/adjudicate?"
|
24
|
+
|
25
|
+
@path = @path.gsub("{dispute_id}", CGI::escape(dispute_id.to_s))
|
26
|
+
@headers["Content-Type"] = "application/json"
|
27
|
+
end
|
28
|
+
|
29
|
+
def request_body(body)
|
30
|
+
@body = body
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# This class was generated on Sat, 07 Apr 2018 22:26:33 UTC by version 0.1.0-dev+291f3f of Braintree SDK Generator
|
2
|
+
# dispute_appeal_request.rb
|
3
|
+
# @version 0.1.0-dev+291f3f
|
4
|
+
# @type request
|
5
|
+
# @data H4sIAAAAAAAC/8xYW3PbthJ+P79iB+c8xDO06HN8kiaa6YMndsZq01i1l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YkXbBsrVcgnPDTWes8N3lasDVqS3TQLWWCXO1vGEme4z3t9KOJqWizJeodqe7WRuGoMmv9xnS35XrfxLvvnj2FoaM31+/tY2o83PMmMG84XsgXb39AxQaxTTWb6eWhpUdaasKbDekTxR1G6r+QLO1DWFOzuvPx3o9EUg3C3Z7kWDp6101PJOc61N1JbJUvdmqMQ1j6ZfqeDaJh4lIWWI7WdhkaDJU9TQZhjFMOw9EXu1KbWSOqtUudp3CV9/McLv9Dve1kOtwW9CbVWflUlsewsCZEx89jOPj83VrBy9f+nDNxlsm7qH9ugE2d23SAVhbHjt8XeKamrzp3MHcPtt3ZXP07c/aTOGqwyYYhuWayLzgaBAMVWu0Petbd5mV03t/d1WzSyjnkXVfMoGh6Ewm20fLzfvrCcwxL+wTx74PMZh+dXB98fy7kyMXtRG8kQoKhceFkomdGMXajsYJL1P/0sV/FhEsni0iNx4vjhaQZNSOsqj0yM2cC8t1Yc9963+PFdR5sVylsBXmOgOXDaBNCDxHz4faL6muR2t+Iq3xMe2krjENk3c5n0/rNDTjvdmTvCdioJD3Ovfd5/uNu2V0AF2vVhX41UJ5/urly+aG4/9HEWwylmSgUT2gdreNwp5l/q7K7e8SXQqaL9m6lKXmFaQOyhJ9fWjMqTAs0bVi+zKcIcKNk43rgFBv0W02mxGjgjpsVGu2Fm68j+2zxzWl/s/RJ0vj6IBa/FoKgyJcG5K85IYVVJk4ZJ1E5NKY4idfP2MyvZrNib8iJWMSP/w3ro+XODSFOv68vQ79EjeX4LN7VjRgLj4VmBhMZ4aaUr+WKZLx/05OvvzrdwAAAP//
|
6
|
+
# DO NOT EDIT
|
7
|
+
require 'cgi'
|
8
|
+
|
9
|
+
module PayPal
|
10
|
+
module V1
|
11
|
+
module CustomerDisputes
|
12
|
+
|
13
|
+
#
|
14
|
+
# Appeals a dispute, by ID. To appeal a dispute, use the <code>appeal</code> link in the <a href="/docs/api/hateoas-links/">HATEOAS links</a> from the show dispute details response. If this link does not appear, you cannot appeal the dispute. Submit new evidence as a document or notes in the JSON request body.
|
15
|
+
#
|
16
|
+
class DisputeAppealRequest
|
17
|
+
attr_accessor :path, :body, :headers, :verb
|
18
|
+
|
19
|
+
def initialize(dispute_id)
|
20
|
+
@headers = {}
|
21
|
+
@body = nil
|
22
|
+
@verb = "POST"
|
23
|
+
@path = "/v1/customer/disputes/{dispute_id}/appeal?"
|
24
|
+
|
25
|
+
@path = @path.gsub("{dispute_id}", CGI::escape(dispute_id.to_s))
|
26
|
+
@headers["Content-Type"] = "multipart/form-data"
|
27
|
+
end
|
28
|
+
|
29
|
+
def request_body(evidence)
|
30
|
+
@body = evidence
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# This class was generated on Sat, 07 Apr 2018 22:26:33 UTC by version 0.1.0-dev+291f3f of Braintree SDK Generator
|
2
|
+
# dispute_get_request.rb
|
3
|
+
# @version 0.1.0-dev+291f3f
|
4
|
+
# @type request
|
5
|
+
# @data H4sIAAAAAAAC/+xce2/jtpb/fz8FoS6wHcCP6Uxn2gZYYD22ptGuY3tlJ8UgHTi0dGyxkUiVpOJxi373Cz4kS7IVx0ma297rfwaTQ0o8L/54HrR+d0Y4AefMCYlIMwmdFUin5QxABJykkjDqnDnTiK0FCkFiEgu0ZBxhZOe30GKDvEHn5+z167fBImbB7a8Zk6D/Nv8GQnJGV4YyYhLODLlbpqNZBGhJIA4FkhGWCKcpYI4IRTICxEGkjApAIaRAQ8QoWkcgI+BowzKEgwCEepAIFOA4RjLiLFtFaEm4kG3EuBrjYTvFXG7s9A76yDiCLzhJY2ghstQrJcCDCFOJhBHaiFkIn79493Ut/XiQCckS4P8lECSYxMgboJCBQJTlMllddevKclrO/2fANxPMcQISuHDOrj+3nHPAIfA69SPjSZ02wTKq0H53ZptUWVdITujKaTlXmBO8iKFq9TkJnZbzf7Cx5B0PUNbxBogZHeVKUZ6wjkgQIcm0vnI1dZyW0+Mcb8zyr1uODz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4tM377Ke1ACuEopscol8yAZa/MaQ2cUJwuyylgm4k1RYhT2AE8wlSQQedBq3HAKgK41bPiWQ1HryWCKNW9YqDRDYaToqmfbuUj1Pztfju/TPCxvFwKvYJ8v6QFR86aC2Ixs+aRy35oJub2jVJSn1CZsCPP/BFhTiT/UGtZbWvPdRv37/JzNthXFPvhSLR696HyxqXZ1StRm9svc6yqKlcCAsDbVSyUfJIG5Wb2adVTopyuNf90rjWXkGC+X++7cM0su/dzIUvYVt6pFVF2/U7NtwQbpW7ymi6Iyb6WSlAnYlgdf6peY5jqxjdkg3Hf3pXHK6Q7M6Q7M6Q7Mv8sdmM+nKwSnKwSnKwSnKwSnKwSnKwSnKwRPThptzy3/wt48zGCu8px9jbl9k07p5N/5F3J7epT39CXNUP1LQ4+LjsYTd98RNU6BHociP/W8mcLbj2PffvvCd6eT8WjqHvgKQalFZSC3+MrkkrPkCcdxmSP7HYznY6mo5x0ZPw00F1ee+9NhHjIa6ujujsD6cR/eOLzG4z6Z0XRk9Kg5ug2cvkAD6/DWytJw7w+Mq/QTfP6lq3FO39Shra1xakJlde7/YvLJcynTC9MEOnN+dGeO+Q6rc+Z0774pooJuERX8vv2S2x9Oy5nekrTgwP2SQiAhnGqc7bMQnLM3r1//8R//AAAA//8=
|
6
|
+
# DO NOT EDIT
|
7
|
+
require 'cgi'
|
8
|
+
|
9
|
+
module PayPal
|
10
|
+
module V1
|
11
|
+
module CustomerDisputes
|
12
|
+
|
13
|
+
#
|
14
|
+
# Shows details for a dispute, by ID.<blockquote><strong>Note:</strong> The fields that appear in the response depend on whether you access this call through first- or third-party access. For example, if the merchant shows dispute details through third-party access, the customer's email ID does not appear.</blockquote>
|
15
|
+
#
|
16
|
+
class DisputeGetRequest
|
17
|
+
attr_accessor :path, :body, :headers, :verb
|
18
|
+
|
19
|
+
def initialize(dispute_id)
|
20
|
+
@headers = {}
|
21
|
+
@body = nil
|
22
|
+
@verb = "GET"
|
23
|
+
@path = "/v1/customer/disputes/{dispute_id}?"
|
24
|
+
|
25
|
+
@path = @path.gsub("{dispute_id}", CGI::escape(dispute_id.to_s))
|
26
|
+
@headers["Content-Type"] = "application/json"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# This class was generated on Sat, 07 Apr 2018 22:26:33 UTC by version 0.1.0-dev+291f3f of Braintree SDK Generator
|
2
|
+
# dispute_list_request.rb
|
3
|
+
# @version 0.1.0-dev+291f3f
|
4
|
+
# @type request
|
5
|
+
# @data H4sIAAAAAAAC/+w9/XPbtpK/31+B0buZazz6SJsmr88zb+YUial5J0s6SXYn52YkiFyJeCYBFgDtqG/6v9/ggxRJibLkKL62jz/FWoDA7mKx2C8g/2wMcQSNy4ZPRJxIaIdEyEaz0QfhcRJLwmjjsjEgQgpku4g2mjG0IqEEjmQAGRwRqn9zEDGjAppIxOCR1QYxCohxFDEOiOlBcYh+SYBvUIw5jkACN8OGJCJSj0KTaAkcsdUR4yvoz8nr1288j/mg/4IYr2EuyK/mp9fZtpRnbjeajf9RoHGGS+Py7p+N2SZWnBGSE7puNBu3mBO8DKHIsbmQWEKj2fhv2NiWHf590MwSRW7JAEuEuaJHJpyCX6YPLTcIIz28QrHLOd4YnF43GxPA/oiGm8blCocCFOCXhHDwM8CYsxi4JCAalzQJw9+ax5LkzyXHVGBPoT8n/jOI20tKbtSmgrj9F6KLwmc51wIh2T3Qw/TMAkC6m1khXzcuwRCoRkJqJCWYHEQSSoEkQyuQXtBGs4AI+7HHIhBoxVlU5ARbIUyZDICj7thFHg7DNnJXaMMSxIzwE7EVzqb+WvU0YmLQWBEutnj4WOIzc5JQCWvgu6zMttVhJg7UPhZHbmTFQE31Aw6Tl5J1ITGXc0kiOJd4exyw+kitByBMfaRGV0IBSM+mf6MoERItAT0SGdhxQiwk+vaH18jHG9FGt4oNiOhp7lwqgVOQxVHRivEIy0/fBFLG4rLTkYyFok1ArtqMrzuBjMIOX3lv3rz5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
module PayPal
|
10
|
+
module V1
|
11
|
+
module CustomerDisputes
|
12
|
+
|
13
|
+
#
|
14
|
+
# Lists disputes. To filter the disputes in the response, specify one or more optional query parameters. To limit the number of disputes in the response, specify the <code>page_size</code> query parameter.
|
15
|
+
#
|
16
|
+
class DisputeListRequest
|
17
|
+
attr_accessor :path, :body, :headers, :verb
|
18
|
+
|
19
|
+
def initialize()
|
20
|
+
@headers = {}
|
21
|
+
@body = nil
|
22
|
+
@verb = "GET"
|
23
|
+
@path = "/v1/customer/disputes?"
|
24
|
+
@headers["Content-Type"] = "application/json"
|
25
|
+
end
|
26
|
+
|
27
|
+
def dispute_state(dispute_state)
|
28
|
+
param = dispute_state.to_s
|
29
|
+
@path += "dispute_state=#{CGI::escape(param)}&"
|
30
|
+
end
|
31
|
+
|
32
|
+
def disputed_transaction_id(disputed_transaction_id)
|
33
|
+
param = disputed_transaction_id.to_s
|
34
|
+
@path += "disputed_transaction_id=#{CGI::escape(param)}&"
|
35
|
+
end
|
36
|
+
|
37
|
+
def next_page_token(next_page_token)
|
38
|
+
param = next_page_token.to_s
|
39
|
+
@path += "next_page_token=#{CGI::escape(param)}&"
|
40
|
+
end
|
41
|
+
|
42
|
+
def page_size(page_size)
|
43
|
+
param = page_size.to_s
|
44
|
+
@path += "page_size=#{CGI::escape(param)}&"
|
45
|
+
end
|
46
|
+
|
47
|
+
def start_time(start_time)
|
48
|
+
param = start_time.to_s
|
49
|
+
@path += "start_time=#{CGI::escape(param)}&"
|
50
|
+
end
|
51
|
+
|
52
|
+
def total_required(total_required)
|
53
|
+
param = total_required.to_s
|
54
|
+
@path += "total_required=#{CGI::escape(param)}&"
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# This class was generated on Sat, 07 Apr 2018 22:26:33 UTC by version 0.1.0-dev+291f3f of Braintree SDK Generator
|
2
|
+
# dispute_provide_evidence_request.rb
|
3
|
+
# @version 0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m7c5SBBc8F2ZYVmzRiYPKY375rPC+on6aems1dRX6Zde6VVr4Uqdumb188UPvoM5aF47qjYSdytkMiZRZJfdLh53Ov5knMH82j9NufjCHrJBOZnzn4oaYM9c5KKr1r3ENbV2YqzXcYb6QPpaJx3mTgsgx8pF8o9p+ZPG/bcb6SiVfLVzM6U7p7kX7xTuZzcZtGVzjnafBo8X7jxg41Dvhx+/92C84/TFAZU29sL/aKC9+fPXq/4T1eOh8f9A+TAjdDW97Xvg8KOOWrvHrQgcjy4VaBRtIryGvQ1lg7A/CUhqvMmrHa2zDKSJc1GNj0kRIm+hub2+7ShpZxyaJ1Mrwy4NStu20lB5+dj8yjYMnKcPl3eVdIt5Y49E041mUQXtVSefTpuoiESfeV+9i//TF+Hw6E3FPib5Ib56n7dM0bR+g6afNTrpLH3mCT69VdR/W8GOFmcd8Wj8439gcRf/bXu/uf38CAAD//w==
|
6
|
+
# DO NOT EDIT
|
7
|
+
require 'cgi'
|
8
|
+
|
9
|
+
module PayPal
|
10
|
+
module V1
|
11
|
+
module CustomerDisputes
|
12
|
+
|
13
|
+
#
|
14
|
+
# Provides evidence for a dispute, by ID. A merchant can provide evidence for disputes with the <code>WAITING_FOR_SELLER_RESPONSE</code> status while customers can provide evidence for disputes with the <code>WAITING_FOR_BUYER_RESPONSE</code> status. Evidence can be a proof of delivery or proof of refund document or notes, which can include logs. A proof of delivery document includes a tracking number while a proof of refund document includes a refund ID. The following rules apply to document file types and sizes:<ul><li>The seller can upload up to 10 MB of files for a case.</li><li>Individual files must be smaller than 5 MB.</li><li>The supported file formats are JPG, GIF, PNG, and PDF.</li></ul><br/>To make this request, specify the dispute ID in the URI and specify the evidence in the JSON request body.
|
15
|
+
#
|
16
|
+
class DisputeProvideEvidenceRequest
|
17
|
+
attr_accessor :path, :body, :headers, :verb
|
18
|
+
|
19
|
+
def initialize(dispute_id)
|
20
|
+
@headers = {}
|
21
|
+
@body = nil
|
22
|
+
@verb = "POST"
|
23
|
+
@path = "/v1/customer/disputes/{dispute_id}/provide-evidence?"
|
24
|
+
|
25
|
+
@path = @path.gsub("{dispute_id}", CGI::escape(dispute_id.to_s))
|
26
|
+
@headers["Content-Type"] = "multipart/form-data"
|
27
|
+
end
|
28
|
+
|
29
|
+
def request_body(evidence)
|
30
|
+
@body = evidence
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# This class was generated on Sat, 07 Apr 2018 22:26:33 UTC by version 0.1.0-dev+291f3f of Braintree SDK Generator
|
2
|
+
# dispute_require_evidence_request.rb
|
3
|
+
# @version 0.1.0-dev+291f3f
|
4
|
+
# @type request
|
5
|
+
# @data H4sIAAAAAAAC/+RW32/jNgx+319BaHtoASfuht3tlresTddgXZsl6Q1DUdSKzcRabckT6faMov/7IMnO5UdxvWHdXu7RNEV+H/mR0qO4kCWKgcgUVTVj3+JftbLYw3uVoU5RROIEKbWqYmW0GIirKpOMBJwjEEtGMEuQ0J6PYNHA+CQCNoCKc7SQ/D4cz8cXP9+eXk5vf7r6YzS9nY5mk8uL2SgBs/N/Njo/33TowzxX1CZKc6lXCKjlokDq4jsgi7pB64IRFoWzGaB6USqGjgcsTXDtiMJ46b8TmTpmCSiCJMAbvR+fjC6OR0kUPHz2BOqOufkkp3XkENjHjVpe/zDyXjVEJH6r0TYTaWWJjJbE4PomEmcoM7S71lNjy13bRHK+ZXsU86ZyCiC2Sq9EJN5Lq1yFt5VxqzIRiV+wac17wpjnCOMTp4aNMgPnkqEVFa274YgMrZVNyH0UiSnK7FIXjRgsZUHoDP5MJgZsa4zExJoKLSskMdB1UTzdBB8kDkHWRNqTMOpa37rtU1uYrNki1Rq2iQ09fiR2/Qmt+gLVv9PX/24YPjPRc7Px2ZJqDZuaenkQAoUtvaxN+6PQEmYDqSmrAhn/LcKg+ifnRZXRhDu6n9ULckLVDEOfnPY5fHqENyIE+PR6VT1X+g420+1hK5S+oy2AnWVnHjVIB8kppZ3MnsVCMmZwfTacjy6HM/BHbw7izKQUy0rFuWQ0knr+R3y4Q+zt68slt7jcYtMa9qXSCQRY2hUyXE3P+zA3UMq7sGk6dqksisi5L5QOf0rk3GTwoDgHdrvi+mo6hjmWlTvRWxpbSmbMbg5y5ooGcczGFNRXyMu+sas457KI7TJ9++aHo0NftT6cGguVxV5lTYpESq8iUDot6iwkTb5JIkgOkgikziA5TNxusjJ1N4pbWQiJ4+qXivO/wwa6vjiuRjuF+ZvBdwPkugSBY+Aj3Rbr9OjMrzJA0YuNCzXdat3atN+8s/l80rWhvecyN/XPNu9/YmCx2IIfvvexX7vyB4B+VzUVviiUNz++e/c1oV8Pve8PI3jIVZoDob1HAkkgtXsGuAtH+vaGRtdalgu1qk1NRQOZh7LonpFYSs0qpW73BxnOEOHar41pi5A+ont4eOgrqaXHJonUSpeomWJ3ttdR2v3sf3A0Dl9pE7tdfGw0o26fIEJWVaFSnyv+k/ySO2Oufg3yGYjJ5WwuwiNMDER8/22c1sSmRBu39x3Fjx8fXE/xM8/x2Z2q1qhGHypMGbMZS67p2GQoBt8dHT199TcAAAD//w==
|
6
|
+
# DO NOT EDIT
|
7
|
+
require 'cgi'
|
8
|
+
|
9
|
+
module PayPal
|
10
|
+
module V1
|
11
|
+
module CustomerDisputes
|
12
|
+
|
13
|
+
#
|
14
|
+
# Updates the state of a dispute, by ID, to either `WAITING_FOR_BUYER_RESPONSE` or `WAITING_FOR_SELLER_RESPONSE`. This state change enables either the buyer or seller to submit evidence for the dispute. If the `action` is `BUYER_EVIDENCE`, the `state` updates to `WAITING_FOR_BUYER_RESPONSE`. If the action is `,SELLER_EVIDENCE`, the `state` updates to `WAITING_FOR_SELLER_RESPONSE`.
|
15
|
+
#
|
16
|
+
class DisputeRequireEvidenceRequest
|
17
|
+
attr_accessor :path, :body, :headers, :verb
|
18
|
+
|
19
|
+
def initialize(dispute_id)
|
20
|
+
@headers = {}
|
21
|
+
@body = nil
|
22
|
+
@verb = "POST"
|
23
|
+
@path = "/v1/customer/disputes/{dispute_id}/require-evidence?"
|
24
|
+
|
25
|
+
@path = @path.gsub("{dispute_id}", CGI::escape(dispute_id.to_s))
|
26
|
+
@headers["Content-Type"] = "application/json"
|
27
|
+
end
|
28
|
+
|
29
|
+
def request_body(body)
|
30
|
+
@body = body
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -1,8 +1,8 @@
|
|
1
|
-
# This class was generated on
|
1
|
+
# This class was generated on Tue, 10 Apr 2018 20:34:52 UTC by version 0.1.0-dev+85d661 of Braintree SDK Generator
|
2
2
|
# authorization_capture_request.rb
|
3
|
-
# @version 0.1.0-dev+
|
3
|
+
# @version 0.1.0-dev+85d661
|
4
4
|
# @type request
|
5
|
-
# @data H4sIAAAAAAAC/+
|
5
|
+
# @data H4sIAAAAAAAC/+xcX4/bNhJ/v09BKPeQDWRp0zRp67dF0iLGtbd7Wbcvewt7LI4tdilSR1L26oJ89wNF0bIs7792awQHPhkcDkXO/IbD4XDgz9E/ocBoHEFlcqnYf8EwKZIMSlMpjOLoA+pMsdJSo3H03tE1AUFJqWSGWjct0hsfk0VNJh8SMs2RSMVWTAAnJdQFCkMy4JwUlTZEl5ixZW3HM2Fsn1ySuf8UzpMojv5VoaovQEGBBpWOxlfXcfQRgaLap/4kVbFPuwCT92ifo2ldWom1UUysojj6DRSDBcdDmpgxGsXRP7BuOwcasRJOPth1mxz7WiBGklaRVpAzpaB2c5/G0ScEei54HY2XwDVawn8qppBGY6MqjKMLJUtUhqGOxqLi/Mu140Ft3Ee2grzfgrUnSYdiJ8BdyFo52j5iFAgNWSMDRQOM6ycJ0BJ2JejUDoWshDmgdk/v1rolDZfqbcmxxGTDTP78a73LRLJKKRRZ3ddsRxyu98rkCnGU5aAgM6jI5PJ89O03r78jfhjJJMXrlymVmU7tblipxopSyhRmJlWoTeqZR5ZZpycJuYD6AjihEjUR0hBdlaVUhtg91nIz1M9hf/EehLNW3UP1dB2ddjraUDlAKbNNK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cat+t8Dm2aQu8UFDefvD999vT6FvT3zMoVGtURNo3qQmH5orCjTwOqArAcWCrSpZaV4T5xcW6OxDYwHCsEz7E8SZ4SUiufrZfuFTu0LdrW6z2SQMBDRrA63ZSlj/rFM7duRF2m8mt1aM5zk4HxNKlKBQmFl7ePQwGXTdd6T6y6oUrbqbvb77XMQ0WYBGejQLAy3FLJMU9yxtlz4UyfU3Ty7OLjpL2OQueN6VShsbKNnjFwW1x1UTUa9RHU/SZgn9q3pLufsdr+FIyG/AK7v6e+Nw17IKce1W0jb07ejOsfoZOpXcH3Pvf33rZx/4fg6a6Cqz7n9ZcV53Dvpp87kLzYPTbUATN48f8LRpSlCGAef17AkTbgf9wUkpCnZwojbDZHVIMeNMuBOhPU4He/eouYmdx9L9m3C3osHTzrDvgPH791QbFOwkquA5LwKPfyIe+qb/m3fiP+7M1tYj9ZTiKQceh927L5n4dGJzVDeFIwypvyXJZf9O7+/z2u5JMFJtk5VXd2nUH+kokg27YSVS5o5120onl+czO+rFWWbYGhtY9UlypFxAVdKDuYA+/aFcwCZH0caCWlYqc/6HgzbEfYh+vfmB6y+WS5dSaHxs/cvDlTuh4iVUvISKl1DxEipewlNsqHgJFS+h4iVUvISKl1DxEipeQsVLQCRUvISKl1DxEipeQsVLqHgJFS+h4iVUvISKl1DxEipeQsVLqHgJFS+h4iVUvISKl1Dx8ldWvLyXzd/i+CqEsuT2emlt/3ct7e31ozHlLy5GHkcX55fTyP3lTTSO0vXrtA1fdNr7Y5r08/5/3HxJuxvt5Q0rt6v68bbEzCC9NGAq/d7u7PE3p6+//O1/AAAA//8=
|
6
6
|
# DO NOT EDIT
|
7
7
|
require 'cgi'
|
8
8
|
|
@@ -1,8 +1,8 @@
|
|
1
|
-
# This class was generated on
|
1
|
+
# This class was generated on Tue, 10 Apr 2018 20:34:52 UTC by version 0.1.0-dev+85d661 of Braintree SDK Generator
|
2
2
|
# authorization_get_request.rb
|
3
|
-
# @version 0.1.0-dev+
|
3
|
+
# @version 0.1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lfcNjyxp5gIncUFVlQHBKmnuviHJNSq9M5XEqFBE2FVKY+HOsU9uc4R2UaIObS5YMT+NpPJVY3m9znSroq4HyR19CWQNr/kZUEG5758DdmmyeUY33oc36V9wH86JtTj3tv+JS/GtLQLhjE5yYVhzqNykP1JReJsxhfrb1c/Np17wVgqDwpT/rpBlvOhzwj/8fPCdMdmpvyI4DH47Hgf+n4eCwyBcvArLrBM2RA//av+30KegF4w+sqxi5vg2c3lt5Non2/oHhz8cHHz6v/8AAAD//w==
|
6
6
|
# DO NOT EDIT
|
7
7
|
require 'cgi'
|
8
8
|
|
@@ -1,8 +1,8 @@
|
|
1
|
-
# This class was generated on
|
1
|
+
# This class was generated on Tue, 10 Apr 2018 20:34:52 UTC by version 0.1.0-dev+85d661 of Braintree SDK Generator
|
2
2
|
# authorization_reauthorize_request.rb
|
3
|
-
# @version 0.1.0-dev+
|
3
|
+
# @version 0.1.0-dev+85d661
|
4
4
|
# @type request
|
5
|
-
# @data H4sIAAAAAAAC/+
|
5
|
+
# @data H4sIAAAAAAAC/+xdUW/bOBJ+v18x8O5hm8Kxm+22u5s3X5NcjWuaXOwE2OsVNi2OLG4pUktSdnyL/vcDSUmWLDtJ29TXA/gUaEjKM/MNhzNDDfJn5y1JsXPcIblJpGL/IYZJ0VNYPmOn2zlBHSmW2ZHOcecKD6tBDQQuyeqScCBRJHNhICOrFIXpwmwFjZfC8KQHYwkodK4QTEIMxLmgGohC0IZxDmRBGCczjl1QtZ8BUr4WSGxQgUkQmGCGEQ4mUYiHlKwgkUIqyFAxSXswyrNMKqNBCr5yK6YktSxOQeEfOWrLqyIpGlQ9+E3mEBGx62fdO6SIEGIlU4hlrsBI+PFXoGSlK662cQKx9AxLxeZMWFU11IK3GVOoezCM4fkz/76ELBAyojVS/4O713dhJXNIc20gUkiM5VrgcuNHmNAGCe3BoCEhrQRkRiOPISG6WL9LrTsUZRQRmkTux7yepII8s0o6OnrxV5BxQwa+Ng6k4HHpgpDGLsDbCC3Vsm1l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AZEzpjQmdM6IwJnTGhMyZ0xoTOmNAZEzpjQmdM6IwJnTGhMyZ0xoTOmNAZEzpjQmdM6IwJnTGhMyZ0xoTOmNAZ83U7Y15JYVCYsl0hy3iR5/R/9/XB18Zk5/6K4LhzeTEad/z/1Okcd/qLo3557PQbsvf/3PwnOh/7zX8zNfrAsoqz09vMHXIjl0u9sqfD8Y/Pjj7+5b8AAAD//w==
|
6
6
|
# DO NOT EDIT
|
7
7
|
require 'cgi'
|
8
8
|
|
@@ -1,8 +1,8 @@
|
|
1
|
-
# This class was generated on
|
1
|
+
# This class was generated on Tue, 10 Apr 2018 20:34:52 UTC by version 0.1.0-dev+85d661 of Braintree SDK Generator
|
2
2
|
# authorization_void_request.rb
|
3
|
-
# @version 0.1.0-dev+
|
3
|
+
# @version 0.1.0-dev+85d661
|
4
4
|
# @type request
|
5
|
-
# @data H4sIAAAAAAAC/+
|
5
|
+
# @data H4sIAAAAAAAC/+xbb3PbNtJ//3yKHfWZaZyRRKdp09bvdLF90Vyc+CzFM71cRoKIpYgGBFgAlKJ28t1vFiApUZRsJ3F0uRm/8nAB0Lv72/+g/uq8Yhl2TjqscKk24k/mhFb9hRa80+2coo2NyInUOelca8FtF7SBmKkYpe0CU9A42IXZCoanffhNF7RLaQf0LmCQFFKuIGa5Kwzy5rF+p9v5Z4FmdckMy9ChsZ2Tt++6nRfIOJoG9a/OeJUTx9YZoeadbueaGcFmEktJcrbKmewZ/KNA63pekH/gqly9ZKtLJntX5eqwLeY4RbBoFmjAOm3QwntcWUi0gafHwNnKErsDY9gqcHLc7Vwh46+VXHVOEiYtEuGPQhjkNeHS6ByNE2g7J6qQ8uO7budcm2xb4kvm0k+Tt6HJyZa4O6UbnoJOwKXYRAGc9mB9knjOFHukK1UcXkJEItlcK4uBVkvW4KIt4O0CNcXg6JiQX4zSWvMs04VyOzRf0dfs1aQ2kzlbZagchC1dWAqXfhavbZXfbiRxYQyqeNVgdoPYZvetSw1iL06ZYbFDA8PR696PPzz5Gapj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6PpyMDryma+wh6u6jHahQJ2gFHMxE1K41XY+272lLbgkx6RKxaKUSJ1RdRTK2Xed9Tey/WYSu8MdHVwzWSCIm6fb4YmsIzyfvRz+ffi3l2flRHm90IeLKt+ECzLiGDnMViUT31sYBXEu1+JcainicL//RlV+iZyO+Bzk270hxZ1X2sEVxigWyG8ej2+zfDm4Gg8HL1/+Nvl6zLdYhH0ShV63nM2GmeR0t2n4GdT002QdvrqjjEq7DTkLxctrhH1SfhP3fjfo6Q6utn+mRwuf4W71FHy7ZNz576eNW+NphdOULGXattHpJ7pzAGRmok186sfAqg2DdQMz7dK6E5JSL5HDgsKBveU9nxUzhuOzi8mr1+PJ1dnzs+H12elNjhgM0PoLi7WBsjmjRgViyUQWClZ/H+/t2HxWWHjzavBm/OL11fBfZ6eTy8FvF2evxvfCWLHp9nUx/S34z0bjt1V5bNLb/vFp7eahZIlR5G77jqFB3iWJX4bhaV0scSoiElEOhuqGsLJ0ePKs5y9bQRUZGhHX3jc8JdLMB07mg6qpAgIpae6/ISksGnswlSRoUMXYVkpj4caxT0E5wvoosQltoUQ5P421CVVjdb0u7PbvBjaC5IG+BCLDa34GVFJu+3HAIU22yPnO+/Am/QvuwyUji/Nv+5+4FN/bIjAp+KRQTjSHyk36ZyoKP+TCoP129fPuY7fzXCuHylU/V8hzWfY50e9hPvjCufwiXBGcdC5fj8ad8FuhzkknWjyJqrQTNWSP/tr+cdDHqPxp1+i9yGuWzj7kPruNfBP1nNLCyQ/Hxx//7z8AAAD//w==
|
6
6
|
# DO NOT EDIT
|
7
7
|
require 'cgi'
|
8
8
|
|
@@ -25,6 +25,10 @@ module PayPal
|
|
25
25
|
@path = @path.gsub("{authorization_id}", CGI::escape(authorization_id.to_s))
|
26
26
|
@headers["Content-Type"] = "application/json"
|
27
27
|
end
|
28
|
+
|
29
|
+
def paypal_request_id(paypal_request_id)
|
30
|
+
@headers["PayPal-Request-Id"] = paypal_request_id
|
31
|
+
end
|
28
32
|
end
|
29
33
|
end
|
30
34
|
end
|
@@ -1,8 +1,8 @@
|
|
1
|
-
# This class was generated on
|
1
|
+
# This class was generated on Tue, 10 Apr 2018 20:34:52 UTC by version 0.1.0-dev+85d661 of Braintree SDK Generator
|
2
2
|
# capture_get_request.rb
|
3
|
-
# @version 0.1.0-dev+
|
3
|
+
# @version 0.1.0-dev+85d661
|
4
4
|
# @type request
|
5
|
-
# @data H4sIAAAAAAAC/+xa33PbNvJ///
|
5
|
+
# @data H4sIAAAAAAAC/+xa33PbNvJ///4VO8z3Ic7QpNM0aas3T5JePNdefLHbF59HXhErETUI8IClZE0m//sNCEISRflHUp+mc+MnDRcLYD/4ALuLhT4n/8CKklFSYM2NpWxGnKTJO3KFlTVLo5NRclaahQNBjFI5mBoLCJ2+gBqXFWlOYbKEk3dZkib/bMguT9FiRUzWJaOLyzT5QCjIbkt/Nrbalp0ilz3Z5+R8WXsbHVupZ0ma/I5W4kRR3/axFEma/J2WnXiA47wkOHkHZgpc0gBBC2xRyqIENuBKs4iQPahja3EZ7DhKk0+E4qNWy2Q0ReXIC/7dSEsiGbFtKE1OranJsiSXjHSj1JfLoEOOwyBe6EWuNtpRkK2Avg2mDZHej69DBWxROyx8yzfB6ASbONZEYGUazUPzVvK1kSvR0NS47kElhYXk8vFtvXXTNNaSLpY9azeEQ3svuLREh0WJFgsmCydnHw+//+7lDxC7QWEEXT7PhSlcLjXTzKIfIBfSUsG5Jcd5VD70yi4/yOAUl6eoQBhyoA2Da+raWAZUKg4t6VF2YbpF4bhb7uHyrBvWq7OWDRcHhZD+0+PoHAVOTMPtUesz/d/ndianPF5YrHvmb0qHAHwr+FaYEmXwK97IqqlAkZ5xCdLByyNYUe/SzlNIXahGkBv9qzk6elU0qv2l8KVk+DqjOWkQcibZwYSmxp/PkkBQIStUUBupOQt98tipP8T5V6ovTJwPp36rPnC6PAL4kxRtbbbbeCpRCyX1bDwl6lG11TBkKyo8keVNDv6CRBvCfO/Oo8RzVxGXRoDRapnth1mpXWNRF31aN6VDTletT6T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8nuD2lrQv+q3kluf8drNTL4HVXjrb8zDw9ffkHCd4e0S33X8uBY4wzrJbk7594efeVn7xm/RAeuKbz7nzZKLdcO+uvmCxeae6dboIMwT+zwddPUaFmiUsvxV0y46vSNkwrScudEXYXJr6GgQkkdIkIXTgdnd6+1iY3H0u2b8NqiwdPOsG3H5o/vqT4p2ChU4WNeBB7+RDz0Tf8z78Tf7szm3iP1FiVKdjwOh3dfOInlxDZU11TIqSQRb0lm2r/Tx/u882cS2dhVsfLithWNIZ10tpDXsiYhQ1j3X/nJ2cex7/XsuGA5p5ZWd5DtqRbQ1GJnLaAvv68WsChJd7mgM40tgv9R6BjCQOKvWx+4/JImb41m0hz/hVDXyl8v/d7/wxl/e/3AXP8acuRR8rf350n4R1AySvL5y7zLXlzeed/88/rPP1+SNDm7lvXKgPc3NRVM4oyRG/fWH+LRd0dHX/7vPwAAAP//
|
6
6
|
# DO NOT EDIT
|
7
7
|
require 'cgi'
|
8
8
|
|
@@ -1,8 +1,8 @@
|
|
1
|
-
# This class was generated on
|
1
|
+
# This class was generated on Tue, 10 Apr 2018 20:34:52 UTC by version 0.1.0-dev+85d661 of Braintree SDK Generator
|
2
2
|
# capture_refund_request.rb
|
3
|
-
# @version 0.1.0-dev+
|
3
|
+
# @version 0.1.0-dev+85d661
|
4
4
|
# @type request
|
5
|
-
# @data H4sIAAAAAAAC/+
|
5
|
+
# @data H4sIAAAAAAAC/+xbX2/jNhJ/v08x0N7DZiFL2aa7bf0WdFus79oml6QFDrnAHktjiw1FqiRlR1jsdz9QFG3Lcv5dXSPY01Og4YjmzG9mOPxR+RT8gjkFwyDBwpSKIkWzUqRBGHwgnShWGCZFMAwuarEGhEYxhQKrnIQJYVrB6EMEIwEmI/jH5dkvoOiPkrSBqUyrEJhIeJkSoIAJ5rIUZgJy+jslJgrC4F8lqeocFeZkSOlgeH0TBh8JU1It6afgqirsUrVRTMyDMPgNFcMpp8aEAqsC+aD57QGzVvyTqmb0HKtz5IOLZnTUtfEqI9C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+A/cioKzxMX+7+7M8tGY4md3yB8G52eXV4H7f/ZgGMSLt3Fz/tJxQ8/Hn9Y8/ed49UXm5S0rVgv54a6gxFB6adCU+nubzMOvjt9+/tt/AQAA//8=
|
6
6
|
# DO NOT EDIT
|
7
7
|
require 'cgi'
|
8
8
|
|
@@ -26,6 +26,10 @@ module PayPal
|
|
26
26
|
@headers["Content-Type"] = "application/json"
|
27
27
|
end
|
28
28
|
|
29
|
+
def paypal_request_id(paypal_request_id)
|
30
|
+
@headers["PayPal-Request-Id"] = paypal_request_id
|
31
|
+
end
|
32
|
+
|
29
33
|
def request_body(refundRequest)
|
30
34
|
@body = refundRequest
|
31
35
|
end
|