class Braintree::Disbursement

Attributes

amount[R]
disbursement_date[R]
disbursement_type[R]
exception_message[R]
follow_up_action[R]
id[R]
merchant_account[R]
retry[R]
success[R]
success?[R]
transaction_ids[R]

Public Instance Methods

credit?() click to toggle source
# File lib/braintree/disbursement.rb, line 48
def credit?
  disbursement_type == Types::Credit
end
debit?() click to toggle source
# File lib/braintree/disbursement.rb, line 44
def debit?
  disbursement_type == Types::Debit
end
transactions() click to toggle source
# File lib/braintree/disbursement.rb, line 31
def transactions
  transactions = @gateway.transaction.search do |search|
    search.ids.in transaction_ids
  end
end