Class: MasterCard::API::P2p::AccountBalance

Inherits:
Core::Model::BaseObject
  • Object
show all
Includes:
Core::Model
Defined in:
lib/mastercard/api/p2p/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/p2p/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("af8a1009-aa52-412b-8323-5a60d009eb53",AccountBalance.new(criteria))
end

.accountBalancesForSpecificPartner(criteria) ⇒ Object



83
84
85
86
87
88
89
90
91
92
# File 'lib/mastercard/api/p2p/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("80e690b7-eb43-428d-b24d-7e330c460996",AccountBalance.new(criteria))
end