class MasterCard::API::Moneysend::Payment
Public Class Methods
create(mapObj)
click to toggle source
# 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
Protected Class Methods
getOperationConfig(uuid)
click to toggle source
# File lib/mastercard/api/moneysend/payment.rb, line 46 def self.getOperationConfig(uuid) if @__store.key?(uuid) return @__store[uuid] end raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid) end
getOperationMetadata()
click to toggle source
# File lib/mastercard/api/moneysend/payment.rb, line 53 def self.getOperationMetadata() return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext()) end