adyen-ruby-api-library 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +13 -0
- data/.travis.yml +14 -0
- data/Gemfile +12 -0
- data/LICENSE +21 -0
- data/README.md +140 -0
- data/Rakefile +6 -0
- data/adyen-ruby-api-library.gemspec +28 -0
- data/bin/console +13 -0
- data/bin/setup +8 -0
- data/docs/checkout.html +111 -0
- data/docs/index.html +50 -0
- data/docs/install-library.html +61 -0
- data/docs/javascripts/prism.js +5 -0
- data/docs/javascripts/scale.fix.js +17 -0
- data/docs/marketpay.html +169 -0
- data/docs/params.json +1 -0
- data/docs/payment.html +106 -0
- data/docs/payout.html +135 -0
- data/docs/recurring.html +113 -0
- data/docs/stylesheets/github-light.css +115 -0
- data/docs/stylesheets/prism.css +140 -0
- data/docs/stylesheets/styles.css +324 -0
- data/docs/using-library.html +67 -0
- data/lib/adyen-ruby-api-library.rb +21 -0
- data/lib/adyen/client.rb +174 -0
- data/lib/adyen/errors.rb +76 -0
- data/lib/adyen/services/checkout.rb +50 -0
- data/lib/adyen/services/checkout_utility.rb +16 -0
- data/lib/adyen/services/marketpay.rb +92 -0
- data/lib/adyen/services/payments.rb +23 -0
- data/lib/adyen/services/payouts.rb +21 -0
- data/lib/adyen/services/recurring.rb +19 -0
- data/lib/adyen/services/service.rb +19 -0
- data/lib/adyen/version.rb +4 -0
- data/spec/account_spec.rb +27 -0
- data/spec/checkout_spec.rb +94 -0
- data/spec/checkout_utility_spec.rb +27 -0
- data/spec/client_spec.rb +40 -0
- data/spec/fund_spec.rb +19 -0
- data/spec/mocks/requests/Account/close_account.json +3 -0
- data/spec/mocks/requests/Account/close_account_holder.json +3 -0
- data/spec/mocks/requests/Account/create_account.json +3 -0
- data/spec/mocks/requests/Account/create_account_holder.json +15 -0
- data/spec/mocks/requests/Account/delete_bank_accounts.json +6 -0
- data/spec/mocks/requests/Account/delete_shareholders.json +6 -0
- data/spec/mocks/requests/Account/get_account_holder.json +3 -0
- data/spec/mocks/requests/Account/get_uploaded_documents.json +4 -0
- data/spec/mocks/requests/Account/suspend_account_holder.json +3 -0
- data/spec/mocks/requests/Account/un_suspend_account_holder.json +3 -0
- data/spec/mocks/requests/Account/update_account.json +7 -0
- data/spec/mocks/requests/Account/update_account_holder.json +33 -0
- data/spec/mocks/requests/Account/update_account_holder_state.json +6 -0
- data/spec/mocks/requests/Account/upload_document.json +9 -0
- data/spec/mocks/requests/Checkout/payment-details.json +18 -0
- data/spec/mocks/requests/Checkout/payment-result.json +3 -0
- data/spec/mocks/requests/Checkout/payment_methods.json +3 -0
- data/spec/mocks/requests/Checkout/payment_session.json +15 -0
- data/spec/mocks/requests/Checkout/payments.json +17 -0
- data/spec/mocks/requests/Checkout/verify.json +3 -0
- data/spec/mocks/requests/CheckoutUtility/origin_keys.json +7 -0
- data/spec/mocks/requests/Fund/account_holder_balance.json +3 -0
- data/spec/mocks/requests/Fund/account_holder_transaction_list.json +16 -0
- data/spec/mocks/requests/Fund/payout_account_holder.json +10 -0
- data/spec/mocks/requests/Fund/refund_not_paid_out_transfers.json +4 -0
- data/spec/mocks/requests/Fund/setup_beneficiary.json +5 -0
- data/spec/mocks/requests/Fund/transfer_funds.json +9 -0
- data/spec/mocks/requests/Notification/create_notification_configuration.json +20 -0
- data/spec/mocks/requests/Notification/delete_notification_configurations.json +6 -0
- data/spec/mocks/requests/Notification/get_notification_configuration.json +3 -0
- data/spec/mocks/requests/Notification/get_notification_configuration_list.json +1 -0
- data/spec/mocks/requests/Notification/test_notification_configuration.json +4 -0
- data/spec/mocks/requests/Notification/update_notification_configuration.json +26 -0
- data/spec/mocks/requests/Payment/adjust_authorisation.json +12 -0
- data/spec/mocks/requests/Payment/authorise.json +28 -0
- data/spec/mocks/requests/Payment/authorise3d.json +6 -0
- data/spec/mocks/requests/Payment/cancel.json +4 -0
- data/spec/mocks/requests/Payment/cancel_or_refund.json +4 -0
- data/spec/mocks/requests/Payment/capture.json +8 -0
- data/spec/mocks/requests/Payment/refund.json +8 -0
- data/spec/mocks/requests/Payout/confirm_third_party.json +4 -0
- data/spec/mocks/requests/Payout/decline_third_party.json +4 -0
- data/spec/mocks/requests/Payout/store_detail.json +33 -0
- data/spec/mocks/requests/Payout/store_detail_and_submit_third_party.json +33 -0
- data/spec/mocks/requests/Payout/submit_third_party.json +22 -0
- data/spec/mocks/requests/Recurring/disable.json +5 -0
- data/spec/mocks/requests/Recurring/list_recurring_details.json +4 -0
- data/spec/mocks/requests/Recurring/store_token.json +15 -0
- data/spec/mocks/responses/Account/close_account.json +5 -0
- data/spec/mocks/responses/Account/close_account_holder.json +7 -0
- data/spec/mocks/responses/Account/create_account.json +7 -0
- data/spec/mocks/responses/Account/create_account_holder.json +116 -0
- data/spec/mocks/responses/Account/delete_bank_accounts.json +4 -0
- data/spec/mocks/responses/Account/delete_shareholders.json +4 -0
- data/spec/mocks/responses/Account/get_account_holder.json +71 -0
- data/spec/mocks/responses/Account/get_uploaded_documents.json +16 -0
- data/spec/mocks/responses/Account/suspend_account_holder.json +24 -0
- data/spec/mocks/responses/Account/un_suspend_account_holder.json +24 -0
- data/spec/mocks/responses/Account/update_account.json +9 -0
- data/spec/mocks/responses/Account/update_account_holder.json +95 -0
- data/spec/mocks/responses/Account/update_account_holder_state.json +27 -0
- data/spec/mocks/responses/Account/upload_document.json +77 -0
- data/spec/mocks/responses/Checkout/payment-details.json +14 -0
- data/spec/mocks/responses/Checkout/payment-result.json +4 -0
- data/spec/mocks/responses/Checkout/payment_methods.json +66 -0
- data/spec/mocks/responses/Checkout/payment_session.json +572 -0
- data/spec/mocks/responses/Checkout/payments.json +95 -0
- data/spec/mocks/responses/Checkout/verify.json +121 -0
- data/spec/mocks/responses/CheckoutUtility/origin_keys.json +7 -0
- data/spec/mocks/responses/Fund/account_holder_balance.json +47 -0
- data/spec/mocks/responses/Fund/account_holder_transaction_list.json +73 -0
- data/spec/mocks/responses/Fund/payout_account_holder.json +6 -0
- data/spec/mocks/responses/Fund/refund_not_paid_out_transfers.json +5 -0
- data/spec/mocks/responses/Fund/setup_beneficiary.json +5 -0
- data/spec/mocks/responses/Fund/transfer_funds.json +6 -0
- data/spec/mocks/responses/Notification/create_notification_configuration.json +41 -0
- data/spec/mocks/responses/Notification/delete_notification_configurations.json +23 -0
- data/spec/mocks/responses/Notification/get_notification_configuration.json +41 -0
- data/spec/mocks/responses/Notification/get_notification_configuration_list.json +65 -0
- data/spec/mocks/responses/Notification/test_notification_configuration.json +49 -0
- data/spec/mocks/responses/Notification/update_notification_configuration.json +47 -0
- data/spec/mocks/responses/Payment/adjust_authorisation.json +4 -0
- data/spec/mocks/responses/Payment/authorise.json +95 -0
- data/spec/mocks/responses/Payment/authorise3d.json +30 -0
- data/spec/mocks/responses/Payment/cancel.json +4 -0
- data/spec/mocks/responses/Payment/cancel_or_refund.json +4 -0
- data/spec/mocks/responses/Payment/capture.json +4 -0
- data/spec/mocks/responses/Payment/refund.json +4 -0
- data/spec/mocks/responses/Payout/confirm_third_party.json +4 -0
- data/spec/mocks/responses/Payout/decline_third_party.json +4 -0
- data/spec/mocks/responses/Payout/store_detail.json +5 -0
- data/spec/mocks/responses/Payout/store_detail_and_submit_third_party.json +8 -0
- data/spec/mocks/responses/Payout/submit_third_party.json +8 -0
- data/spec/mocks/responses/Recurring/disable.json +30 -0
- data/spec/mocks/responses/Recurring/list_recurring_details.json +62 -0
- data/spec/mocks/responses/Recurring/store_token.json +7 -0
- data/spec/notification_spec.rb +19 -0
- data/spec/payments_spec.rb +20 -0
- data/spec/payouts_spec.rb +18 -0
- data/spec/recurring_spec.rb +17 -0
- data/spec/spec_helper.rb +94 -0
- metadata +246 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
RSpec.describe Adyen::Payments, service: "marketpay fund service" do
|
4
|
+
# client instance to be used in dynamically generated tests
|
5
|
+
client = create_client(:basic)
|
6
|
+
|
7
|
+
# methods / values to test for
|
8
|
+
# format is defined in spec_helper
|
9
|
+
test_sets = [
|
10
|
+
["create_notification_configuration", "pspReference", "8515077331535427"],
|
11
|
+
["delete_notification_configurations", "pspReference", "8515078085249090"],
|
12
|
+
["get_notification_configuration", "pspReference", "8815078078131377"],
|
13
|
+
["get_notification_configuration_list", "pspReference", "8515078078661665"],
|
14
|
+
["test_notification_configuration", "pspReference", "8515078087759211"],
|
15
|
+
["update_notification_configuration", "pspReference", "8515078084389038"]
|
16
|
+
]
|
17
|
+
|
18
|
+
generate_tests(client, "Notification", test_sets, client.marketpay.notification)
|
19
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
RSpec.describe Adyen::Payments, service: "payments service" do
|
4
|
+
# client instance to be used in dynamically generated tests
|
5
|
+
client = create_client(:basic)
|
6
|
+
|
7
|
+
# methods / values to test for
|
8
|
+
# format is defined in spec_helper
|
9
|
+
test_sets = [
|
10
|
+
["authorise", "resultCode", "Authorised"],
|
11
|
+
["adjust_authorisation", "response", "[adjustAuthorisation-received]"],
|
12
|
+
["authorise3d", "resultCode", "Authorised"],
|
13
|
+
["cancel", "response", "[cancel-received]"],
|
14
|
+
["cancel_or_refund", "response", "[cancelOrRefund-received]"],
|
15
|
+
["capture", "response", "[capture-received]"],
|
16
|
+
["refund", "response", "[refund-received]"]
|
17
|
+
]
|
18
|
+
|
19
|
+
generate_tests(client, "Payment", test_sets, client.payments)
|
20
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
RSpec.describe Adyen::Payments, service: "payouts service" do
|
4
|
+
# client instance to be used in dynamically generated tests
|
5
|
+
client = create_client(:basic)
|
6
|
+
|
7
|
+
# methods / values to test for
|
8
|
+
# format is defined in spec_helper
|
9
|
+
test_sets = [
|
10
|
+
["store_detail", "resultCode", "Success"],
|
11
|
+
["store_detail_and_submit_third_party", "resultCode", "[payout-submit-received]"],
|
12
|
+
["submit_third_party", "resultCode", "[payout-submit-received]"],
|
13
|
+
["confirm_third_party", "response", "[payout-confirm-received]"],
|
14
|
+
["decline_third_party", "response", "[payout-decline-received]"]
|
15
|
+
]
|
16
|
+
|
17
|
+
generate_tests(client, "Payout", test_sets, client.payouts)
|
18
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
require_relative "../lib/adyen/errors"
|
3
|
+
|
4
|
+
RSpec.describe Adyen::Payments, service: "recurring service" do
|
5
|
+
# client instance to be used in dynamically generated tests
|
6
|
+
client = create_client(:basic)
|
7
|
+
|
8
|
+
# methods / values to test for
|
9
|
+
# format is defined in spec_helper
|
10
|
+
test_sets = [
|
11
|
+
["list_recurring_details", "creationDate", "2017-03-01T11:53:11+01:00"],
|
12
|
+
["disable", "response", "[detail-successfully-disabled]"],
|
13
|
+
["store_token", "result", "Success"]
|
14
|
+
]
|
15
|
+
|
16
|
+
generate_tests(client, "Recurring", test_sets, client.recurring)
|
17
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,94 @@
|
|
1
|
+
require "webmock/rspec"
|
2
|
+
require "base64"
|
3
|
+
require_relative "../lib/adyen-ruby-api-library"
|
4
|
+
|
5
|
+
# disable external connections
|
6
|
+
WebMock.disable_net_connect!(allow_localhost: true)
|
7
|
+
|
8
|
+
# prepends location of this file onto filepath
|
9
|
+
# and returns contents of file as string
|
10
|
+
def json_from_file(filepath)
|
11
|
+
File.read("#{File.dirname(__FILE__)}/#{filepath}")
|
12
|
+
end
|
13
|
+
|
14
|
+
# boilerplate test scenario
|
15
|
+
# returns hash of response from client
|
16
|
+
def create_test(client, service, method_name, parent_object)
|
17
|
+
# pull request and response from json files
|
18
|
+
request_body = JSON.parse(json_from_file("mocks/requests/#{service}/#{method_name}.json"))
|
19
|
+
response_body = json_from_file("mocks/responses/#{service}/#{method_name}.json")
|
20
|
+
|
21
|
+
|
22
|
+
if service == 'Checkout' || service == 'CheckoutUtility'
|
23
|
+
client.add_application_info(request_body)
|
24
|
+
end
|
25
|
+
|
26
|
+
# client-generated headers
|
27
|
+
headers = {
|
28
|
+
'Content-Type'.to_sym => 'application/json'
|
29
|
+
}
|
30
|
+
|
31
|
+
# authentication headers
|
32
|
+
if not client.api_key.nil? then
|
33
|
+
headers["x-api-key"] = client.api_key
|
34
|
+
elsif not client.ws_user.nil? and not client.ws_password.nil? then
|
35
|
+
auth_header = "Basic " + Base64::encode64("#{client.ws_user}:#{client.ws_password}")
|
36
|
+
headers["Authorization"] = auth_header.strip
|
37
|
+
else
|
38
|
+
raise ArgumentError, "Authentication not set correctly in test case"
|
39
|
+
end
|
40
|
+
|
41
|
+
# stub request
|
42
|
+
url = client.service_url(service, method_name.to_camel_case, parent_object.version)
|
43
|
+
WebMock.stub_request(:post, url).
|
44
|
+
with(
|
45
|
+
body: request_body,
|
46
|
+
headers: headers
|
47
|
+
).
|
48
|
+
to_return(
|
49
|
+
body: response_body
|
50
|
+
)
|
51
|
+
response = parent_object.public_send(method_name, request_body)
|
52
|
+
|
53
|
+
# boilerplate error checks
|
54
|
+
expect(response.status).
|
55
|
+
to eq(200)
|
56
|
+
expect(response.body).
|
57
|
+
to eq(response_body)
|
58
|
+
expect((parsed_body = JSON.parse(response.body)).class).
|
59
|
+
to be Hash
|
60
|
+
|
61
|
+
# return hash of response
|
62
|
+
parsed_body
|
63
|
+
end
|
64
|
+
|
65
|
+
# creates tests from an array of arrays
|
66
|
+
# test_set format:
|
67
|
+
# [method name, test parameter in mock response, expected value of test parameter]
|
68
|
+
def generate_tests(client, service, test_sets, parent_object)
|
69
|
+
test_sets.each do |test_set|
|
70
|
+
it "makes a #{test_set[0]} call" do
|
71
|
+
parsed_body = create_test(client, service, test_set[0], parent_object)
|
72
|
+
expect(parsed_body[test_set[1]]).
|
73
|
+
to eq(test_set[2])
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# create and return a client for testing
|
79
|
+
# auth_type must be one of [:basic, :api_key]
|
80
|
+
def create_client(auth_type)
|
81
|
+
client = Adyen::Client.new
|
82
|
+
client.env = :mock
|
83
|
+
|
84
|
+
if auth_type == :basic then
|
85
|
+
client.ws_user = "user"
|
86
|
+
client.ws_password = "password"
|
87
|
+
elsif auth_type == :api_key then
|
88
|
+
client.api_key = "api_key"
|
89
|
+
else
|
90
|
+
raise ArgumentError "Invalid auth type for test client"
|
91
|
+
end
|
92
|
+
|
93
|
+
client
|
94
|
+
end
|
metadata
ADDED
@@ -0,0 +1,246 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: adyen-ruby-api-library
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Adyen
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-02-08 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: faraday
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: webmock
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: activesupport
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description: Official Adyen API Library for Ruby. Simplifies integrating with the
|
70
|
+
Adyen API, including Checkout, Marketpay, payments, recurring, and payouts. For
|
71
|
+
support please reach out to support@adyen.com. If you would like to contribute
|
72
|
+
please submit a comment or pull request at https://github.com/Adyen/adyen-ruby-api-library.
|
73
|
+
email:
|
74
|
+
- support@adyen.com
|
75
|
+
executables: []
|
76
|
+
extensions: []
|
77
|
+
extra_rdoc_files: []
|
78
|
+
files:
|
79
|
+
- ".gitignore"
|
80
|
+
- ".travis.yml"
|
81
|
+
- Gemfile
|
82
|
+
- LICENSE
|
83
|
+
- README.md
|
84
|
+
- Rakefile
|
85
|
+
- adyen-ruby-api-library.gemspec
|
86
|
+
- bin/console
|
87
|
+
- bin/setup
|
88
|
+
- docs/checkout.html
|
89
|
+
- docs/index.html
|
90
|
+
- docs/install-library.html
|
91
|
+
- docs/javascripts/prism.js
|
92
|
+
- docs/javascripts/scale.fix.js
|
93
|
+
- docs/marketpay.html
|
94
|
+
- docs/params.json
|
95
|
+
- docs/payment.html
|
96
|
+
- docs/payout.html
|
97
|
+
- docs/recurring.html
|
98
|
+
- docs/stylesheets/github-light.css
|
99
|
+
- docs/stylesheets/prism.css
|
100
|
+
- docs/stylesheets/styles.css
|
101
|
+
- docs/using-library.html
|
102
|
+
- lib/adyen-ruby-api-library.rb
|
103
|
+
- lib/adyen/client.rb
|
104
|
+
- lib/adyen/errors.rb
|
105
|
+
- lib/adyen/services/checkout.rb
|
106
|
+
- lib/adyen/services/checkout_utility.rb
|
107
|
+
- lib/adyen/services/marketpay.rb
|
108
|
+
- lib/adyen/services/payments.rb
|
109
|
+
- lib/adyen/services/payouts.rb
|
110
|
+
- lib/adyen/services/recurring.rb
|
111
|
+
- lib/adyen/services/service.rb
|
112
|
+
- lib/adyen/version.rb
|
113
|
+
- spec/account_spec.rb
|
114
|
+
- spec/checkout_spec.rb
|
115
|
+
- spec/checkout_utility_spec.rb
|
116
|
+
- spec/client_spec.rb
|
117
|
+
- spec/fund_spec.rb
|
118
|
+
- spec/mocks/requests/Account/close_account.json
|
119
|
+
- spec/mocks/requests/Account/close_account_holder.json
|
120
|
+
- spec/mocks/requests/Account/create_account.json
|
121
|
+
- spec/mocks/requests/Account/create_account_holder.json
|
122
|
+
- spec/mocks/requests/Account/delete_bank_accounts.json
|
123
|
+
- spec/mocks/requests/Account/delete_shareholders.json
|
124
|
+
- spec/mocks/requests/Account/get_account_holder.json
|
125
|
+
- spec/mocks/requests/Account/get_uploaded_documents.json
|
126
|
+
- spec/mocks/requests/Account/suspend_account_holder.json
|
127
|
+
- spec/mocks/requests/Account/un_suspend_account_holder.json
|
128
|
+
- spec/mocks/requests/Account/update_account.json
|
129
|
+
- spec/mocks/requests/Account/update_account_holder.json
|
130
|
+
- spec/mocks/requests/Account/update_account_holder_state.json
|
131
|
+
- spec/mocks/requests/Account/upload_document.json
|
132
|
+
- spec/mocks/requests/Checkout/payment-details.json
|
133
|
+
- spec/mocks/requests/Checkout/payment-result.json
|
134
|
+
- spec/mocks/requests/Checkout/payment_methods.json
|
135
|
+
- spec/mocks/requests/Checkout/payment_session.json
|
136
|
+
- spec/mocks/requests/Checkout/payments.json
|
137
|
+
- spec/mocks/requests/Checkout/verify.json
|
138
|
+
- spec/mocks/requests/CheckoutUtility/origin_keys.json
|
139
|
+
- spec/mocks/requests/Fund/account_holder_balance.json
|
140
|
+
- spec/mocks/requests/Fund/account_holder_transaction_list.json
|
141
|
+
- spec/mocks/requests/Fund/payout_account_holder.json
|
142
|
+
- spec/mocks/requests/Fund/refund_not_paid_out_transfers.json
|
143
|
+
- spec/mocks/requests/Fund/setup_beneficiary.json
|
144
|
+
- spec/mocks/requests/Fund/transfer_funds.json
|
145
|
+
- spec/mocks/requests/Notification/create_notification_configuration.json
|
146
|
+
- spec/mocks/requests/Notification/delete_notification_configurations.json
|
147
|
+
- spec/mocks/requests/Notification/get_notification_configuration.json
|
148
|
+
- spec/mocks/requests/Notification/get_notification_configuration_list.json
|
149
|
+
- spec/mocks/requests/Notification/test_notification_configuration.json
|
150
|
+
- spec/mocks/requests/Notification/update_notification_configuration.json
|
151
|
+
- spec/mocks/requests/Payment/adjust_authorisation.json
|
152
|
+
- spec/mocks/requests/Payment/authorise.json
|
153
|
+
- spec/mocks/requests/Payment/authorise3d.json
|
154
|
+
- spec/mocks/requests/Payment/cancel.json
|
155
|
+
- spec/mocks/requests/Payment/cancel_or_refund.json
|
156
|
+
- spec/mocks/requests/Payment/capture.json
|
157
|
+
- spec/mocks/requests/Payment/refund.json
|
158
|
+
- spec/mocks/requests/Payout/confirm_third_party.json
|
159
|
+
- spec/mocks/requests/Payout/decline_third_party.json
|
160
|
+
- spec/mocks/requests/Payout/store_detail.json
|
161
|
+
- spec/mocks/requests/Payout/store_detail_and_submit_third_party.json
|
162
|
+
- spec/mocks/requests/Payout/submit_third_party.json
|
163
|
+
- spec/mocks/requests/Recurring/disable.json
|
164
|
+
- spec/mocks/requests/Recurring/list_recurring_details.json
|
165
|
+
- spec/mocks/requests/Recurring/store_token.json
|
166
|
+
- spec/mocks/responses/Account/close_account.json
|
167
|
+
- spec/mocks/responses/Account/close_account_holder.json
|
168
|
+
- spec/mocks/responses/Account/create_account.json
|
169
|
+
- spec/mocks/responses/Account/create_account_holder.json
|
170
|
+
- spec/mocks/responses/Account/delete_bank_accounts.json
|
171
|
+
- spec/mocks/responses/Account/delete_shareholders.json
|
172
|
+
- spec/mocks/responses/Account/get_account_holder.json
|
173
|
+
- spec/mocks/responses/Account/get_uploaded_documents.json
|
174
|
+
- spec/mocks/responses/Account/suspend_account_holder.json
|
175
|
+
- spec/mocks/responses/Account/un_suspend_account_holder.json
|
176
|
+
- spec/mocks/responses/Account/update_account.json
|
177
|
+
- spec/mocks/responses/Account/update_account_holder.json
|
178
|
+
- spec/mocks/responses/Account/update_account_holder_state.json
|
179
|
+
- spec/mocks/responses/Account/upload_document.json
|
180
|
+
- spec/mocks/responses/Checkout/payment-details.json
|
181
|
+
- spec/mocks/responses/Checkout/payment-result.json
|
182
|
+
- spec/mocks/responses/Checkout/payment_methods.json
|
183
|
+
- spec/mocks/responses/Checkout/payment_session.json
|
184
|
+
- spec/mocks/responses/Checkout/payments.json
|
185
|
+
- spec/mocks/responses/Checkout/verify.json
|
186
|
+
- spec/mocks/responses/CheckoutUtility/origin_keys.json
|
187
|
+
- spec/mocks/responses/Fund/account_holder_balance.json
|
188
|
+
- spec/mocks/responses/Fund/account_holder_transaction_list.json
|
189
|
+
- spec/mocks/responses/Fund/payout_account_holder.json
|
190
|
+
- spec/mocks/responses/Fund/refund_not_paid_out_transfers.json
|
191
|
+
- spec/mocks/responses/Fund/setup_beneficiary.json
|
192
|
+
- spec/mocks/responses/Fund/transfer_funds.json
|
193
|
+
- spec/mocks/responses/Notification/create_notification_configuration.json
|
194
|
+
- spec/mocks/responses/Notification/delete_notification_configurations.json
|
195
|
+
- spec/mocks/responses/Notification/get_notification_configuration.json
|
196
|
+
- spec/mocks/responses/Notification/get_notification_configuration_list.json
|
197
|
+
- spec/mocks/responses/Notification/test_notification_configuration.json
|
198
|
+
- spec/mocks/responses/Notification/update_notification_configuration.json
|
199
|
+
- spec/mocks/responses/Payment/adjust_authorisation.json
|
200
|
+
- spec/mocks/responses/Payment/authorise.json
|
201
|
+
- spec/mocks/responses/Payment/authorise3d.json
|
202
|
+
- spec/mocks/responses/Payment/cancel.json
|
203
|
+
- spec/mocks/responses/Payment/cancel_or_refund.json
|
204
|
+
- spec/mocks/responses/Payment/capture.json
|
205
|
+
- spec/mocks/responses/Payment/refund.json
|
206
|
+
- spec/mocks/responses/Payout/confirm_third_party.json
|
207
|
+
- spec/mocks/responses/Payout/decline_third_party.json
|
208
|
+
- spec/mocks/responses/Payout/store_detail.json
|
209
|
+
- spec/mocks/responses/Payout/store_detail_and_submit_third_party.json
|
210
|
+
- spec/mocks/responses/Payout/submit_third_party.json
|
211
|
+
- spec/mocks/responses/Recurring/disable.json
|
212
|
+
- spec/mocks/responses/Recurring/list_recurring_details.json
|
213
|
+
- spec/mocks/responses/Recurring/store_token.json
|
214
|
+
- spec/notification_spec.rb
|
215
|
+
- spec/payments_spec.rb
|
216
|
+
- spec/payouts_spec.rb
|
217
|
+
- spec/recurring_spec.rb
|
218
|
+
- spec/spec_helper.rb
|
219
|
+
homepage: https://www.adyen.com
|
220
|
+
licenses:
|
221
|
+
- MIT
|
222
|
+
metadata:
|
223
|
+
documentation_uri: https://docs.adyen.com/developers/development-resources/libraries
|
224
|
+
homepage_uri: https://www.adyen.com
|
225
|
+
source_code_uri: https://github.com/Adyen/adyen-ruby-api-library
|
226
|
+
post_install_message:
|
227
|
+
rdoc_options: []
|
228
|
+
require_paths:
|
229
|
+
- lib
|
230
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
231
|
+
requirements:
|
232
|
+
- - ">="
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: 2.1.0
|
235
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
236
|
+
requirements:
|
237
|
+
- - ">="
|
238
|
+
- !ruby/object:Gem::Version
|
239
|
+
version: '0'
|
240
|
+
requirements: []
|
241
|
+
rubyforge_project:
|
242
|
+
rubygems_version: 2.7.8
|
243
|
+
signing_key:
|
244
|
+
specification_version: 4
|
245
|
+
summary: Official Adyen Ruby API Library
|
246
|
+
test_files: []
|