adyen-ruby-api-library 10.0.0 → 10.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/codeql.yml +0 -4
- data/VERSION +1 -1
- data/lib/adyen/client.rb +1 -1
- data/lib/adyen/services/balanceControlService.rb +6 -0
- data/lib/adyen/services/balancePlatform/account_holders_api.rb +20 -0
- data/lib/adyen/services/balancePlatform/balance_accounts_api.rb +24 -0
- data/lib/adyen/services/balancePlatform/bank_account_validation_api.rb +6 -0
- data/lib/adyen/services/balancePlatform/card_orders_api.rb +7 -0
- data/lib/adyen/services/balancePlatform/grant_accounts_api.rb +6 -0
- data/lib/adyen/services/balancePlatform/grant_offers_api.rb +7 -0
- data/lib/adyen/services/balancePlatform/manage_card_pin_api.rb +8 -0
- data/lib/adyen/services/balancePlatform/manage_sca_devices_api.rb +9 -0
- data/lib/adyen/services/balancePlatform/network_tokens_api.rb +7 -0
- data/lib/adyen/services/balancePlatform/payment_instrument_groups_api.rb +8 -0
- data/lib/adyen/services/balancePlatform/payment_instruments_api.rb +12 -0
- data/lib/adyen/services/balancePlatform/platform_api.rb +17 -0
- data/lib/adyen/services/balancePlatform/transaction_rules_api.rb +9 -0
- data/lib/adyen/services/balancePlatform/transfer_routes_api.rb +6 -0
- data/lib/adyen/services/balancePlatform.rb +5 -0
- data/lib/adyen/services/binLookup.rb +7 -0
- data/lib/adyen/services/checkout/donations_api.rb +7 -0
- data/lib/adyen/services/checkout/modifications_api.rb +11 -0
- data/lib/adyen/services/checkout/orders_api.rb +8 -0
- data/lib/adyen/services/checkout/payment_links_api.rb +8 -0
- data/lib/adyen/services/checkout/payments_api.rb +11 -0
- data/lib/adyen/services/checkout/recurring_api.rb +8 -0
- data/lib/adyen/services/checkout/utility_api.rb +10 -0
- data/lib/adyen/services/checkout.rb +5 -0
- data/lib/adyen/services/dataProtection.rb +6 -0
- data/lib/adyen/services/disputes.rb +10 -0
- data/lib/adyen/services/legalEntityManagement/business_lines_api.rb +9 -0
- data/lib/adyen/services/legalEntityManagement/documents_api.rb +9 -0
- data/lib/adyen/services/legalEntityManagement/hosted_onboarding_api.rb +8 -0
- data/lib/adyen/services/legalEntityManagement/legal_entities_api.rb +11 -0
- data/lib/adyen/services/legalEntityManagement/pci_questionnaires_api.rb +9 -0
- data/lib/adyen/services/legalEntityManagement/tax_e_delivery_consent_api.rb +7 -0
- data/lib/adyen/services/legalEntityManagement/terms_of_service_api.rb +10 -0
- data/lib/adyen/services/legalEntityManagement/transfer_instruments_api.rb +9 -0
- data/lib/adyen/services/legalEntityManagement.rb +5 -0
- data/lib/adyen/services/management/account_company_level_api.rb +8 -0
- data/lib/adyen/services/management/account_merchant_level_api.rb +9 -0
- data/lib/adyen/services/management/account_store_level_api.rb +13 -0
- data/lib/adyen/services/management/allowed_origins_company_level_api.rb +9 -0
- data/lib/adyen/services/management/allowed_origins_merchant_level_api.rb +9 -0
- data/lib/adyen/services/management/android_files_company_level_api.rb +11 -0
- data/lib/adyen/services/management/api_credentials_company_level_api.rb +9 -0
- data/lib/adyen/services/management/api_credentials_merchant_level_api.rb +9 -0
- data/lib/adyen/services/management/api_key_company_level_api.rb +6 -0
- data/lib/adyen/services/management/api_key_merchant_level_api.rb +6 -0
- data/lib/adyen/services/management/client_key_company_level_api.rb +6 -0
- data/lib/adyen/services/management/client_key_merchant_level_api.rb +6 -0
- data/lib/adyen/services/management/my_api_credential_api.rb +11 -0
- data/lib/adyen/services/management/payment_methods_merchant_level_api.rb +11 -0
- data/lib/adyen/services/management/payout_settings_merchant_level_api.rb +10 -0
- data/lib/adyen/services/management/split_configuration_merchant_level_api.rb +14 -0
- data/lib/adyen/services/management/terminal_actions_company_level_api.rb +7 -0
- data/lib/adyen/services/management/terminal_actions_terminal_level_api.rb +6 -0
- data/lib/adyen/services/management/terminal_orders_company_level_api.rb +15 -0
- data/lib/adyen/services/management/terminal_orders_merchant_level_api.rb +15 -0
- data/lib/adyen/services/management/terminal_settings_company_level_api.rb +9 -0
- data/lib/adyen/services/management/terminal_settings_merchant_level_api.rb +9 -0
- data/lib/adyen/services/management/terminal_settings_store_level_api.rb +13 -0
- data/lib/adyen/services/management/terminal_settings_terminal_level_api.rb +9 -0
- data/lib/adyen/services/management/terminals_terminal_level_api.rb +7 -0
- data/lib/adyen/services/management/users_company_level_api.rb +9 -0
- data/lib/adyen/services/management/users_merchant_level_api.rb +9 -0
- data/lib/adyen/services/management/webhooks_company_level_api.rb +12 -0
- data/lib/adyen/services/management/webhooks_merchant_level_api.rb +12 -0
- data/lib/adyen/services/management.rb +5 -0
- data/lib/adyen/services/payment.rb +20 -0
- data/lib/adyen/services/paymentsApp.rb +10 -0
- data/lib/adyen/services/payout/initialization_api.rb +8 -0
- data/lib/adyen/services/payout/instant_payouts_api.rb +6 -0
- data/lib/adyen/services/payout/reviewing_api.rb +7 -0
- data/lib/adyen/services/payout.rb +5 -0
- data/lib/adyen/services/posMobile.rb +6 -0
- data/lib/adyen/services/posTerminalManagement.rb +10 -0
- data/lib/adyen/services/recurring.rb +11 -0
- data/lib/adyen/services/storedValue.rb +11 -0
- data/lib/adyen/services/transfers/capital_api.rb +8 -0
- data/lib/adyen/services/transfers/transactions_api.rb +7 -0
- data/lib/adyen/services/transfers/transfers_api.rb +11 -0
- data/lib/adyen/services/transfers.rb +5 -0
- data/lib/adyen/version.rb +1 -1
- data/renovate.json +3 -3
- data/templates/api-single.mustache +5 -0
- data/templates/api-small.mustache +9 -0
- data/templates/api.mustache +9 -0
- metadata +3 -3
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class WebhooksMerchantLevelApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'Management')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Generate an HMAC key
|
10
16
|
def generate_hmac_key(merchant_id, webhook_id, headers: {})
|
11
17
|
endpoint = '/merchants/{merchantId}/webhooks/{webhookId}/generateHmac'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,7 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Get a webhook
|
19
26
|
def get_webhook(merchant_id, webhook_id, headers: {})
|
20
27
|
endpoint = '/merchants/{merchantId}/webhooks/{webhookId}'.gsub(/{.+?}/, '%s')
|
21
28
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -25,6 +32,7 @@ module Adyen
|
|
25
32
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
26
33
|
end
|
27
34
|
|
35
|
+
# List all webhooks
|
28
36
|
def list_all_webhooks(merchant_id, headers: {}, query_params: {})
|
29
37
|
endpoint = '/merchants/{merchantId}/webhooks'.gsub(/{.+?}/, '%s')
|
30
38
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -34,6 +42,7 @@ module Adyen
|
|
34
42
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
35
43
|
end
|
36
44
|
|
45
|
+
# Remove a webhook
|
37
46
|
def remove_webhook(merchant_id, webhook_id, headers: {})
|
38
47
|
endpoint = '/merchants/{merchantId}/webhooks/{webhookId}'.gsub(/{.+?}/, '%s')
|
39
48
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -43,6 +52,7 @@ module Adyen
|
|
43
52
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
44
53
|
end
|
45
54
|
|
55
|
+
# Set up a webhook
|
46
56
|
def set_up_webhook(request, merchant_id, headers: {})
|
47
57
|
endpoint = '/merchants/{merchantId}/webhooks'.gsub(/{.+?}/, '%s')
|
48
58
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -52,6 +62,7 @@ module Adyen
|
|
52
62
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
53
63
|
end
|
54
64
|
|
65
|
+
# Test a webhook
|
55
66
|
def test_webhook(request, merchant_id, webhook_id, headers: {})
|
56
67
|
endpoint = '/merchants/{merchantId}/webhooks/{webhookId}/test'.gsub(/{.+?}/, '%s')
|
57
68
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -61,6 +72,7 @@ module Adyen
|
|
61
72
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
62
73
|
end
|
63
74
|
|
75
|
+
# Update a webhook
|
64
76
|
def update_webhook(request, merchant_id, webhook_id, headers: {})
|
65
77
|
endpoint = '/merchants/{merchantId}/webhooks/{webhookId}'.gsub(/{.+?}/, '%s')
|
66
78
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -29,6 +29,11 @@ require_relative 'management/webhooks_company_level_api'
|
|
29
29
|
require_relative 'management/webhooks_merchant_level_api'
|
30
30
|
|
31
31
|
module Adyen
|
32
|
+
|
33
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
34
|
+
# Ref: https://openapi-generator.tech
|
35
|
+
#
|
36
|
+
# Do not edit the class manually.
|
32
37
|
class Management
|
33
38
|
attr_accessor :service, :version
|
34
39
|
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative './service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class Payment < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -8,6 +13,7 @@ module Adyen
|
|
8
13
|
super(client, version, 'Payment')
|
9
14
|
end
|
10
15
|
|
16
|
+
# Change the authorised amount
|
11
17
|
def adjust_authorisation(request, headers: {})
|
12
18
|
endpoint = '/adjustAuthorisation'.gsub(/{.+?}/, '%s')
|
13
19
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -17,6 +23,7 @@ module Adyen
|
|
17
23
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
18
24
|
end
|
19
25
|
|
26
|
+
# Create an authorisation
|
20
27
|
def authorise(request, headers: {})
|
21
28
|
endpoint = '/authorise'.gsub(/{.+?}/, '%s')
|
22
29
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -26,6 +33,7 @@ module Adyen
|
|
26
33
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
27
34
|
end
|
28
35
|
|
36
|
+
# Complete a 3DS authorisation
|
29
37
|
def authorise3d(request, headers: {})
|
30
38
|
endpoint = '/authorise3d'.gsub(/{.+?}/, '%s')
|
31
39
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -35,6 +43,7 @@ module Adyen
|
|
35
43
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
36
44
|
end
|
37
45
|
|
46
|
+
# Complete a 3DS2 authorisation
|
38
47
|
def authorise3ds2(request, headers: {})
|
39
48
|
endpoint = '/authorise3ds2'.gsub(/{.+?}/, '%s')
|
40
49
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -44,6 +53,7 @@ module Adyen
|
|
44
53
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
45
54
|
end
|
46
55
|
|
56
|
+
# Cancel an authorisation
|
47
57
|
def cancel(request, headers: {})
|
48
58
|
endpoint = '/cancel'.gsub(/{.+?}/, '%s')
|
49
59
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -53,6 +63,7 @@ module Adyen
|
|
53
63
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
54
64
|
end
|
55
65
|
|
66
|
+
# Cancel or refund a payment
|
56
67
|
def cancel_or_refund(request, headers: {})
|
57
68
|
endpoint = '/cancelOrRefund'.gsub(/{.+?}/, '%s')
|
58
69
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -62,6 +73,7 @@ module Adyen
|
|
62
73
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
63
74
|
end
|
64
75
|
|
76
|
+
# Capture an authorisation
|
65
77
|
def capture(request, headers: {})
|
66
78
|
endpoint = '/capture'.gsub(/{.+?}/, '%s')
|
67
79
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -71,6 +83,9 @@ module Adyen
|
|
71
83
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
72
84
|
end
|
73
85
|
|
86
|
+
# Create a donation
|
87
|
+
#
|
88
|
+
# Deprecated
|
74
89
|
def donate(request, headers: {})
|
75
90
|
endpoint = '/donate'.gsub(/{.+?}/, '%s')
|
76
91
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -80,6 +95,7 @@ module Adyen
|
|
80
95
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
81
96
|
end
|
82
97
|
|
98
|
+
# Get the 3DS authentication result
|
83
99
|
def get_authentication_result(request, headers: {})
|
84
100
|
endpoint = '/getAuthenticationResult'.gsub(/{.+?}/, '%s')
|
85
101
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -89,6 +105,7 @@ module Adyen
|
|
89
105
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
90
106
|
end
|
91
107
|
|
108
|
+
# Refund a captured payment
|
92
109
|
def refund(request, headers: {})
|
93
110
|
endpoint = '/refund'.gsub(/{.+?}/, '%s')
|
94
111
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -98,6 +115,7 @@ module Adyen
|
|
98
115
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
99
116
|
end
|
100
117
|
|
118
|
+
# Get the 3DS2 authentication result
|
101
119
|
def retrieve3ds2_result(request, headers: {})
|
102
120
|
endpoint = '/retrieve3ds2Result'.gsub(/{.+?}/, '%s')
|
103
121
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -107,6 +125,7 @@ module Adyen
|
|
107
125
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
108
126
|
end
|
109
127
|
|
128
|
+
# Cancel an authorisation using your reference
|
110
129
|
def technical_cancel(request, headers: {})
|
111
130
|
endpoint = '/technicalCancel'.gsub(/{.+?}/, '%s')
|
112
131
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -116,6 +135,7 @@ module Adyen
|
|
116
135
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
117
136
|
end
|
118
137
|
|
138
|
+
# Cancel an in-person refund
|
119
139
|
def void_pending_refund(request, headers: {})
|
120
140
|
endpoint = '/voidPendingRefund'.gsub(/{.+?}/, '%s')
|
121
141
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative './service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class PaymentsApp < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -8,6 +13,7 @@ module Adyen
|
|
8
13
|
super(client, version, 'PaymentsApp')
|
9
14
|
end
|
10
15
|
|
16
|
+
# Create a boarding token - merchant level
|
11
17
|
def generate_payments_app_boarding_token_for_merchant(request, merchant_id, boarding_token_request, headers: {})
|
12
18
|
endpoint = '/merchants/{merchantId}/generatePaymentsAppBoardingToken'.gsub(/{.+?}/, '%s')
|
13
19
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -17,6 +23,7 @@ module Adyen
|
|
17
23
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
18
24
|
end
|
19
25
|
|
26
|
+
# Create a boarding token - store level
|
20
27
|
def generate_payments_app_boarding_token_for_store(request, merchant_id, store_id, boarding_token_request, headers: {})
|
21
28
|
endpoint = '/merchants/{merchantId}/stores/{storeId}/generatePaymentsAppBoardingToken'.gsub(/{.+?}/, '%s')
|
22
29
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -26,6 +33,7 @@ module Adyen
|
|
26
33
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
27
34
|
end
|
28
35
|
|
36
|
+
# Get a list of Payments Apps - merchant level
|
29
37
|
def list_payments_app_for_merchant(merchant_id, headers: {}, query_params: {})
|
30
38
|
endpoint = '/merchants/{merchantId}/paymentsApps'.gsub(/{.+?}/, '%s')
|
31
39
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -35,6 +43,7 @@ module Adyen
|
|
35
43
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
36
44
|
end
|
37
45
|
|
46
|
+
# Get a list of Payments Apps - store level
|
38
47
|
def list_payments_app_for_store(merchant_id, store_id, headers: {}, query_params: {})
|
39
48
|
endpoint = '/merchants/{merchantId}/stores/{storeId}/paymentsApps'.gsub(/{.+?}/, '%s')
|
40
49
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -44,6 +53,7 @@ module Adyen
|
|
44
53
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
45
54
|
end
|
46
55
|
|
56
|
+
# Revoke Payments App instance authentication
|
47
57
|
def revoke_payments_app(merchant_id, installation_id, headers: {})
|
48
58
|
endpoint = '/merchants/{merchantId}/paymentsApps/{installationId}/revoke'.gsub(/{.+?}/, '%s')
|
49
59
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class InitializationApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'Payout')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Store payout details
|
10
16
|
def store_detail(request, headers: {})
|
11
17
|
endpoint = '/storeDetail'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,7 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Store details and submit a payout
|
19
26
|
def store_detail_and_submit_third_party(request, headers: {})
|
20
27
|
endpoint = '/storeDetailAndSubmitThirdParty'.gsub(/{.+?}/, '%s')
|
21
28
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -25,6 +32,7 @@ module Adyen
|
|
25
32
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
26
33
|
end
|
27
34
|
|
35
|
+
# Submit a payout
|
28
36
|
def submit_third_party(request, headers: {})
|
29
37
|
endpoint = '/submitThirdParty'.gsub(/{.+?}/, '%s')
|
30
38
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class InstantPayoutsApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'Payout')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Make an instant card payout
|
10
16
|
def payout(request, headers: {})
|
11
17
|
endpoint = '/payout'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class ReviewingApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'Payout')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Confirm a payout
|
10
16
|
def confirm_third_party(request, headers: {})
|
11
17
|
endpoint = '/confirmThirdParty'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,7 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Cancel a payout
|
19
26
|
def decline_third_party(request, headers: {})
|
20
27
|
endpoint = '/declineThirdParty'.gsub(/{.+?}/, '%s')
|
21
28
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -3,6 +3,11 @@ require_relative 'payout/instant_payouts_api'
|
|
3
3
|
require_relative 'payout/reviewing_api'
|
4
4
|
|
5
5
|
module Adyen
|
6
|
+
|
7
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
8
|
+
# Ref: https://openapi-generator.tech
|
9
|
+
#
|
10
|
+
# Do not edit the class manually.
|
6
11
|
class Payout
|
7
12
|
attr_accessor :service, :version
|
8
13
|
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative './service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class PosMobile < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -8,6 +13,7 @@ module Adyen
|
|
8
13
|
super(client, version, 'PosMobile')
|
9
14
|
end
|
10
15
|
|
16
|
+
# Create a communication session
|
11
17
|
def create_communication_session(request, headers: {})
|
12
18
|
endpoint = '/sessions'.gsub(/{.+?}/, '%s')
|
13
19
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative './service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class PosTerminalManagement < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -8,6 +13,7 @@ module Adyen
|
|
8
13
|
super(client, version, 'PosTerminalManagement')
|
9
14
|
end
|
10
15
|
|
16
|
+
# Assign terminals
|
11
17
|
def assign_terminals(request, headers: {})
|
12
18
|
endpoint = '/assignTerminals'.gsub(/{.+?}/, '%s')
|
13
19
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -17,6 +23,7 @@ module Adyen
|
|
17
23
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
18
24
|
end
|
19
25
|
|
26
|
+
# Get the account or store of a terminal
|
20
27
|
def find_terminal(request, headers: {})
|
21
28
|
endpoint = '/findTerminal'.gsub(/{.+?}/, '%s')
|
22
29
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -26,6 +33,7 @@ module Adyen
|
|
26
33
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
27
34
|
end
|
28
35
|
|
36
|
+
# Get the stores of an account
|
29
37
|
def get_stores_under_account(request, headers: {})
|
30
38
|
endpoint = '/getStoresUnderAccount'.gsub(/{.+?}/, '%s')
|
31
39
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -35,6 +43,7 @@ module Adyen
|
|
35
43
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
36
44
|
end
|
37
45
|
|
46
|
+
# Get the details of a terminal
|
38
47
|
def get_terminal_details(request, headers: {})
|
39
48
|
endpoint = '/getTerminalDetails'.gsub(/{.+?}/, '%s')
|
40
49
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -44,6 +53,7 @@ module Adyen
|
|
44
53
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
45
54
|
end
|
46
55
|
|
56
|
+
# Get the list of terminals
|
47
57
|
def get_terminals_under_account(request, headers: {})
|
48
58
|
endpoint = '/getTerminalsUnderAccount'.gsub(/{.+?}/, '%s')
|
49
59
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative './service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class Recurring < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -8,6 +13,7 @@ module Adyen
|
|
8
13
|
super(client, version, 'Recurring')
|
9
14
|
end
|
10
15
|
|
16
|
+
# Create new permits linked to a recurring contract.
|
11
17
|
def create_permit(request, headers: {})
|
12
18
|
endpoint = '/createPermit'.gsub(/{.+?}/, '%s')
|
13
19
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -17,6 +23,7 @@ module Adyen
|
|
17
23
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
18
24
|
end
|
19
25
|
|
26
|
+
# Disable stored payment details
|
20
27
|
def disable(request, headers: {})
|
21
28
|
endpoint = '/disable'.gsub(/{.+?}/, '%s')
|
22
29
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -26,6 +33,7 @@ module Adyen
|
|
26
33
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
27
34
|
end
|
28
35
|
|
36
|
+
# Disable an existing permit.
|
29
37
|
def disable_permit(request, headers: {})
|
30
38
|
endpoint = '/disablePermit'.gsub(/{.+?}/, '%s')
|
31
39
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -35,6 +43,7 @@ module Adyen
|
|
35
43
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
36
44
|
end
|
37
45
|
|
46
|
+
# Get stored payment details
|
38
47
|
def list_recurring_details(request, headers: {})
|
39
48
|
endpoint = '/listRecurringDetails'.gsub(/{.+?}/, '%s')
|
40
49
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -44,6 +53,7 @@ module Adyen
|
|
44
53
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
45
54
|
end
|
46
55
|
|
56
|
+
# Ask issuer to notify the shopper
|
47
57
|
def notify_shopper(request, headers: {})
|
48
58
|
endpoint = '/notifyShopper'.gsub(/{.+?}/, '%s')
|
49
59
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -53,6 +63,7 @@ module Adyen
|
|
53
63
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
54
64
|
end
|
55
65
|
|
66
|
+
# Schedule running the Account Updater
|
56
67
|
def schedule_account_updater(request, headers: {})
|
57
68
|
endpoint = '/scheduleAccountUpdater'.gsub(/{.+?}/, '%s')
|
58
69
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative './service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class StoredValue < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -8,6 +13,7 @@ module Adyen
|
|
8
13
|
super(client, version, 'StoredValue')
|
9
14
|
end
|
10
15
|
|
16
|
+
# Changes the status of the payment method.
|
11
17
|
def change_status(request, headers: {})
|
12
18
|
endpoint = '/changeStatus'.gsub(/{.+?}/, '%s')
|
13
19
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -17,6 +23,7 @@ module Adyen
|
|
17
23
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
18
24
|
end
|
19
25
|
|
26
|
+
# Checks the balance.
|
20
27
|
def check_balance(request, headers: {})
|
21
28
|
endpoint = '/checkBalance'.gsub(/{.+?}/, '%s')
|
22
29
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -26,6 +33,7 @@ module Adyen
|
|
26
33
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
27
34
|
end
|
28
35
|
|
36
|
+
# Issues a new card.
|
29
37
|
def issue(request, headers: {})
|
30
38
|
endpoint = '/issue'.gsub(/{.+?}/, '%s')
|
31
39
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -35,6 +43,7 @@ module Adyen
|
|
35
43
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
36
44
|
end
|
37
45
|
|
46
|
+
# Loads the payment method.
|
38
47
|
def load(request, headers: {})
|
39
48
|
endpoint = '/load'.gsub(/{.+?}/, '%s')
|
40
49
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -44,6 +53,7 @@ module Adyen
|
|
44
53
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
45
54
|
end
|
46
55
|
|
56
|
+
# Merge the balance of two cards.
|
47
57
|
def merge_balance(request, headers: {})
|
48
58
|
endpoint = '/mergeBalance'.gsub(/{.+?}/, '%s')
|
49
59
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -53,6 +63,7 @@ module Adyen
|
|
53
63
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
54
64
|
end
|
55
65
|
|
66
|
+
# Voids a transaction.
|
56
67
|
def void_transaction(request, headers: {})
|
57
68
|
endpoint = '/voidTransaction'.gsub(/{.+?}/, '%s')
|
58
69
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class CapitalApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'Transfers')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Get a capital account
|
10
16
|
def get_capital_account(headers: {}, query_params: {})
|
11
17
|
endpoint = '/grants'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,7 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Get grant reference details
|
19
26
|
def get_grant_reference_details(id, headers: {})
|
20
27
|
endpoint = '/grants/{id}'.gsub(/{.+?}/, '%s')
|
21
28
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -25,6 +32,7 @@ module Adyen
|
|
25
32
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
26
33
|
end
|
27
34
|
|
35
|
+
# Request a grant payout
|
28
36
|
def request_grant_payout(request, headers: {})
|
29
37
|
endpoint = '/grants'.gsub(/{.+?}/, '%s')
|
30
38
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class TransactionsApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'Transfers')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Get all transactions
|
10
16
|
def get_all_transactions(headers: {}, query_params: {})
|
11
17
|
endpoint = '/transactions'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,7 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Get a transaction
|
19
26
|
def get_transaction(id, headers: {})
|
20
27
|
endpoint = '/transactions/{id}'.gsub(/{.+?}/, '%s')
|
21
28
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class TransfersApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'Transfers')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Approve initiated transfers
|
10
16
|
def approve_initiated_transfers(request, headers: {})
|
11
17
|
endpoint = '/transfers/approve'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,7 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Cancel initiated transfers
|
19
26
|
def cancel_initiated_transfers(request, headers: {})
|
20
27
|
endpoint = '/transfers/cancel'.gsub(/{.+?}/, '%s')
|
21
28
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -25,6 +32,7 @@ module Adyen
|
|
25
32
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
26
33
|
end
|
27
34
|
|
35
|
+
# Get all transfers
|
28
36
|
def get_all_transfers(headers: {}, query_params: {})
|
29
37
|
endpoint = '/transfers'.gsub(/{.+?}/, '%s')
|
30
38
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -34,6 +42,7 @@ module Adyen
|
|
34
42
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
35
43
|
end
|
36
44
|
|
45
|
+
# Get a transfer
|
37
46
|
def get_transfer(id, headers: {})
|
38
47
|
endpoint = '/transfers/{id}'.gsub(/{.+?}/, '%s')
|
39
48
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -43,6 +52,7 @@ module Adyen
|
|
43
52
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
44
53
|
end
|
45
54
|
|
55
|
+
# Return a transfer
|
46
56
|
def return_transfer(request, transfer_id, headers: {})
|
47
57
|
endpoint = '/transfers/{transferId}/returns'.gsub(/{.+?}/, '%s')
|
48
58
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -52,6 +62,7 @@ module Adyen
|
|
52
62
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
53
63
|
end
|
54
64
|
|
65
|
+
# Transfer funds
|
55
66
|
def transfer_funds(request, headers: {})
|
56
67
|
endpoint = '/transfers'.gsub(/{.+?}/, '%s')
|
57
68
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -3,6 +3,11 @@ require_relative 'transfers/transactions_api'
|
|
3
3
|
require_relative 'transfers/transfers_api'
|
4
4
|
|
5
5
|
module Adyen
|
6
|
+
|
7
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
8
|
+
# Ref: https://openapi-generator.tech
|
9
|
+
#
|
10
|
+
# Do not edit the class manually.
|
6
11
|
class Transfers
|
7
12
|
attr_accessor :service, :version
|
8
13
|
|
data/lib/adyen/version.rb
CHANGED
data/renovate.json
CHANGED
@@ -5,6 +5,11 @@ require_relative '{{serviceName}}/{{#lambda.snakecase}}{{classname}}{{/lambda.sn
|
|
5
5
|
{{/apiInfo}}
|
6
6
|
|
7
7
|
module Adyen
|
8
|
+
|
9
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
10
|
+
# Ref: https://openapi-generator.tech
|
11
|
+
#
|
12
|
+
# Do not edit the class manually.
|
8
13
|
class {{#lambda.titlecase}}{{serviceName}}{{/lambda.titlecase}}
|
9
14
|
attr_accessor :service, :version
|
10
15
|
|