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
@@ -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 ModificationsApi < Service
4
9
  attr_accessor :service, :version
5
10
 
@@ -7,6 +12,7 @@ module Adyen
7
12
  super(client, version, 'Checkout')
8
13
  end
9
14
 
15
+ # Cancel an authorised payment
10
16
  def cancel_authorised_payment(request, headers: {})
11
17
  endpoint = '/cancels'.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 an authorised payment
19
26
  def cancel_authorised_payment_by_psp_reference(request, payment_psp_reference, headers: {})
20
27
  endpoint = '/payments/{paymentPspReference}/cancels'.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
+ # Capture an authorised payment
28
36
  def capture_authorised_payment(request, payment_psp_reference, headers: {})
29
37
  endpoint = '/payments/{paymentPspReference}/captures'.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
+ # Refund a captured payment
37
46
  def refund_captured_payment(request, payment_psp_reference, headers: {})
38
47
  endpoint = '/payments/{paymentPspReference}/refunds'.gsub(/{.+?}/, '%s')
39
48
  endpoint = endpoint.gsub(%r{^/}, '')
@@ -43,6 +52,7 @@ module Adyen
43
52
  @client.call_adyen_api(@service, action, request, headers, @version)
44
53
  end
45
54
 
55
+ # Refund or cancel a payment
46
56
  def refund_or_cancel_payment(request, payment_psp_reference, headers: {})
47
57
  endpoint = '/payments/{paymentPspReference}/reversals'.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 an authorised amount
55
66
  def update_authorised_amount(request, payment_psp_reference, headers: {})
56
67
  endpoint = '/payments/{paymentPspReference}/amountUpdates'.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 OrdersApi < Service
4
9
  attr_accessor :service, :version
5
10
 
@@ -7,6 +12,7 @@ module Adyen
7
12
  super(client, version, 'Checkout')
8
13
  end
9
14
 
15
+ # Cancel an order
10
16
  def cancel_order(request, headers: {})
11
17
  endpoint = '/orders/cancel'.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 the balance of a gift card
19
26
  def get_balance_of_gift_card(request, headers: {})
20
27
  endpoint = '/paymentMethods/balance'.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 an order
28
36
  def orders(request, headers: {})
29
37
  endpoint = '/orders'.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 PaymentLinksApi < Service
4
9
  attr_accessor :service, :version
5
10
 
@@ -7,6 +12,7 @@ module Adyen
7
12
  super(client, version, 'Checkout')
8
13
  end
9
14
 
15
+ # Get a payment link
10
16
  def get_payment_link(link_id, headers: {})
11
17
  endpoint = '/paymentLinks/{linkId}'.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 a payment link
19
26
  def payment_links(request, headers: {})
20
27
  endpoint = '/paymentLinks'.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
+ # Update the status of a payment link
28
36
  def update_payment_link(request, link_id, headers: {})
29
37
  endpoint = '/paymentLinks/{linkId}'.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 PaymentsApi < Service
4
9
  attr_accessor :service, :version
5
10
 
@@ -7,6 +12,7 @@ module Adyen
7
12
  super(client, version, 'Checkout')
8
13
  end
9
14
 
15
+ # Get the list of brands on the card
10
16
  def card_details(request, headers: {})
11
17
  endpoint = '/cardDetails'.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 the result of a payment session
19
26
  def get_result_of_payment_session(session_id, headers: {}, query_params: {})
20
27
  endpoint = '/sessions/{sessionId}'.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 available payment methods
28
36
  def payment_methods(request, headers: {})
29
37
  endpoint = '/paymentMethods'.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
+ # Start a transaction
37
46
  def payments(request, headers: {})
38
47
  endpoint = '/payments'.gsub(/{.+?}/, '%s')
39
48
  endpoint = endpoint.gsub(%r{^/}, '')
@@ -43,6 +52,7 @@ module Adyen
43
52
  @client.call_adyen_api(@service, action, request, headers, @version)
44
53
  end
45
54
 
55
+ # Submit details for a payment
46
56
  def payments_details(request, headers: {})
47
57
  endpoint = '/payments/details'.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
+ # Create a payment session
55
66
  def sessions(request, headers: {})
56
67
  endpoint = '/sessions'.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 RecurringApi < Service
4
9
  attr_accessor :service, :version
5
10
 
@@ -7,6 +12,7 @@ module Adyen
7
12
  super(client, version, 'Checkout')
8
13
  end
9
14
 
15
+ # Delete a token for stored payment details
10
16
  def delete_token_for_stored_payment_details(stored_payment_method_id, headers: {}, query_params: {})
11
17
  endpoint = '/storedPaymentMethods/{storedPaymentMethodId}'.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 tokens for stored payment details
19
26
  def get_tokens_for_stored_payment_details(headers: {}, query_params: {})
20
27
  endpoint = '/storedPaymentMethods'.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
+ # Create a token to store payment details
28
36
  def stored_payment_methods(request, headers: {})
29
37
  endpoint = '/storedPaymentMethods'.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 UtilityApi < Service
4
9
  attr_accessor :service, :version
5
10
 
@@ -7,6 +12,7 @@ module Adyen
7
12
  super(client, version, 'Checkout')
8
13
  end
9
14
 
15
+ # Get an Apple Pay session
10
16
  def get_apple_pay_session(request, headers: {})
11
17
  endpoint = '/applePay/sessions'.gsub(/{.+?}/, '%s')
12
18
  endpoint = endpoint.gsub(%r{^/}, '')
@@ -16,6 +22,9 @@ module Adyen
16
22
  @client.call_adyen_api(@service, action, request, headers, @version)
17
23
  end
18
24
 
25
+ # Create originKey values for domains
26
+ #
27
+ # Deprecated since Adyen Checkout API v67
19
28
  def origin_keys(request, headers: {})
20
29
  endpoint = '/originKeys'.gsub(/{.+?}/, '%s')
21
30
  endpoint = endpoint.gsub(%r{^/}, '')
@@ -25,6 +34,7 @@ module Adyen
25
34
  @client.call_adyen_api(@service, action, request, headers, @version)
26
35
  end
27
36
 
37
+ # Updates the order for PayPal Express Checkout
28
38
  def updates_order_for_paypal_express_checkout(request, headers: {})
29
39
  endpoint = '/paypal/updateOrder'.gsub(/{.+?}/, '%s')
30
40
  endpoint = endpoint.gsub(%r{^/}, '')
@@ -7,6 +7,11 @@ require_relative 'checkout/recurring_api'
7
7
  require_relative 'checkout/utility_api'
8
8
 
9
9
  module Adyen
10
+
11
+ # NOTE: This class is auto generated by OpenAPI Generator
12
+ # Ref: https://openapi-generator.tech
13
+ #
14
+ # Do not edit the class manually.
10
15
  class Checkout
11
16
  attr_accessor :service, :version
12
17
 
@@ -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 DataProtection < Service
4
9
  attr_accessor :service, :version
5
10
 
@@ -8,6 +13,7 @@ module Adyen
8
13
  super(client, version, 'DataProtectionService')
9
14
  end
10
15
 
16
+ # Submit a Subject Erasure Request.
11
17
  def request_subject_erasure(request, headers: {})
12
18
  endpoint = '/requestSubjectErasure'.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 Disputes < Service
4
9
  attr_accessor :service, :version
5
10
 
@@ -8,6 +13,7 @@ module Adyen
8
13
  super(client, version, 'Disputes')
9
14
  end
10
15
 
16
+ # Accept a dispute
11
17
  def accept_dispute(request, headers: {})
12
18
  endpoint = '/acceptDispute'.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
+ # Defend a dispute
20
27
  def defend_dispute(request, headers: {})
21
28
  endpoint = '/defendDispute'.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
+ # Delete a defense document
29
37
  def delete_dispute_defense_document(request, headers: {})
30
38
  endpoint = '/deleteDisputeDefenseDocument'.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 applicable defense reasons
38
47
  def retrieve_applicable_defense_reasons(request, headers: {})
39
48
  endpoint = '/retrieveApplicableDefenseReasons'.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
+ # Supply a defense document
47
57
  def supply_defense_document(request, headers: {})
48
58
  endpoint = '/supplyDefenseDocument'.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 BusinessLinesApi < Service
4
9
  attr_accessor :service, :version
5
10
 
@@ -7,6 +12,7 @@ module Adyen
7
12
  super(client, version, 'LegalEntityManagement')
8
13
  end
9
14
 
15
+ # Create a business line
10
16
  def create_business_line(request, headers: {})
11
17
  endpoint = '/businessLines'.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 business line
19
26
  def delete_business_line(id, headers: {})
20
27
  endpoint = '/businessLines/{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
+ # Get a business line
28
36
  def get_business_line(id, headers: {})
29
37
  endpoint = '/businessLines/{id}'.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 business line
37
46
  def update_business_line(request, id, headers: {})
38
47
  endpoint = '/businessLines/{id}'.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 DocumentsApi < Service
4
9
  attr_accessor :service, :version
5
10
 
@@ -7,6 +12,7 @@ module Adyen
7
12
  super(client, version, 'LegalEntityManagement')
8
13
  end
9
14
 
15
+ # Delete a document
10
16
  def delete_document(id, headers: {})
11
17
  endpoint = '/documents/{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 document
19
26
  def get_document(id, headers: {}, query_params: {})
20
27
  endpoint = '/documents/{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
+ # Update a document
28
36
  def update_document(request, id, headers: {})
29
37
  endpoint = '/documents/{id}'.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
+ # Upload a document for verification checks
37
46
  def upload_document_for_verification_checks(request, headers: {})
38
47
  endpoint = '/documents'.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 HostedOnboardingApi < Service
4
9
  attr_accessor :service, :version
5
10
 
@@ -7,6 +12,7 @@ module Adyen
7
12
  super(client, version, 'LegalEntityManagement')
8
13
  end
9
14
 
15
+ # Get a link to an Adyen-hosted onboarding page
10
16
  def get_link_to_adyenhosted_onboarding_page(request, id, headers: {})
11
17
  endpoint = '/legalEntities/{id}/onboardingLinks'.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 onboarding link theme
19
26
  def get_onboarding_link_theme(id, headers: {})
20
27
  endpoint = '/themes/{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
+ # Get a list of hosted onboarding page themes
28
36
  def list_hosted_onboarding_page_themes(headers: {})
29
37
  endpoint = '/themes'.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 LegalEntitiesApi < Service
4
9
  attr_accessor :service, :version
5
10
 
@@ -7,6 +12,7 @@ module Adyen
7
12
  super(client, version, 'LegalEntityManagement')
8
13
  end
9
14
 
15
+ # Check a legal entity's verification errors
10
16
  def check_legal_entitys_verification_errors(id, headers: {})
11
17
  endpoint = '/legalEntities/{id}/checkVerificationErrors'.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
+ # Confirm data review
19
26
  def confirm_data_review(id, headers: {})
20
27
  endpoint = '/legalEntities/{id}/confirmDataReview'.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
+ # Create a legal entity
28
36
  def create_legal_entity(request, headers: {})
29
37
  endpoint = '/legalEntities'.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 all business lines under a legal entity
37
46
  def get_all_business_lines_under_legal_entity(id, headers: {})
38
47
  endpoint = '/legalEntities/{id}/businessLines'.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 legal entity
46
56
  def get_legal_entity(id, headers: {})
47
57
  endpoint = '/legalEntities/{id}'.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
+ # Update a legal entity
55
66
  def update_legal_entity(request, id, headers: {})
56
67
  endpoint = '/legalEntities/{id}'.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 PCIQuestionnairesApi < Service
4
9
  attr_accessor :service, :version
5
10
 
@@ -7,6 +12,7 @@ module Adyen
7
12
  super(client, version, 'LegalEntityManagement')
8
13
  end
9
14
 
15
+ # Generate PCI questionnaire
10
16
  def generate_pci_questionnaire(request, id, headers: {})
11
17
  endpoint = '/legalEntities/{id}/pciQuestionnaires/generatePciTemplates'.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 PCI questionnaire
19
26
  def get_pci_questionnaire(id, pciid, headers: {})
20
27
  endpoint = '/legalEntities/{id}/pciQuestionnaires/{pciid}'.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 PCI questionnaire details
28
36
  def get_pci_questionnaire_details(id, headers: {})
29
37
  endpoint = '/legalEntities/{id}/pciQuestionnaires'.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
+ # Sign PCI questionnaire
37
46
  def sign_pci_questionnaire(request, id, headers: {})
38
47
  endpoint = '/legalEntities/{id}/pciQuestionnaires/signPciTemplates'.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 TaxEDeliveryConsentApi < Service
4
9
  attr_accessor :service, :version
5
10
 
@@ -7,6 +12,7 @@ module Adyen
7
12
  super(client, version, 'LegalEntityManagement')
8
13
  end
9
14
 
15
+ # Check the status of consent for electronic delivery of tax forms
10
16
  def check_status_of_consent_for_electronic_delivery_of_tax_forms(id, headers: {})
11
17
  endpoint = '/legalEntities/{id}/checkTaxElectronicDeliveryConsent'.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
+ # Set the consent status for electronic delivery of tax forms
19
26
  def set_consent_status_for_electronic_delivery_of_tax_forms(request, id, headers: {})
20
27
  endpoint = '/legalEntities/{id}/setTaxElectronicDeliveryConsent'.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 TermsOfServiceApi < Service
4
9
  attr_accessor :service, :version
5
10
 
@@ -7,6 +12,7 @@ module Adyen
7
12
  super(client, version, 'LegalEntityManagement')
8
13
  end
9
14
 
15
+ # Accept Terms of Service
10
16
  def accept_terms_of_service(request, id, termsofservicedocumentid, headers: {})
11
17
  endpoint = '/legalEntities/{id}/termsOfService/{termsofservicedocumentid}'.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 accepted Terms of Service document
19
26
  def get_accepted_terms_of_service_document(id, termsofserviceacceptancereference, headers: {}, query_params: {})
20
27
  endpoint = '/legalEntities/{id}/acceptedTermsOfServiceDocument/{termsofserviceacceptancereference}'.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 Terms of Service document
28
36
  def get_terms_of_service_document(request, id, headers: {})
29
37
  endpoint = '/legalEntities/{id}/termsOfService'.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 Terms of Service information for a legal entity
37
46
  def get_terms_of_service_information_for_legal_entity(id, headers: {})
38
47
  endpoint = '/legalEntities/{id}/termsOfServiceAcceptanceInfos'.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 Terms of Service status
46
56
  def get_terms_of_service_status(id, headers: {})
47
57
  endpoint = '/legalEntities/{id}/termsOfServiceStatus'.gsub(/{.+?}/, '%s')
48
58
  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 TransferInstrumentsApi < Service
4
9
  attr_accessor :service, :version
5
10
 
@@ -7,6 +12,7 @@ module Adyen
7
12
  super(client, version, 'LegalEntityManagement')
8
13
  end
9
14
 
15
+ # Create a transfer instrument
10
16
  def create_transfer_instrument(request, headers: {})
11
17
  endpoint = '/transferInstruments'.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 transfer instrument
19
26
  def delete_transfer_instrument(id, headers: {})
20
27
  endpoint = '/transferInstruments/{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
+ # Get a transfer instrument
28
36
  def get_transfer_instrument(id, headers: {})
29
37
  endpoint = '/transferInstruments/{id}'.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 transfer instrument
37
46
  def update_transfer_instrument(request, id, headers: {})
38
47
  endpoint = '/transferInstruments/{id}'.gsub(/{.+?}/, '%s')
39
48
  endpoint = endpoint.gsub(%r{^/}, '')