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.



64
65
66
67
68
69
70
71
72
73
74
75
76
77
# File 'lib/adyen/services/marketpay.rb', line 64

def initialize(client, version = DEFAULT_VERSION)
  service = 'Fund'
  method_names = [
    :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, service, method_names)
end

Instance Attribute Details

#versionObject

Returns the value of attribute version.



61
62
63
# File 'lib/adyen/services/marketpay.rb', line 61

def version
  @version
end