Class: MasterCard::API::Stp::Suppliers

Inherits:
Core::Model::BaseObject
  • Object
show all
Includes:
Core::Model
Defined in:
lib/mastercard/api/stp/suppliers.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/suppliers.rb', line 60

def self.create(mapObj)
	#
	#Creates object of type Suppliers
	#
	#@param Dict mapObj, containing the required parameters to create a new object
	#@return [Suppliers] of the response of created instance.
	#@raise [APIException] an exception from the response status
	return self.execute("f5fea450-18cf-4b4f-8151-a790f6678a39", Suppliers.new(mapObj))
end