Class: Adyen::Marketpay::Fund

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

Constant Summary collapse

DEFAULT_VERSION =
6

Instance Attribute Summary collapse

Attributes inherited from Service

#service

Instance Method Summary collapse

Methods inherited from Service

action_for_method_name, #create_query_string

Constructor Details

#initialize(client, version = DEFAULT_VERSION) ⇒ Fund

Returns a new instance of Fund.



68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/adyen/services/marketpay.rb', line 68

def initialize(client, version = DEFAULT_VERSION)
  method_names = %i[
    payout_account_holder
    account_holder_balance
    account_holder_transaction_list
    refund_not_paid_out_transfers
    setup_beneficiary
    transfer_funds
    refund_funds_transfer
  ]

  super(client, version, 'Fund', method_names)
end

Instance Attribute Details

#versionObject

Returns the value of attribute version.



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

def version
  @version
end