Class: MasterCard::API::StpApiSdk::Payments

Inherits:
Core::Model::BaseObject
  • Object
show all
Includes:
Core::Model
Defined in:
lib/mastercard/api/stpapisdk/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/stpapisdk/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("be203f33-f839-4a83-86f8-6c430d3e88b4", Payments.new(mapObj))
end