Class: MasterCard::API::Moneysend::Payment

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

Class Method Summary collapse

Class Method Details

.create(mapObj) ⇒ Object



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

def self.create(mapObj)
	#
	#Creates object of type Payment
	#
	#@param Dict mapObj, containing the required parameters to create a new object
	#@return [Payment] of the response of created instance.
	#@raise [APIException] an exception from the response status
	return self.execute("3a4eb98d-a602-4c47-8b05-aa25d2fdf0a5", Payment.new(mapObj))
end