Skip to content

Commit e01592d

Browse files
false[adyen-sdk-automation] automated change (#279)
1 parent 47f672c commit e01592d

File tree

80 files changed

+734
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+734
-0
lines changed

lib/adyen/services/balanceControlService.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
require_relative './service'
22
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.
38
class BalanceControlService < Service
49
attr_accessor :service, :version
510

@@ -8,6 +13,7 @@ def initialize(client, version = DEFAULT_VERSION)
813
super(client, version, 'BalanceControlService')
914
end
1015

16+
# Start a balance transfer
1117
def balance_transfer(request, headers: {})
1218
endpoint = '/balanceTransfer'.gsub(/{.+?}/, '%s')
1319
endpoint = endpoint.gsub(%r{^/}, '')

lib/adyen/services/balancePlatform.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
require_relative 'balancePlatform/transfer_routes_api'
1515

1616
module Adyen
17+
18+
# NOTE: This class is auto generated by OpenAPI Generator
19+
# Ref: https://openapi-generator.tech
20+
#
21+
# Do not edit the class manually.
1722
class BalancePlatform
1823
attr_accessor :service, :version
1924

lib/adyen/services/balancePlatform/account_holders_api.rb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
require_relative '../service'
22
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.
38
class AccountHoldersApi < Service
49
attr_accessor :service, :version
510

611
def initialize(client, version = DEFAULT_VERSION)
712
super(client, version, 'BalancePlatform')
813
end
914

15+
# Create an account holder
1016
def create_account_holder(request, headers: {})
1117
endpoint = '/accountHolders'.gsub(/{.+?}/, '%s')
1218
endpoint = endpoint.gsub(%r{^/}, '')
@@ -16,6 +22,7 @@ def create_account_holder(request, headers: {})
1622
@client.call_adyen_api(@service, action, request, headers, @version)
1723
end
1824

25+
# Get an account holder
1926
def get_account_holder(id, headers: {})
2027
endpoint = '/accountHolders/{id}'.gsub(/{.+?}/, '%s')
2128
endpoint = endpoint.gsub(%r{^/}, '')
@@ -25,6 +32,7 @@ def get_account_holder(id, headers: {})
2532
@client.call_adyen_api(@service, action, {}, headers, @version)
2633
end
2734

35+
# Get all balance accounts of an account holder
2836
def get_all_balance_accounts_of_account_holder(id, headers: {}, query_params: {})
2937
endpoint = '/accountHolders/{id}/balanceAccounts'.gsub(/{.+?}/, '%s')
3038
endpoint = endpoint.gsub(%r{^/}, '')
@@ -34,6 +42,17 @@ def get_all_balance_accounts_of_account_holder(id, headers: {}, query_params: {}
3442
@client.call_adyen_api(@service, action, {}, headers, @version)
3543
end
3644

45+
# Get all transaction rules for an account holder
46+
def get_all_transaction_rules_for_account_holder(id, headers: {})
47+
endpoint = '/accountHolders/{id}/transactionRules'.gsub(/{.+?}/, '%s')
48+
endpoint = endpoint.gsub(%r{^/}, '')
49+
endpoint = format(endpoint, id)
50+
51+
action = { method: 'get', url: endpoint }
52+
@client.call_adyen_api(@service, action, {}, headers, @version)
53+
end
54+
55+
# Get a tax form
3756
def get_tax_form(id, headers: {}, query_params: {})
3857
endpoint = '/accountHolders/{id}/taxForms'.gsub(/{.+?}/, '%s')
3958
endpoint = endpoint.gsub(%r{^/}, '')
@@ -43,6 +62,7 @@ def get_tax_form(id, headers: {}, query_params: {})
4362
@client.call_adyen_api(@service, action, {}, headers, @version)
4463
end
4564

65+
# Update an account holder
4666
def update_account_holder(request, id, headers: {})
4767
endpoint = '/accountHolders/{id}'.gsub(/{.+?}/, '%s')
4868
endpoint = endpoint.gsub(%r{^/}, '')

lib/adyen/services/balancePlatform/balance_accounts_api.rb

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
require_relative '../service'
22
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.
38
class BalanceAccountsApi < Service
49
attr_accessor :service, :version
510

611
def initialize(client, version = DEFAULT_VERSION)
712
super(client, version, 'BalancePlatform')
813
end
914

15+
# Create a balance account
1016
def create_balance_account(request, headers: {})
1117
endpoint = '/balanceAccounts'.gsub(/{.+?}/, '%s')
1218
endpoint = endpoint.gsub(%r{^/}, '')
@@ -16,6 +22,7 @@ def create_balance_account(request, headers: {})
1622
@client.call_adyen_api(@service, action, request, headers, @version)
1723
end
1824

25+
# Create a sweep
1926
def create_sweep(request, balance_account_id, headers: {})
2027
endpoint = '/balanceAccounts/{balanceAccountId}/sweeps'.gsub(/{.+?}/, '%s')
2128
endpoint = endpoint.gsub(%r{^/}, '')
@@ -25,6 +32,7 @@ def create_sweep(request, balance_account_id, headers: {})
2532
@client.call_adyen_api(@service, action, request, headers, @version)
2633
end
2734

35+
# Delete a sweep
2836
def delete_sweep(balance_account_id, sweep_id, headers: {})
2937
endpoint = '/balanceAccounts/{balanceAccountId}/sweeps/{sweepId}'.gsub(/{.+?}/, '%s')
3038
endpoint = endpoint.gsub(%r{^/}, '')
@@ -34,6 +42,7 @@ def delete_sweep(balance_account_id, sweep_id, headers: {})
3442
@client.call_adyen_api(@service, action, {}, headers, @version)
3543
end
3644

45+
# Get all sweeps for a balance account
3746
def get_all_sweeps_for_balance_account(balance_account_id, headers: {}, query_params: {})
3847
endpoint = '/balanceAccounts/{balanceAccountId}/sweeps'.gsub(/{.+?}/, '%s')
3948
endpoint = endpoint.gsub(%r{^/}, '')
@@ -43,6 +52,17 @@ def get_all_sweeps_for_balance_account(balance_account_id, headers: {}, query_pa
4352
@client.call_adyen_api(@service, action, {}, headers, @version)
4453
end
4554

55+
# Get all transaction rules for a balance account
56+
def get_all_transaction_rules_for_balance_account(id, headers: {})
57+
endpoint = '/balanceAccounts/{id}/transactionRules'.gsub(/{.+?}/, '%s')
58+
endpoint = endpoint.gsub(%r{^/}, '')
59+
endpoint = format(endpoint, id)
60+
61+
action = { method: 'get', url: endpoint }
62+
@client.call_adyen_api(@service, action, {}, headers, @version)
63+
end
64+
65+
# Get a balance account
4666
def get_balance_account(id, headers: {})
4767
endpoint = '/balanceAccounts/{id}'.gsub(/{.+?}/, '%s')
4868
endpoint = endpoint.gsub(%r{^/}, '')
@@ -52,6 +72,7 @@ def get_balance_account(id, headers: {})
5272
@client.call_adyen_api(@service, action, {}, headers, @version)
5373
end
5474

75+
# Get payment instruments linked to a balance account
5576
def get_payment_instruments_linked_to_balance_account(id, headers: {}, query_params: {})
5677
endpoint = '/balanceAccounts/{id}/paymentInstruments'.gsub(/{.+?}/, '%s')
5778
endpoint = endpoint.gsub(%r{^/}, '')
@@ -61,6 +82,7 @@ def get_payment_instruments_linked_to_balance_account(id, headers: {}, query_par
6182
@client.call_adyen_api(@service, action, {}, headers, @version)
6283
end
6384

85+
# Get a sweep
6486
def get_sweep(balance_account_id, sweep_id, headers: {})
6587
endpoint = '/balanceAccounts/{balanceAccountId}/sweeps/{sweepId}'.gsub(/{.+?}/, '%s')
6688
endpoint = endpoint.gsub(%r{^/}, '')
@@ -70,6 +92,7 @@ def get_sweep(balance_account_id, sweep_id, headers: {})
7092
@client.call_adyen_api(@service, action, {}, headers, @version)
7193
end
7294

95+
# Update a balance account
7396
def update_balance_account(request, id, headers: {})
7497
endpoint = '/balanceAccounts/{id}'.gsub(/{.+?}/, '%s')
7598
endpoint = endpoint.gsub(%r{^/}, '')
@@ -79,6 +102,7 @@ def update_balance_account(request, id, headers: {})
79102
@client.call_adyen_api(@service, action, request, headers, @version)
80103
end
81104

105+
# Update a sweep
82106
def update_sweep(request, balance_account_id, sweep_id, headers: {})
83107
endpoint = '/balanceAccounts/{balanceAccountId}/sweeps/{sweepId}'.gsub(/{.+?}/, '%s')
84108
endpoint = endpoint.gsub(%r{^/}, '')

lib/adyen/services/balancePlatform/bank_account_validation_api.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
require_relative '../service'
22
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.
38
class BankAccountValidationApi < Service
49
attr_accessor :service, :version
510

611
def initialize(client, version = DEFAULT_VERSION)
712
super(client, version, 'BalancePlatform')
813
end
914

15+
# Validate a bank account
1016
def validate_bank_account_identification(request, headers: {})
1117
endpoint = '/validateBankAccountIdentification'.gsub(/{.+?}/, '%s')
1218
endpoint = endpoint.gsub(%r{^/}, '')

lib/adyen/services/balancePlatform/card_orders_api.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
require_relative '../service'
22
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.
38
class CardOrdersApi < Service
49
attr_accessor :service, :version
510

611
def initialize(client, version = DEFAULT_VERSION)
712
super(client, version, 'BalancePlatform')
813
end
914

15+
# Get card order items
1016
def get_card_order_items(id, headers: {}, query_params: {})
1117
endpoint = '/cardorders/{id}/items'.gsub(/{.+?}/, '%s')
1218
endpoint = endpoint.gsub(%r{^/}, '')
@@ -16,6 +22,7 @@ def get_card_order_items(id, headers: {}, query_params: {})
1622
@client.call_adyen_api(@service, action, {}, headers, @version)
1723
end
1824

25+
# Get a list of card orders
1926
def list_card_orders(headers: {}, query_params: {})
2027
endpoint = '/cardorders'.gsub(/{.+?}/, '%s')
2128
endpoint = endpoint.gsub(%r{^/}, '')

lib/adyen/services/balancePlatform/grant_accounts_api.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
require_relative '../service'
22
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.
38
class GrantAccountsApi < Service
49
attr_accessor :service, :version
510

611
def initialize(client, version = DEFAULT_VERSION)
712
super(client, version, 'BalancePlatform')
813
end
914

15+
# Get a grant account
1016
def get_grant_account(id, headers: {})
1117
endpoint = '/grantAccounts/{id}'.gsub(/{.+?}/, '%s')
1218
endpoint = endpoint.gsub(%r{^/}, '')

lib/adyen/services/balancePlatform/grant_offers_api.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
require_relative '../service'
22
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.
38
class GrantOffersApi < Service
49
attr_accessor :service, :version
510

611
def initialize(client, version = DEFAULT_VERSION)
712
super(client, version, 'BalancePlatform')
813
end
914

15+
# Get all available grant offers
1016
def get_all_available_grant_offers(headers: {}, query_params: {})
1117
endpoint = '/grantOffers'.gsub(/{.+?}/, '%s')
1218
endpoint = endpoint.gsub(%r{^/}, '')
@@ -16,6 +22,7 @@ def get_all_available_grant_offers(headers: {}, query_params: {})
1622
@client.call_adyen_api(@service, action, {}, headers, @version)
1723
end
1824

25+
# Get a grant offer
1926
def get_grant_offer(grant_offer_id, headers: {})
2027
endpoint = '/grantOffers/{grantOfferId}'.gsub(/{.+?}/, '%s')
2128
endpoint = endpoint.gsub(%r{^/}, '')

lib/adyen/services/balancePlatform/manage_card_pin_api.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
require_relative '../service'
22
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.
38
class ManageCardPINApi < Service
49
attr_accessor :service, :version
510

611
def initialize(client, version = DEFAULT_VERSION)
712
super(client, version, 'BalancePlatform')
813
end
914

15+
# Change a card PIN
1016
def change_card_pin(request, headers: {})
1117
endpoint = '/pins/change'.gsub(/{.+?}/, '%s')
1218
endpoint = endpoint.gsub(%r{^/}, '')
@@ -16,6 +22,7 @@ def change_card_pin(request, headers: {})
1622
@client.call_adyen_api(@service, action, request, headers, @version)
1723
end
1824

25+
# Get an RSA public key
1926
def public_key(headers: {}, query_params: {})
2027
endpoint = '/publicKey'.gsub(/{.+?}/, '%s')
2128
endpoint = endpoint.gsub(%r{^/}, '')
@@ -25,6 +32,7 @@ def public_key(headers: {}, query_params: {})
2532
@client.call_adyen_api(@service, action, {}, headers, @version)
2633
end
2734

35+
# Reveal a card PIN
2836
def reveal_card_pin(request, headers: {})
2937
endpoint = '/pins/reveal'.gsub(/{.+?}/, '%s')
3038
endpoint = endpoint.gsub(%r{^/}, '')

lib/adyen/services/balancePlatform/manage_sca_devices_api.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
require_relative '../service'
22
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.
38
class ManageSCADevicesApi < Service
49
attr_accessor :service, :version
510

611
def initialize(client, version = DEFAULT_VERSION)
712
super(client, version, 'BalancePlatform')
813
end
914

15+
# Complete the registration of an SCA device
1016
def complete_registration_of_sca_device(request, id, headers: {})
1117
endpoint = '/registeredDevices/{id}'.gsub(/{.+?}/, '%s')
1218
endpoint = endpoint.gsub(%r{^/}, '')
@@ -16,6 +22,7 @@ def complete_registration_of_sca_device(request, id, headers: {})
1622
@client.call_adyen_api(@service, action, request, headers, @version)
1723
end
1824

25+
# Delete a registration of an SCA device
1926
def delete_registration_of_sca_device(id, headers: {}, query_params: {})
2027
endpoint = '/registeredDevices/{id}'.gsub(/{.+?}/, '%s')
2128
endpoint = endpoint.gsub(%r{^/}, '')
@@ -25,6 +32,7 @@ def delete_registration_of_sca_device(id, headers: {}, query_params: {})
2532
@client.call_adyen_api(@service, action, {}, headers, @version)
2633
end
2734

35+
# Initiate the registration of an SCA device
2836
def initiate_registration_of_sca_device(request, headers: {})
2937
endpoint = '/registeredDevices'.gsub(/{.+?}/, '%s')
3038
endpoint = endpoint.gsub(%r{^/}, '')
@@ -34,6 +42,7 @@ def initiate_registration_of_sca_device(request, headers: {})
3442
@client.call_adyen_api(@service, action, request, headers, @version)
3543
end
3644

45+
# Get a list of registered SCA devices
3746
def list_registered_sca_devices(headers: {}, query_params: {})
3847
endpoint = '/registeredDevices'.gsub(/{.+?}/, '%s')
3948
endpoint = endpoint.gsub(%r{^/}, '')

lib/adyen/services/balancePlatform/network_tokens_api.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
require_relative '../service'
22
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.
38
class NetworkTokensApi < Service
49
attr_accessor :service, :version
510

611
def initialize(client, version = DEFAULT_VERSION)
712
super(client, version, 'BalancePlatform')
813
end
914

15+
# Get a network token
1016
def get_network_token(network_token_id, headers: {})
1117
endpoint = '/networkTokens/{networkTokenId}'.gsub(/{.+?}/, '%s')
1218
endpoint = endpoint.gsub(%r{^/}, '')
@@ -16,6 +22,7 @@ def get_network_token(network_token_id, headers: {})
1622
@client.call_adyen_api(@service, action, {}, headers, @version)
1723
end
1824

25+
# Update a network token
1926
def update_network_token(request, network_token_id, headers: {})
2027
endpoint = '/networkTokens/{networkTokenId}'.gsub(/{.+?}/, '%s')
2128
endpoint = endpoint.gsub(%r{^/}, '')

0 commit comments

Comments
 (0)