Class: MasterCard::API::Spendcontrols::Txnhistory

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

Class Method Summary collapse

Class Method Details

.query(criteria) ⇒ Object



65
66
67
68
69
70
71
72
73
74
# File 'lib/mastercard/api/spendcontrols/txnhistory.rb', line 65

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

	return self.execute("f7b78769-5688-40b2-a785-f05dd2eb0a87",Txnhistory.new(criteria))
end