adyen-ruby-api-library 10.0.0 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +19 -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 SplitConfigurationMerchantLevelApi < 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
|
+
# Create a rule
|
10
16
|
def create_rule(request, merchant_id, split_configuration_id, headers: {})
|
11
17
|
endpoint = '/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}'.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
|
+
# Create a split configuration
|
19
26
|
def create_split_configuration(request, merchant_id, headers: {})
|
20
27
|
endpoint = '/merchants/{merchantId}/splitConfigurations'.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
|
+
# Delete a split configuration
|
28
36
|
def delete_split_configuration(merchant_id, split_configuration_id, headers: {})
|
29
37
|
endpoint = '/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}'.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
|
+
# Delete a split configuration rule
|
37
46
|
def delete_split_configuration_rule(merchant_id, split_configuration_id, rule_id, headers: {})
|
38
47
|
endpoint = '/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}/rules/{ruleId}'.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
|
+
# Get a split configuration
|
46
56
|
def get_split_configuration(merchant_id, split_configuration_id, headers: {})
|
47
57
|
endpoint = '/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}'.gsub(/{.+?}/, '%s')
|
48
58
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -52,6 +62,7 @@ module Adyen
|
|
52
62
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
53
63
|
end
|
54
64
|
|
65
|
+
# Get a list of split configurations
|
55
66
|
def list_split_configurations(merchant_id, headers: {})
|
56
67
|
endpoint = '/merchants/{merchantId}/splitConfigurations'.gsub(/{.+?}/, '%s')
|
57
68
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -61,6 +72,7 @@ module Adyen
|
|
61
72
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
62
73
|
end
|
63
74
|
|
75
|
+
# Update split conditions
|
64
76
|
def update_split_conditions(request, merchant_id, split_configuration_id, rule_id, headers: {})
|
65
77
|
endpoint = '/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}/rules/{ruleId}'.gsub(/{.+?}/, '%s')
|
66
78
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -70,6 +82,7 @@ module Adyen
|
|
70
82
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
71
83
|
end
|
72
84
|
|
85
|
+
# Update split configuration description
|
73
86
|
def update_split_configuration_description(request, merchant_id, split_configuration_id, headers: {})
|
74
87
|
endpoint = '/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}'.gsub(/{.+?}/, '%s')
|
75
88
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -79,6 +92,7 @@ module Adyen
|
|
79
92
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
80
93
|
end
|
81
94
|
|
95
|
+
# Update the split logic
|
82
96
|
def update_split_logic(request, merchant_id, split_configuration_id, rule_id, split_logic_id, headers: {})
|
83
97
|
endpoint = '/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}/rules/{ruleId}/splitLogic/{splitLogicId}'.gsub(/{.+?}/, '%s')
|
84
98
|
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 TerminalActionsCompanyLevelApi < 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
|
+
# Get terminal action
|
10
16
|
def get_terminal_action(company_id, action_id, headers: {})
|
11
17
|
endpoint = '/companies/{companyId}/terminalActions/{actionId}'.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 list of terminal actions
|
19
26
|
def list_terminal_actions(company_id, headers: {}, query_params: {})
|
20
27
|
endpoint = '/companies/{companyId}/terminalActions'.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 TerminalActionsTerminalLevelApi < 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
|
+
# Create a terminal action
|
10
16
|
def create_terminal_action(request, headers: {})
|
11
17
|
endpoint = '/terminals/scheduleActions'.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 TerminalOrdersCompanyLevelApi < 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
|
+
# Cancel an order
|
10
16
|
def cancel_order(company_id, order_id, headers: {})
|
11
17
|
endpoint = '/companies/{companyId}/terminalOrders/{orderId}/cancel'.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
|
+
# Create an order
|
19
26
|
def create_order(request, company_id, headers: {})
|
20
27
|
endpoint = '/companies/{companyId}/terminalOrders'.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
|
+
# Create a shipping location
|
28
36
|
def create_shipping_location(request, company_id, headers: {})
|
29
37
|
endpoint = '/companies/{companyId}/shippingLocations'.gsub(/{.+?}/, '%s')
|
30
38
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -34,6 +42,7 @@ module Adyen
|
|
34
42
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
35
43
|
end
|
36
44
|
|
45
|
+
# Get an order
|
37
46
|
def get_order(company_id, order_id, headers: {})
|
38
47
|
endpoint = '/companies/{companyId}/terminalOrders/{orderId}'.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
|
+
# Get a list of billing entities
|
46
56
|
def list_billing_entities(company_id, headers: {}, query_params: {})
|
47
57
|
endpoint = '/companies/{companyId}/billingEntities'.gsub(/{.+?}/, '%s')
|
48
58
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -52,6 +62,7 @@ module Adyen
|
|
52
62
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
53
63
|
end
|
54
64
|
|
65
|
+
# Get a list of orders
|
55
66
|
def list_orders(company_id, headers: {}, query_params: {})
|
56
67
|
endpoint = '/companies/{companyId}/terminalOrders'.gsub(/{.+?}/, '%s')
|
57
68
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -61,6 +72,7 @@ module Adyen
|
|
61
72
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
62
73
|
end
|
63
74
|
|
75
|
+
# Get a list of shipping locations
|
64
76
|
def list_shipping_locations(company_id, headers: {}, query_params: {})
|
65
77
|
endpoint = '/companies/{companyId}/shippingLocations'.gsub(/{.+?}/, '%s')
|
66
78
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -70,6 +82,7 @@ module Adyen
|
|
70
82
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
71
83
|
end
|
72
84
|
|
85
|
+
# Get a list of terminal models
|
73
86
|
def list_terminal_models(company_id, headers: {})
|
74
87
|
endpoint = '/companies/{companyId}/terminalModels'.gsub(/{.+?}/, '%s')
|
75
88
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -79,6 +92,7 @@ module Adyen
|
|
79
92
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
80
93
|
end
|
81
94
|
|
95
|
+
# Get a list of terminal products
|
82
96
|
def list_terminal_products(company_id, headers: {}, query_params: {})
|
83
97
|
endpoint = '/companies/{companyId}/terminalProducts'.gsub(/{.+?}/, '%s')
|
84
98
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -88,6 +102,7 @@ module Adyen
|
|
88
102
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
89
103
|
end
|
90
104
|
|
105
|
+
# Update an order
|
91
106
|
def update_order(request, company_id, order_id, headers: {})
|
92
107
|
endpoint = '/companies/{companyId}/terminalOrders/{orderId}'.gsub(/{.+?}/, '%s')
|
93
108
|
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 TerminalOrdersMerchantLevelApi < 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
|
+
# Cancel an order
|
10
16
|
def cancel_order(merchant_id, order_id, headers: {})
|
11
17
|
endpoint = '/merchants/{merchantId}/terminalOrders/{orderId}/cancel'.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
|
+
# Create an order
|
19
26
|
def create_order(request, merchant_id, headers: {})
|
20
27
|
endpoint = '/merchants/{merchantId}/terminalOrders'.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
|
+
# Create a shipping location
|
28
36
|
def create_shipping_location(request, merchant_id, headers: {})
|
29
37
|
endpoint = '/merchants/{merchantId}/shippingLocations'.gsub(/{.+?}/, '%s')
|
30
38
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -34,6 +42,7 @@ module Adyen
|
|
34
42
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
35
43
|
end
|
36
44
|
|
45
|
+
# Get an order
|
37
46
|
def get_order(merchant_id, order_id, headers: {})
|
38
47
|
endpoint = '/merchants/{merchantId}/terminalOrders/{orderId}'.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
|
+
# Get a list of billing entities
|
46
56
|
def list_billing_entities(merchant_id, headers: {}, query_params: {})
|
47
57
|
endpoint = '/merchants/{merchantId}/billingEntities'.gsub(/{.+?}/, '%s')
|
48
58
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -52,6 +62,7 @@ module Adyen
|
|
52
62
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
53
63
|
end
|
54
64
|
|
65
|
+
# Get a list of orders
|
55
66
|
def list_orders(merchant_id, headers: {}, query_params: {})
|
56
67
|
endpoint = '/merchants/{merchantId}/terminalOrders'.gsub(/{.+?}/, '%s')
|
57
68
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -61,6 +72,7 @@ module Adyen
|
|
61
72
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
62
73
|
end
|
63
74
|
|
75
|
+
# Get a list of shipping locations
|
64
76
|
def list_shipping_locations(merchant_id, headers: {}, query_params: {})
|
65
77
|
endpoint = '/merchants/{merchantId}/shippingLocations'.gsub(/{.+?}/, '%s')
|
66
78
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -70,6 +82,7 @@ module Adyen
|
|
70
82
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
71
83
|
end
|
72
84
|
|
85
|
+
# Get a list of terminal models
|
73
86
|
def list_terminal_models(merchant_id, headers: {})
|
74
87
|
endpoint = '/merchants/{merchantId}/terminalModels'.gsub(/{.+?}/, '%s')
|
75
88
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -79,6 +92,7 @@ module Adyen
|
|
79
92
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
80
93
|
end
|
81
94
|
|
95
|
+
# Get a list of terminal products
|
82
96
|
def list_terminal_products(merchant_id, headers: {}, query_params: {})
|
83
97
|
endpoint = '/merchants/{merchantId}/terminalProducts'.gsub(/{.+?}/, '%s')
|
84
98
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -88,6 +102,7 @@ module Adyen
|
|
88
102
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
89
103
|
end
|
90
104
|
|
105
|
+
# Update an order
|
91
106
|
def update_order(request, merchant_id, order_id, headers: {})
|
92
107
|
endpoint = '/merchants/{merchantId}/terminalOrders/{orderId}'.gsub(/{.+?}/, '%s')
|
93
108
|
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 TerminalSettingsCompanyLevelApi < 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
|
+
# Get the terminal logo
|
10
16
|
def get_terminal_logo(company_id, headers: {}, query_params: {})
|
11
17
|
endpoint = '/companies/{companyId}/terminalLogos'.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 terminal settings
|
19
26
|
def get_terminal_settings(company_id, headers: {})
|
20
27
|
endpoint = '/companies/{companyId}/terminalSettings'.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
|
+
# Update the terminal logo
|
28
36
|
def update_terminal_logo(request, company_id, headers: {}, query_params: {})
|
29
37
|
endpoint = '/companies/{companyId}/terminalLogos'.gsub(/{.+?}/, '%s')
|
30
38
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -34,6 +42,7 @@ module Adyen
|
|
34
42
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
35
43
|
end
|
36
44
|
|
45
|
+
# Update terminal settings
|
37
46
|
def update_terminal_settings(request, company_id, headers: {})
|
38
47
|
endpoint = '/companies/{companyId}/terminalSettings'.gsub(/{.+?}/, '%s')
|
39
48
|
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 TerminalSettingsMerchantLevelApi < 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
|
+
# Get the terminal logo
|
10
16
|
def get_terminal_logo(merchant_id, headers: {}, query_params: {})
|
11
17
|
endpoint = '/merchants/{merchantId}/terminalLogos'.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 terminal settings
|
19
26
|
def get_terminal_settings(merchant_id, headers: {})
|
20
27
|
endpoint = '/merchants/{merchantId}/terminalSettings'.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
|
+
# Update the terminal logo
|
28
36
|
def update_terminal_logo(request, merchant_id, headers: {}, query_params: {})
|
29
37
|
endpoint = '/merchants/{merchantId}/terminalLogos'.gsub(/{.+?}/, '%s')
|
30
38
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -34,6 +42,7 @@ module Adyen
|
|
34
42
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
35
43
|
end
|
36
44
|
|
45
|
+
# Update terminal settings
|
37
46
|
def update_terminal_settings(request, merchant_id, headers: {})
|
38
47
|
endpoint = '/merchants/{merchantId}/terminalSettings'.gsub(/{.+?}/, '%s')
|
39
48
|
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 TerminalSettingsStoreLevelApi < 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
|
+
# Get the terminal logo
|
10
16
|
def get_terminal_logo(merchant_id, reference, headers: {}, query_params: {})
|
11
17
|
endpoint = '/merchants/{merchantId}/stores/{reference}/terminalLogos'.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 the terminal logo
|
19
26
|
def get_terminal_logo_by_store_id(store_id, headers: {}, query_params: {})
|
20
27
|
endpoint = '/stores/{storeId}/terminalLogos'.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
|
+
# Get terminal settings
|
28
36
|
def get_terminal_settings(merchant_id, reference, headers: {})
|
29
37
|
endpoint = '/merchants/{merchantId}/stores/{reference}/terminalSettings'.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 terminal settings
|
37
46
|
def get_terminal_settings_by_store_id(store_id, headers: {})
|
38
47
|
endpoint = '/stores/{storeId}/terminalSettings'.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
|
+
# Update the terminal logo
|
46
56
|
def update_terminal_logo(request, merchant_id, reference, headers: {}, query_params: {})
|
47
57
|
endpoint = '/merchants/{merchantId}/stores/{reference}/terminalLogos'.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
|
+
# Update the terminal logo
|
55
66
|
def update_terminal_logo_by_store_id(request, store_id, headers: {}, query_params: {})
|
56
67
|
endpoint = '/stores/{storeId}/terminalLogos'.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 terminal settings
|
64
76
|
def update_terminal_settings(request, merchant_id, reference, headers: {})
|
65
77
|
endpoint = '/merchants/{merchantId}/stores/{reference}/terminalSettings'.gsub(/{.+?}/, '%s')
|
66
78
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -70,6 +82,7 @@ module Adyen
|
|
70
82
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
71
83
|
end
|
72
84
|
|
85
|
+
# Update terminal settings
|
73
86
|
def update_terminal_settings_by_store_id(request, store_id, headers: {})
|
74
87
|
endpoint = '/stores/{storeId}/terminalSettings'.gsub(/{.+?}/, '%s')
|
75
88
|
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 TerminalSettingsTerminalLevelApi < 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
|
+
# Get the terminal logo
|
10
16
|
def get_terminal_logo(terminal_id, headers: {})
|
11
17
|
endpoint = '/terminals/{terminalId}/terminalLogos'.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 terminal settings
|
19
26
|
def get_terminal_settings(terminal_id, headers: {})
|
20
27
|
endpoint = '/terminals/{terminalId}/terminalSettings'.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
|
+
# Update the logo
|
28
36
|
def update_logo(request, terminal_id, headers: {})
|
29
37
|
endpoint = '/terminals/{terminalId}/terminalLogos'.gsub(/{.+?}/, '%s')
|
30
38
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -34,6 +42,7 @@ module Adyen
|
|
34
42
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
35
43
|
end
|
36
44
|
|
45
|
+
# Update terminal settings
|
37
46
|
def update_terminal_settings(request, terminal_id, headers: {})
|
38
47
|
endpoint = '/terminals/{terminalId}/terminalSettings'.gsub(/{.+?}/, '%s')
|
39
48
|
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 TerminalsTerminalLevelApi < 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
|
+
# Get a list of terminals
|
10
16
|
def list_terminals(headers: {}, query_params: {})
|
11
17
|
endpoint = '/terminals'.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
|
+
# Reassign a terminal
|
19
26
|
def reassign_terminal(request, terminal_id, headers: {})
|
20
27
|
endpoint = '/terminals/{terminalId}/reassign'.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 UsersCompanyLevelApi < 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
|
+
# Create a new user
|
10
16
|
def create_new_user(request, company_id, headers: {})
|
11
17
|
endpoint = '/companies/{companyId}/users'.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
|
+
# Get user details
|
19
26
|
def get_user_details(company_id, user_id, headers: {})
|
20
27
|
endpoint = '/companies/{companyId}/users/{userId}'.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
|
+
# Get a list of users
|
28
36
|
def list_users(company_id, headers: {}, query_params: {})
|
29
37
|
endpoint = '/companies/{companyId}/users'.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
|
+
# Update user details
|
37
46
|
def update_user_details(request, company_id, user_id, headers: {})
|
38
47
|
endpoint = '/companies/{companyId}/users/{userId}'.gsub(/{.+?}/, '%s')
|
39
48
|
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 UsersMerchantLevelApi < 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
|
+
# Create a new user
|
10
16
|
def create_new_user(request, merchant_id, headers: {})
|
11
17
|
endpoint = '/merchants/{merchantId}/users'.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
|
+
# Get user details
|
19
26
|
def get_user_details(merchant_id, user_id, headers: {})
|
20
27
|
endpoint = '/merchants/{merchantId}/users/{userId}'.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
|
+
# Get a list of users
|
28
36
|
def list_users(merchant_id, headers: {}, query_params: {})
|
29
37
|
endpoint = '/merchants/{merchantId}/users'.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
|
+
# Update a user
|
37
46
|
def update_user(request, merchant_id, user_id, headers: {})
|
38
47
|
endpoint = '/merchants/{merchantId}/users/{userId}'.gsub(/{.+?}/, '%s')
|
39
48
|
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 WebhooksCompanyLevelApi < 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(company_id, webhook_id, headers: {})
|
11
17
|
endpoint = '/companies/{companyId}/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(company_id, webhook_id, headers: {})
|
20
27
|
endpoint = '/companies/{companyId}/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(company_id, headers: {}, query_params: {})
|
29
37
|
endpoint = '/companies/{companyId}/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(company_id, webhook_id, headers: {})
|
38
47
|
endpoint = '/companies/{companyId}/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, company_id, headers: {})
|
47
57
|
endpoint = '/companies/{companyId}/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, company_id, webhook_id, headers: {})
|
56
67
|
endpoint = '/companies/{companyId}/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, company_id, webhook_id, headers: {})
|
65
77
|
endpoint = '/companies/{companyId}/webhooks/{webhookId}'.gsub(/{.+?}/, '%s')
|
66
78
|
endpoint = endpoint.gsub(%r{^/}, '')
|