Class: MasterCard::API::Disbursements::AccountBalance

Inherits:
Core::Model::BaseObject
  • Object
show all
Includes:
Core::Model
Defined in:
lib/mastercard/api/disbursements/accountbalance.rb

Class Method Summary collapse

Class Method Details

.accountBalanceForSpecificAccount(criteria) ⇒ Object



66
67
68
69
70
71
72
73
74
75
# File 'lib/mastercard/api/disbursements/accountbalance.rb', line 66

def self.accountBalanceForSpecificAccount(criteria)
    #
    #Query objects of type AccountBalance by id and optional criteria
    #@param [Dict] criteria
    #@return [AccountBalance] object representing the response.
    #@raise [APIException] an exception from the response status
    #

    return self.execute("e8790d95-8064-42fb-b6fc-ba12d2e8272f",AccountBalance.new(criteria))
end

.accountBalancesForSpecificPartner(criteria) ⇒ Object



83
84
85
86
87
88
89
90
91
92
# File 'lib/mastercard/api/disbursements/accountbalance.rb', line 83

def self.accountBalancesForSpecificPartner(criteria)
    #
    #Query objects of type AccountBalance by id and optional criteria
    #@param [Dict] criteria
    #@return [AccountBalance] object representing the response.
    #@raise [APIException] an exception from the response status
    #

    return self.execute("4bb7d502-36c3-4875-a8e2-a8cf8a1f96ad",AccountBalance.new(criteria))
end