Class: AdaptivePayments::PaymentDetailsResponse

Inherits:
AbstractResponse show all
Defined in:
lib/pp-adaptive/payment_details_response.rb

Instance Method Summary collapse

Methods inherited from AbstractResponse

operation

Methods included from FaultMessage

#first_error, included

Methods included from Aliases

#alias_param, #alias_params

Methods included from JsonModel::Parsing

#from_json, #to_attributes

Methods included from JsonModel::Writing

#to_hash, #to_json

Instance Method Details

#allowed_funding_typesObject



45
46
47
# File 'lib/pp-adaptive/payment_details_response.rb', line 45

def allowed_funding_types
  allowed_funding_type_info.collect { |info| info[:funding_type] }
end

#receiversObject



49
50
51
# File 'lib/pp-adaptive/payment_details_response.rb', line 49

def receivers
  payments.collect { |info| info[:receiver] }
end