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.
- #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.
16 17 18 19 20 |
# File 'lib/adyen/services/balancePlatform.rb', line 16 def initialize(client, version = DEFAULT_VERSION) @service = 'BalancePlatform' @client = client @version = version end |
Instance Attribute Details
#service ⇒ Object
Returns the value of attribute service.
13 14 15 |
# File 'lib/adyen/services/balancePlatform.rb', line 13 def service @service end |
#version ⇒ Object
Returns the value of attribute version.
13 14 15 |
# File 'lib/adyen/services/balancePlatform.rb', line 13 def version @version end |
Instance Method Details
#account_holders_api ⇒ Object
22 23 24 |
# File 'lib/adyen/services/balancePlatform.rb', line 22 def account_holders_api @account_holders_api ||= Adyen::AccountHoldersApi.new(@client, @version) end |
#balance_accounts_api ⇒ Object
26 27 28 |
# File 'lib/adyen/services/balancePlatform.rb', line 26 def balance_accounts_api @balance_accounts_api ||= Adyen::BalanceAccountsApi.new(@client, @version) end |
#bank_account_validation_api ⇒ Object
30 31 32 |
# File 'lib/adyen/services/balancePlatform.rb', line 30 def bank_account_validation_api @bank_account_validation_api ||= Adyen::BankAccountValidationApi.new(@client, @version) end |
#grant_accounts_api ⇒ Object
34 35 36 |
# File 'lib/adyen/services/balancePlatform.rb', line 34 def grant_accounts_api @grant_accounts_api ||= Adyen::GrantAccountsApi.new(@client, @version) end |
#grant_offers_api ⇒ Object
38 39 40 |
# File 'lib/adyen/services/balancePlatform.rb', line 38 def grant_offers_api @grant_offers_api ||= Adyen::GrantOffersApi.new(@client, @version) end |
#payment_instrument_groups_api ⇒ Object
42 43 44 |
# File 'lib/adyen/services/balancePlatform.rb', line 42 def payment_instrument_groups_api @payment_instrument_groups_api ||= Adyen::PaymentInstrumentGroupsApi.new(@client, @version) end |
#payment_instruments_api ⇒ Object
46 47 48 |
# File 'lib/adyen/services/balancePlatform.rb', line 46 def payment_instruments_api @payment_instruments_api ||= Adyen::PaymentInstrumentsApi.new(@client, @version) end |
#platform_api ⇒ Object
50 51 52 |
# File 'lib/adyen/services/balancePlatform.rb', line 50 def platform_api @platform_api ||= Adyen::PlatformApi.new(@client, @version) end |
#transaction_rules_api ⇒ Object
54 55 56 |
# File 'lib/adyen/services/balancePlatform.rb', line 54 def transaction_rules_api @transaction_rules_api ||= Adyen::TransactionRulesApi.new(@client, @version) end |