Class: MasterCard::API::Stp::Payments

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

Class Method Summary collapse

Class Method Details

.create(mapObj) ⇒ Object



60
61
62
63
64
65
66
67
68
# File 'lib/mastercard/api/stp/payments.rb', line 60

def self.create(mapObj)
	#
	#Creates object of type Payments
	#
	#@param Dict mapObj, containing the required parameters to create a new object
	#@return [Payments] of the response of created instance.
	#@raise [APIException] an exception from the response status
	return self.execute("83815d3c-91ee-4157-8abb-5281e3f0dc55", Payments.new(mapObj))
end