Class: Adyen::BalancePlatform

Inherits:
Object
  • Object
show all
Defined in:
lib/adyen/services/balancePlatform.rb

Constant Summary collapse

DEFAULT_VERSION =
2

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client, version = DEFAULT_VERSION) ⇒ BalancePlatform

Returns a new instance of BalancePlatform.



18
19
20
21
22
# File 'lib/adyen/services/balancePlatform.rb', line 18

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

Instance Attribute Details

#serviceObject

Returns the value of attribute service.



15
16
17
# File 'lib/adyen/services/balancePlatform.rb', line 15

def service
  @service
end

#versionObject

Returns the value of attribute version.



15
16
17
# File 'lib/adyen/services/balancePlatform.rb', line 15

def version
  @version
end

Instance Method Details

#account_holders_apiObject



24
25
26
# File 'lib/adyen/services/balancePlatform.rb', line 24

def 
  @account_holders_api ||= Adyen::AccountHoldersApi.new(@client, @version)
end

#balance_accounts_apiObject



28
29
30
# File 'lib/adyen/services/balancePlatform.rb', line 28

def balance_accounts_api
  @balance_accounts_api ||= Adyen::BalanceAccountsApi.new(@client, @version)
end

#bank_account_validation_apiObject



32
33
34
# File 'lib/adyen/services/balancePlatform.rb', line 32

def 
   ||= Adyen::BankAccountValidationApi.new(@client, @version)
end

#grant_accounts_apiObject



36
37
38
# File 'lib/adyen/services/balancePlatform.rb', line 36

def grant_accounts_api
  @grant_accounts_api ||= Adyen::GrantAccountsApi.new(@client, @version)
end

#grant_offers_apiObject



40
41
42
# File 'lib/adyen/services/balancePlatform.rb', line 40

def grant_offers_api
  @grant_offers_api ||= Adyen::GrantOffersApi.new(@client, @version)
end

#network_tokens_apiObject



44
45
46
# File 'lib/adyen/services/balancePlatform.rb', line 44

def network_tokens_api
  @network_tokens_api ||= Adyen::NetworkTokensApi.new(@client, @version)
end

#payment_instrument_groups_apiObject



48
49
50
# File 'lib/adyen/services/balancePlatform.rb', line 48

def payment_instrument_groups_api
  @payment_instrument_groups_api ||= Adyen::PaymentInstrumentGroupsApi.new(@client, @version)
end

#payment_instruments_apiObject



52
53
54
# File 'lib/adyen/services/balancePlatform.rb', line 52

def payment_instruments_api
  @payment_instruments_api ||= Adyen::PaymentInstrumentsApi.new(@client, @version)
end

#platform_apiObject



56
57
58
# File 'lib/adyen/services/balancePlatform.rb', line 56

def platform_api
  @platform_api ||= Adyen::PlatformApi.new(@client, @version)
end

#transaction_rules_apiObject



60
61
62
# File 'lib/adyen/services/balancePlatform.rb', line 60

def transaction_rules_api
  @transaction_rules_api ||= Adyen::TransactionRulesApi.new(@client, @version)
end

#transfer_routes_apiObject



64
65
66
# File 'lib/adyen/services/balancePlatform.rb', line 64

def transfer_routes_api
  @transfer_routes_api ||= Adyen::TransferRoutesApi.new(@client, @version)
end