Skip to content

Commit

Permalink
false[adyen-sdk-automation] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot committed Nov 13, 2024
1 parent e355440 commit 8575329
Show file tree
Hide file tree
Showing 80 changed files with 734 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/adyen/services/balanceControlService.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
require_relative './service'
module Adyen

# NOTE: This class is auto generated by OpenAPI Generator
# Ref: https://openapi-generator.tech
#
# Do not edit the class manually.
class BalanceControlService < Service
attr_accessor :service, :version

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

# Start a balance transfer
def balance_transfer(request, headers: {})
endpoint = '/balanceTransfer'.gsub(/{.+?}/, '%s')
endpoint = endpoint.gsub(%r{^/}, '')
Expand Down
5 changes: 5 additions & 0 deletions lib/adyen/services/balancePlatform.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
require_relative 'balancePlatform/transfer_routes_api'

module Adyen

# NOTE: This class is auto generated by OpenAPI Generator
# Ref: https://openapi-generator.tech
#
# Do not edit the class manually.
class BalancePlatform
attr_accessor :service, :version

Expand Down
20 changes: 20 additions & 0 deletions lib/adyen/services/balancePlatform/account_holders_api.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
require_relative '../service'
module Adyen

# NOTE: This class is auto generated by OpenAPI Generator
# Ref: https://openapi-generator.tech
#
# Do not edit the class manually.
class AccountHoldersApi < Service
attr_accessor :service, :version

def initialize(client, version = DEFAULT_VERSION)
super(client, version, 'BalancePlatform')
end

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

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

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

# Get all transaction rules for an account holder
def get_all_transaction_rules_for_account_holder(id, headers: {})
endpoint = '/accountHolders/{id}/transactionRules'.gsub(/{.+?}/, '%s')
endpoint = endpoint.gsub(%r{^/}, '')
endpoint = format(endpoint, id)

action = { method: 'get', url: endpoint }
@client.call_adyen_api(@service, action, {}, headers, @version)
end

# Get a tax form
def get_tax_form(id, headers: {}, query_params: {})
endpoint = '/accountHolders/{id}/taxForms'.gsub(/{.+?}/, '%s')
endpoint = endpoint.gsub(%r{^/}, '')
Expand All @@ -43,6 +62,7 @@ def get_tax_form(id, headers: {}, query_params: {})
@client.call_adyen_api(@service, action, {}, headers, @version)
end

# Update an account holder
def update_account_holder(request, id, headers: {})
endpoint = '/accountHolders/{id}'.gsub(/{.+?}/, '%s')
endpoint = endpoint.gsub(%r{^/}, '')
Expand Down
24 changes: 24 additions & 0 deletions lib/adyen/services/balancePlatform/balance_accounts_api.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
require_relative '../service'
module Adyen

# NOTE: This class is auto generated by OpenAPI Generator
# Ref: https://openapi-generator.tech
#
# Do not edit the class manually.
class BalanceAccountsApi < Service
attr_accessor :service, :version

def initialize(client, version = DEFAULT_VERSION)
super(client, version, 'BalancePlatform')
end

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

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

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

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

# Get all transaction rules for a balance account
def get_all_transaction_rules_for_balance_account(id, headers: {})
endpoint = '/balanceAccounts/{id}/transactionRules'.gsub(/{.+?}/, '%s')
endpoint = endpoint.gsub(%r{^/}, '')
endpoint = format(endpoint, id)

action = { method: 'get', url: endpoint }
@client.call_adyen_api(@service, action, {}, headers, @version)
end

# Get a balance account
def get_balance_account(id, headers: {})
endpoint = '/balanceAccounts/{id}'.gsub(/{.+?}/, '%s')
endpoint = endpoint.gsub(%r{^/}, '')
Expand All @@ -52,6 +72,7 @@ def get_balance_account(id, headers: {})
@client.call_adyen_api(@service, action, {}, headers, @version)
end

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

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

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

# Update a sweep
def update_sweep(request, balance_account_id, sweep_id, headers: {})
endpoint = '/balanceAccounts/{balanceAccountId}/sweeps/{sweepId}'.gsub(/{.+?}/, '%s')
endpoint = endpoint.gsub(%r{^/}, '')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
require_relative '../service'
module Adyen

# NOTE: This class is auto generated by OpenAPI Generator
# Ref: https://openapi-generator.tech
#
# Do not edit the class manually.
class BankAccountValidationApi < Service
attr_accessor :service, :version

def initialize(client, version = DEFAULT_VERSION)
super(client, version, 'BalancePlatform')
end

# Validate a bank account
def validate_bank_account_identification(request, headers: {})
endpoint = '/validateBankAccountIdentification'.gsub(/{.+?}/, '%s')
endpoint = endpoint.gsub(%r{^/}, '')
Expand Down
7 changes: 7 additions & 0 deletions lib/adyen/services/balancePlatform/card_orders_api.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
require_relative '../service'
module Adyen

# NOTE: This class is auto generated by OpenAPI Generator
# Ref: https://openapi-generator.tech
#
# Do not edit the class manually.
class CardOrdersApi < Service
attr_accessor :service, :version

def initialize(client, version = DEFAULT_VERSION)
super(client, version, 'BalancePlatform')
end

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

# Get a list of card orders
def list_card_orders(headers: {}, query_params: {})
endpoint = '/cardorders'.gsub(/{.+?}/, '%s')
endpoint = endpoint.gsub(%r{^/}, '')
Expand Down
6 changes: 6 additions & 0 deletions lib/adyen/services/balancePlatform/grant_accounts_api.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
require_relative '../service'
module Adyen

# NOTE: This class is auto generated by OpenAPI Generator
# Ref: https://openapi-generator.tech
#
# Do not edit the class manually.
class GrantAccountsApi < Service
attr_accessor :service, :version

def initialize(client, version = DEFAULT_VERSION)
super(client, version, 'BalancePlatform')
end

# Get a grant account
def get_grant_account(id, headers: {})
endpoint = '/grantAccounts/{id}'.gsub(/{.+?}/, '%s')
endpoint = endpoint.gsub(%r{^/}, '')
Expand Down
7 changes: 7 additions & 0 deletions lib/adyen/services/balancePlatform/grant_offers_api.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
require_relative '../service'
module Adyen

# NOTE: This class is auto generated by OpenAPI Generator
# Ref: https://openapi-generator.tech
#
# Do not edit the class manually.
class GrantOffersApi < Service
attr_accessor :service, :version

def initialize(client, version = DEFAULT_VERSION)
super(client, version, 'BalancePlatform')
end

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

# Get a grant offer
def get_grant_offer(grant_offer_id, headers: {})
endpoint = '/grantOffers/{grantOfferId}'.gsub(/{.+?}/, '%s')
endpoint = endpoint.gsub(%r{^/}, '')
Expand Down
8 changes: 8 additions & 0 deletions lib/adyen/services/balancePlatform/manage_card_pin_api.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
require_relative '../service'
module Adyen

# NOTE: This class is auto generated by OpenAPI Generator
# Ref: https://openapi-generator.tech
#
# Do not edit the class manually.
class ManageCardPINApi < Service
attr_accessor :service, :version

def initialize(client, version = DEFAULT_VERSION)
super(client, version, 'BalancePlatform')
end

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

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

# Reveal a card PIN
def reveal_card_pin(request, headers: {})
endpoint = '/pins/reveal'.gsub(/{.+?}/, '%s')
endpoint = endpoint.gsub(%r{^/}, '')
Expand Down
9 changes: 9 additions & 0 deletions lib/adyen/services/balancePlatform/manage_sca_devices_api.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
require_relative '../service'
module Adyen

# NOTE: This class is auto generated by OpenAPI Generator
# Ref: https://openapi-generator.tech
#
# Do not edit the class manually.
class ManageSCADevicesApi < Service
attr_accessor :service, :version

def initialize(client, version = DEFAULT_VERSION)
super(client, version, 'BalancePlatform')
end

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

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

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

# Get a list of registered SCA devices
def list_registered_sca_devices(headers: {}, query_params: {})
endpoint = '/registeredDevices'.gsub(/{.+?}/, '%s')
endpoint = endpoint.gsub(%r{^/}, '')
Expand Down
7 changes: 7 additions & 0 deletions lib/adyen/services/balancePlatform/network_tokens_api.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
require_relative '../service'
module Adyen

# NOTE: This class is auto generated by OpenAPI Generator
# Ref: https://openapi-generator.tech
#
# Do not edit the class manually.
class NetworkTokensApi < Service
attr_accessor :service, :version

def initialize(client, version = DEFAULT_VERSION)
super(client, version, 'BalancePlatform')
end

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

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

0 comments on commit 8575329

Please sign in to comment.