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.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/codeql.yml +0 -4
  3. data/VERSION +1 -1
  4. data/lib/adyen/client.rb +1 -1
  5. data/lib/adyen/services/balanceControlService.rb +6 -0
  6. data/lib/adyen/services/balancePlatform/account_holders_api.rb +20 -0
  7. data/lib/adyen/services/balancePlatform/balance_accounts_api.rb +24 -0
  8. data/lib/adyen/services/balancePlatform/bank_account_validation_api.rb +6 -0
  9. data/lib/adyen/services/balancePlatform/card_orders_api.rb +7 -0
  10. data/lib/adyen/services/balancePlatform/grant_accounts_api.rb +6 -0
  11. data/lib/adyen/services/balancePlatform/grant_offers_api.rb +7 -0
  12. data/lib/adyen/services/balancePlatform/manage_card_pin_api.rb +8 -0
  13. data/lib/adyen/services/balancePlatform/manage_sca_devices_api.rb +9 -0
  14. data/lib/adyen/services/balancePlatform/network_tokens_api.rb +7 -0
  15. data/lib/adyen/services/balancePlatform/payment_instrument_groups_api.rb +8 -0
  16. data/lib/adyen/services/balancePlatform/payment_instruments_api.rb +12 -0
  17. data/lib/adyen/services/balancePlatform/platform_api.rb +17 -0
  18. data/lib/adyen/services/balancePlatform/transaction_rules_api.rb +9 -0
  19. data/lib/adyen/services/balancePlatform/transfer_routes_api.rb +6 -0
  20. data/lib/adyen/services/balancePlatform.rb +5 -0
  21. data/lib/adyen/services/binLookup.rb +7 -0
  22. data/lib/adyen/services/checkout/donations_api.rb +7 -0
  23. data/lib/adyen/services/checkout/modifications_api.rb +11 -0
  24. data/lib/adyen/services/checkout/orders_api.rb +8 -0
  25. data/lib/adyen/services/checkout/payment_links_api.rb +8 -0
  26. data/lib/adyen/services/checkout/payments_api.rb +11 -0
  27. data/lib/adyen/services/checkout/recurring_api.rb +8 -0
  28. data/lib/adyen/services/checkout/utility_api.rb +10 -0
  29. data/lib/adyen/services/checkout.rb +5 -0
  30. data/lib/adyen/services/dataProtection.rb +6 -0
  31. data/lib/adyen/services/disputes.rb +10 -0
  32. data/lib/adyen/services/legalEntityManagement/business_lines_api.rb +9 -0
  33. data/lib/adyen/services/legalEntityManagement/documents_api.rb +9 -0
  34. data/lib/adyen/services/legalEntityManagement/hosted_onboarding_api.rb +8 -0
  35. data/lib/adyen/services/legalEntityManagement/legal_entities_api.rb +11 -0
  36. data/lib/adyen/services/legalEntityManagement/pci_questionnaires_api.rb +9 -0
  37. data/lib/adyen/services/legalEntityManagement/tax_e_delivery_consent_api.rb +7 -0
  38. data/lib/adyen/services/legalEntityManagement/terms_of_service_api.rb +10 -0
  39. data/lib/adyen/services/legalEntityManagement/transfer_instruments_api.rb +9 -0
  40. data/lib/adyen/services/legalEntityManagement.rb +5 -0
  41. data/lib/adyen/services/management/account_company_level_api.rb +8 -0
  42. data/lib/adyen/services/management/account_merchant_level_api.rb +9 -0
  43. data/lib/adyen/services/management/account_store_level_api.rb +13 -0
  44. data/lib/adyen/services/management/allowed_origins_company_level_api.rb +9 -0
  45. data/lib/adyen/services/management/allowed_origins_merchant_level_api.rb +9 -0
  46. data/lib/adyen/services/management/android_files_company_level_api.rb +11 -0
  47. data/lib/adyen/services/management/api_credentials_company_level_api.rb +9 -0
  48. data/lib/adyen/services/management/api_credentials_merchant_level_api.rb +9 -0
  49. data/lib/adyen/services/management/api_key_company_level_api.rb +6 -0
  50. data/lib/adyen/services/management/api_key_merchant_level_api.rb +6 -0
  51. data/lib/adyen/services/management/client_key_company_level_api.rb +6 -0
  52. data/lib/adyen/services/management/client_key_merchant_level_api.rb +6 -0
  53. data/lib/adyen/services/management/my_api_credential_api.rb +11 -0
  54. data/lib/adyen/services/management/payment_methods_merchant_level_api.rb +11 -0
  55. data/lib/adyen/services/management/payout_settings_merchant_level_api.rb +10 -0
  56. data/lib/adyen/services/management/split_configuration_merchant_level_api.rb +14 -0
  57. data/lib/adyen/services/management/terminal_actions_company_level_api.rb +7 -0
  58. data/lib/adyen/services/management/terminal_actions_terminal_level_api.rb +6 -0
  59. data/lib/adyen/services/management/terminal_orders_company_level_api.rb +15 -0
  60. data/lib/adyen/services/management/terminal_orders_merchant_level_api.rb +15 -0
  61. data/lib/adyen/services/management/terminal_settings_company_level_api.rb +9 -0
  62. data/lib/adyen/services/management/terminal_settings_merchant_level_api.rb +9 -0
  63. data/lib/adyen/services/management/terminal_settings_store_level_api.rb +13 -0
  64. data/lib/adyen/services/management/terminal_settings_terminal_level_api.rb +9 -0
  65. data/lib/adyen/services/management/terminals_terminal_level_api.rb +7 -0
  66. data/lib/adyen/services/management/users_company_level_api.rb +9 -0
  67. data/lib/adyen/services/management/users_merchant_level_api.rb +9 -0
  68. data/lib/adyen/services/management/webhooks_company_level_api.rb +12 -0
  69. data/lib/adyen/services/management/webhooks_merchant_level_api.rb +12 -0
  70. data/lib/adyen/services/management.rb +5 -0
  71. data/lib/adyen/services/payment.rb +20 -0
  72. data/lib/adyen/services/paymentsApp.rb +10 -0
  73. data/lib/adyen/services/payout/initialization_api.rb +8 -0
  74. data/lib/adyen/services/payout/instant_payouts_api.rb +6 -0
  75. data/lib/adyen/services/payout/reviewing_api.rb +7 -0
  76. data/lib/adyen/services/payout.rb +5 -0
  77. data/lib/adyen/services/posMobile.rb +6 -0
  78. data/lib/adyen/services/posTerminalManagement.rb +10 -0
  79. data/lib/adyen/services/recurring.rb +11 -0
  80. data/lib/adyen/services/storedValue.rb +11 -0
  81. data/lib/adyen/services/transfers/capital_api.rb +8 -0
  82. data/lib/adyen/services/transfers/transactions_api.rb +7 -0
  83. data/lib/adyen/services/transfers/transfers_api.rb +11 -0
  84. data/lib/adyen/services/transfers.rb +5 -0
  85. data/lib/adyen/version.rb +1 -1
  86. data/renovate.json +3 -3
  87. data/templates/api-single.mustache +5 -0
  88. data/templates/api-small.mustache +9 -0
  89. data/templates/api.mustache +9 -0
  90. metadata +3 -3
@@ -8,6 +8,11 @@ require_relative 'legalEntityManagement/terms_of_service_api'
8
8
  require_relative 'legalEntityManagement/transfer_instruments_api'
9
9
 
10
10
  module Adyen
11
+
12
+ # NOTE: This class is auto generated by OpenAPI Generator
13
+ # Ref: https://openapi-generator.tech
14
+ #
15
+ # Do not edit the class manually.
11
16
  class LegalEntityManagement
12
17
  attr_accessor :service, :version
13
18
 
@@ -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 AccountCompanyLevelApi < 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 company account
10
16
  def get_company_account(company_id, headers: {})
11
17
  endpoint = '/companies/{companyId}'.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 company accounts
19
26
  def list_company_accounts(headers: {}, query_params: {})
20
27
  endpoint = '/companies'.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 merchant accounts
28
36
  def list_merchant_accounts(company_id, headers: {}, query_params: {})
29
37
  endpoint = '/companies/{companyId}/merchants'.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 AccountMerchantLevelApi < 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 merchant account
10
16
  def create_merchant_account(request, headers: {})
11
17
  endpoint = '/merchants'.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 a merchant account
19
26
  def get_merchant_account(merchant_id, headers: {})
20
27
  endpoint = '/merchants/{merchantId}'.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 merchant accounts
28
36
  def list_merchant_accounts(headers: {}, query_params: {})
29
37
  endpoint = '/merchants'.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
+ # Request to activate a merchant account
37
46
  def request_to_activate_merchant_account(merchant_id, headers: {})
38
47
  endpoint = '/merchants/{merchantId}/activate'.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 AccountStoreLevelApi < 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 store
10
16
  def create_store(request, headers: {})
11
17
  endpoint = '/stores'.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 store
19
26
  def create_store_by_merchant_id(request, merchant_id, headers: {})
20
27
  endpoint = '/merchants/{merchantId}/stores'.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 a store
28
36
  def get_store(merchant_id, store_id, headers: {})
29
37
  endpoint = '/merchants/{merchantId}/stores/{storeId}'.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 store
37
46
  def get_store_by_id(store_id, headers: {})
38
47
  endpoint = '/stores/{storeId}'.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 stores
46
56
  def list_stores(headers: {}, query_params: {})
47
57
  endpoint = '/stores'.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 stores
55
66
  def list_stores_by_merchant_id(merchant_id, headers: {}, query_params: {})
56
67
  endpoint = '/merchants/{merchantId}/stores'.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 a store
64
76
  def update_store(request, merchant_id, store_id, headers: {})
65
77
  endpoint = '/merchants/{merchantId}/stores/{storeId}'.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 a store
73
86
  def update_store_by_id(request, store_id, headers: {})
74
87
  endpoint = '/stores/{storeId}'.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 AllowedOriginsCompanyLevelApi < 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 an allowed origin
10
16
  def create_allowed_origin(request, company_id, api_credential_id, headers: {})
11
17
  endpoint = '/companies/{companyId}/apiCredentials/{apiCredentialId}/allowedOrigins'.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
+ # Delete an allowed origin
19
26
  def delete_allowed_origin(company_id, api_credential_id, origin_id, headers: {})
20
27
  endpoint = '/companies/{companyId}/apiCredentials/{apiCredentialId}/allowedOrigins/{originId}'.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 an allowed origin
28
36
  def get_allowed_origin(company_id, api_credential_id, origin_id, headers: {})
29
37
  endpoint = '/companies/{companyId}/apiCredentials/{apiCredentialId}/allowedOrigins/{originId}'.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 list of allowed origins
37
46
  def list_allowed_origins(company_id, api_credential_id, headers: {})
38
47
  endpoint = '/companies/{companyId}/apiCredentials/{apiCredentialId}/allowedOrigins'.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 AllowedOriginsMerchantLevelApi < 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 an allowed origin
10
16
  def create_allowed_origin(request, merchant_id, api_credential_id, headers: {})
11
17
  endpoint = '/merchants/{merchantId}/apiCredentials/{apiCredentialId}/allowedOrigins'.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
+ # Delete an allowed origin
19
26
  def delete_allowed_origin(merchant_id, api_credential_id, origin_id, headers: {})
20
27
  endpoint = '/merchants/{merchantId}/apiCredentials/{apiCredentialId}/allowedOrigins/{originId}'.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 an allowed origin
28
36
  def get_allowed_origin(merchant_id, api_credential_id, origin_id, headers: {})
29
37
  endpoint = '/merchants/{merchantId}/apiCredentials/{apiCredentialId}/allowedOrigins/{originId}'.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 list of allowed origins
37
46
  def list_allowed_origins(merchant_id, api_credential_id, headers: {})
38
47
  endpoint = '/merchants/{merchantId}/apiCredentials/{apiCredentialId}/allowedOrigins'.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 AndroidFilesCompanyLevelApi < 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 Android app
10
16
  def get_android_app(company_id, id, headers: {})
11
17
  endpoint = '/companies/{companyId}/androidApps/{id}'.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 Android apps
19
26
  def list_android_apps(company_id, headers: {}, query_params: {})
20
27
  endpoint = '/companies/{companyId}/androidApps'.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 Android certificates
28
36
  def list_android_certificates(company_id, headers: {}, query_params: {})
29
37
  endpoint = '/companies/{companyId}/androidCertificates'.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
+ # Reprocess Android App
37
46
  def reprocess_android_app(company_id, id, headers: {})
38
47
  endpoint = '/companies/{companyId}/androidApps/{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
+ # Upload Android App
46
56
  def upload_android_app(company_id, headers: {})
47
57
  endpoint = '/companies/{companyId}/androidApps'.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
+ # Upload Android Certificate
55
66
  def upload_android_certificate(company_id, headers: {})
56
67
  endpoint = '/companies/{companyId}/androidCertificates'.gsub(/{.+?}/, '%s')
57
68
  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 APICredentialsCompanyLevelApi < 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 an API credential.
10
16
  def create_api_credential(request, company_id, headers: {})
11
17
  endpoint = '/companies/{companyId}/apiCredentials'.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 an API credential
19
26
  def get_api_credential(company_id, api_credential_id, headers: {})
20
27
  endpoint = '/companies/{companyId}/apiCredentials/{apiCredentialId}'.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 API credentials
28
36
  def list_api_credentials(company_id, headers: {}, query_params: {})
29
37
  endpoint = '/companies/{companyId}/apiCredentials'.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 an API credential.
37
46
  def update_api_credential(request, company_id, api_credential_id, headers: {})
38
47
  endpoint = '/companies/{companyId}/apiCredentials/{apiCredentialId}'.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 APICredentialsMerchantLevelApi < 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 an API credential
10
16
  def create_api_credential(request, merchant_id, headers: {})
11
17
  endpoint = '/merchants/{merchantId}/apiCredentials'.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 an API credential
19
26
  def get_api_credential(merchant_id, api_credential_id, headers: {})
20
27
  endpoint = '/merchants/{merchantId}/apiCredentials/{apiCredentialId}'.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 API credentials
28
36
  def list_api_credentials(merchant_id, headers: {}, query_params: {})
29
37
  endpoint = '/merchants/{merchantId}/apiCredentials'.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 an API credential
37
46
  def update_api_credential(request, merchant_id, api_credential_id, headers: {})
38
47
  endpoint = '/merchants/{merchantId}/apiCredentials/{apiCredentialId}'.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 APIKeyCompanyLevelApi < 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 new API key
10
16
  def generate_new_api_key(company_id, api_credential_id, headers: {})
11
17
  endpoint = '/companies/{companyId}/apiCredentials/{apiCredentialId}/generateApiKey'.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 APIKeyMerchantLevelApi < 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 new API key
10
16
  def generate_new_api_key(merchant_id, api_credential_id, headers: {})
11
17
  endpoint = '/merchants/{merchantId}/apiCredentials/{apiCredentialId}/generateApiKey'.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 ClientKeyCompanyLevelApi < 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 new client key
10
16
  def generate_new_client_key(company_id, api_credential_id, headers: {})
11
17
  endpoint = '/companies/{companyId}/apiCredentials/{apiCredentialId}/generateClientKey'.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 ClientKeyMerchantLevelApi < 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 new client key
10
16
  def generate_new_client_key(merchant_id, api_credential_id, headers: {})
11
17
  endpoint = '/merchants/{merchantId}/apiCredentials/{apiCredentialId}/generateClientKey'.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 MyAPICredentialApi < 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
+ # Add allowed origin
10
16
  def add_allowed_origin(request, headers: {})
11
17
  endpoint = '/me/allowedOrigins'.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
+ # Generate a client key
19
26
  def generate_client_key(headers: {})
20
27
  endpoint = '/me/generateClientKey'.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 allowed origin details
28
36
  def get_allowed_origin_details(origin_id, headers: {})
29
37
  endpoint = '/me/allowedOrigins/{originId}'.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 allowed origins
37
46
  def get_allowed_origins(headers: {})
38
47
  endpoint = '/me/allowedOrigins'.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 API credential details
46
56
  def get_api_credential_details(headers: {})
47
57
  endpoint = '/me'.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
+ # Remove allowed origin
55
66
  def remove_allowed_origin(origin_id, headers: {})
56
67
  endpoint = '/me/allowedOrigins/{originId}'.gsub(/{.+?}/, '%s')
57
68
  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 PaymentMethodsMerchantLevelApi < 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
+ # Add an Apple Pay domain
10
16
  def add_apple_pay_domain(request, merchant_id, payment_method_id, headers: {})
11
17
  endpoint = '/merchants/{merchantId}/paymentMethodSettings/{paymentMethodId}/addApplePayDomains'.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 all payment methods
19
26
  def get_all_payment_methods(merchant_id, headers: {}, query_params: {})
20
27
  endpoint = '/merchants/{merchantId}/paymentMethodSettings'.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 Apple Pay domains
28
36
  def get_apple_pay_domains(merchant_id, payment_method_id, headers: {})
29
37
  endpoint = '/merchants/{merchantId}/paymentMethodSettings/{paymentMethodId}/getApplePayDomains'.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 payment method details
37
46
  def get_payment_method_details(merchant_id, payment_method_id, headers: {})
38
47
  endpoint = '/merchants/{merchantId}/paymentMethodSettings/{paymentMethodId}'.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
+ # Request a payment method
46
56
  def request_payment_method(request, merchant_id, headers: {})
47
57
  endpoint = '/merchants/{merchantId}/paymentMethodSettings'.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 a payment method
55
66
  def update_payment_method(request, merchant_id, payment_method_id, headers: {})
56
67
  endpoint = '/merchants/{merchantId}/paymentMethodSettings/{paymentMethodId}'.gsub(/{.+?}/, '%s')
57
68
  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 PayoutSettingsMerchantLevelApi < 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
+ # Add a payout setting
10
16
  def add_payout_setting(request, merchant_id, headers: {})
11
17
  endpoint = '/merchants/{merchantId}/payoutSettings'.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
+ # Delete a payout setting
19
26
  def delete_payout_setting(merchant_id, payout_settings_id, headers: {})
20
27
  endpoint = '/merchants/{merchantId}/payoutSettings/{payoutSettingsId}'.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 payout setting
28
36
  def get_payout_setting(merchant_id, payout_settings_id, headers: {})
29
37
  endpoint = '/merchants/{merchantId}/payoutSettings/{payoutSettingsId}'.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 list of payout settings
37
46
  def list_payout_settings(merchant_id, headers: {})
38
47
  endpoint = '/merchants/{merchantId}/payoutSettings'.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 a payout setting
46
56
  def update_payout_setting(request, merchant_id, payout_settings_id, headers: {})
47
57
  endpoint = '/merchants/{merchantId}/payoutSettings/{payoutSettingsId}'.gsub(/{.+?}/, '%s')
48
58
  endpoint = endpoint.gsub(%r{^/}, '')