Class: MasterCard::API::Qkr::PosOrder

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.create(mapObj) ⇒ Object



61
62
63
64
65
66
67
68
69
# File 'lib/mastercard/api/qkr/posorder.rb', line 61

def self.create(mapObj)
	#
	#Creates object of type PosOrder
	#
	#@param Dict mapObj, containing the required parameters to create a new object
	#@return [PosOrder] of the response of created instance.
	#@raise [APIException] an exception from the response status
	return self.execute("494efdcb-ec5e-4343-8766-48932f60f2f2", PosOrder.new(mapObj))
end

Instance Method Details

#updateObject



78
79
80
81
82
83
84
85
86
# File 'lib/mastercard/api/qkr/posorder.rb', line 78

def update
	#
	#Updates an object of type PosOrder
	#
	#@return [PosOrder] object representing the response.
	#@raise [APIException] an exception from the response status
	#
	return self.class.execute("d5122b5d-d98d-42d6-bb9e-bb4f72c07da0",self)
end