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.



20
21
22
23
24
# File 'lib/adyen/services/balancePlatform.rb', line 20

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

Instance Attribute Details

#serviceObject

Returns the value of attribute service.



17
18
19
# File 'lib/adyen/services/balancePlatform.rb', line 17

def service
  @service
end

#versionObject

Returns the value of attribute version.



17
18
19
# File 'lib/adyen/services/balancePlatform.rb', line 17

def version
  @version
end

Instance Method Details

#account_holders_apiObject



26
27
28
# File 'lib/adyen/services/balancePlatform.rb', line 26

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

#balance_accounts_apiObject



30
31
32
# File 'lib/adyen/services/balancePlatform.rb', line 30

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

#bank_account_validation_apiObject



34
35
36
# File 'lib/adyen/services/balancePlatform.rb', line 34

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

#card_orders_apiObject



38
39
40
# File 'lib/adyen/services/balancePlatform.rb', line 38

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

#grant_accounts_apiObject



42
43
44
# File 'lib/adyen/services/balancePlatform.rb', line 42

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

#grant_offers_apiObject



46
47
48
# File 'lib/adyen/services/balancePlatform.rb', line 46

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

#manage_card_pin_apiObject



50
51
52
# File 'lib/adyen/services/balancePlatform.rb', line 50

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

#network_tokens_apiObject



54
55
56
# File 'lib/adyen/services/balancePlatform.rb', line 54

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

#payment_instrument_groups_apiObject



58
59
60
# File 'lib/adyen/services/balancePlatform.rb', line 58

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

#payment_instruments_apiObject



62
63
64
# File 'lib/adyen/services/balancePlatform.rb', line 62

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

#platform_apiObject



66
67
68
# File 'lib/adyen/services/balancePlatform.rb', line 66

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

#transaction_rules_apiObject



70
71
72
# File 'lib/adyen/services/balancePlatform.rb', line 70

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

#transfer_routes_apiObject



74
75
76
# File 'lib/adyen/services/balancePlatform.rb', line 74

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