Class: Adyen::BalancePlatform
- Inherits:
-
Object
- Object
- Adyen::BalancePlatform
- Defined in:
- lib/adyen/services/balancePlatform.rb
Constant Summary collapse
- DEFAULT_VERSION =
2
Instance Attribute Summary collapse
-
#service ⇒ Object
Returns the value of attribute service.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
- #account_holders_api ⇒ Object
- #balance_accounts_api ⇒ Object
- #bank_account_validation_api ⇒ Object
- #grant_accounts_api ⇒ Object
- #grant_offers_api ⇒ Object
-
#initialize(client, version = DEFAULT_VERSION) ⇒ BalancePlatform
constructor
A new instance of BalancePlatform.
- #network_tokens_api ⇒ Object
- #payment_instrument_groups_api ⇒ Object
- #payment_instruments_api ⇒ Object
- #platform_api ⇒ Object
- #transaction_rules_api ⇒ Object
Constructor Details
#initialize(client, version = DEFAULT_VERSION) ⇒ BalancePlatform
Returns a new instance of BalancePlatform.
17 18 19 20 21 |
# File 'lib/adyen/services/balancePlatform.rb', line 17 def initialize(client, version = DEFAULT_VERSION) @service = 'BalancePlatform' @client = client @version = version end |
Instance Attribute Details
#service ⇒ Object
Returns the value of attribute service.
14 15 16 |
# File 'lib/adyen/services/balancePlatform.rb', line 14 def service @service end |
#version ⇒ Object
Returns the value of attribute version.
14 15 16 |
# File 'lib/adyen/services/balancePlatform.rb', line 14 def version @version end |
Instance Method Details
#account_holders_api ⇒ Object
23 24 25 |
# File 'lib/adyen/services/balancePlatform.rb', line 23 def account_holders_api @account_holders_api ||= Adyen::AccountHoldersApi.new(@client, @version) end |
#balance_accounts_api ⇒ Object
27 28 29 |
# File 'lib/adyen/services/balancePlatform.rb', line 27 def balance_accounts_api @balance_accounts_api ||= Adyen::BalanceAccountsApi.new(@client, @version) end |
#bank_account_validation_api ⇒ Object
31 32 33 |
# File 'lib/adyen/services/balancePlatform.rb', line 31 def bank_account_validation_api @bank_account_validation_api ||= Adyen::BankAccountValidationApi.new(@client, @version) end |
#grant_accounts_api ⇒ Object
35 36 37 |
# File 'lib/adyen/services/balancePlatform.rb', line 35 def grant_accounts_api @grant_accounts_api ||= Adyen::GrantAccountsApi.new(@client, @version) end |
#grant_offers_api ⇒ Object
39 40 41 |
# File 'lib/adyen/services/balancePlatform.rb', line 39 def grant_offers_api @grant_offers_api ||= Adyen::GrantOffersApi.new(@client, @version) end |
#network_tokens_api ⇒ Object
43 44 45 |
# File 'lib/adyen/services/balancePlatform.rb', line 43 def network_tokens_api @network_tokens_api ||= Adyen::NetworkTokensApi.new(@client, @version) end |
#payment_instrument_groups_api ⇒ Object
47 48 49 |
# File 'lib/adyen/services/balancePlatform.rb', line 47 def payment_instrument_groups_api @payment_instrument_groups_api ||= Adyen::PaymentInstrumentGroupsApi.new(@client, @version) end |
#payment_instruments_api ⇒ Object
51 52 53 |
# File 'lib/adyen/services/balancePlatform.rb', line 51 def payment_instruments_api @payment_instruments_api ||= Adyen::PaymentInstrumentsApi.new(@client, @version) end |
#platform_api ⇒ Object
55 56 57 |
# File 'lib/adyen/services/balancePlatform.rb', line 55 def platform_api @platform_api ||= Adyen::PlatformApi.new(@client, @version) end |
#transaction_rules_api ⇒ Object
59 60 61 |
# File 'lib/adyen/services/balancePlatform.rb', line 59 def transaction_rules_api @transaction_rules_api ||= Adyen::TransactionRulesApi.new(@client, @version) end |