Class: MasterCard::API::Crossborder::CancelPayment

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

Class Method Summary collapse

Class Method Details

.create(mapObj) ⇒ Object



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

def self.create(mapObj)
    #
    #Creates object of type CancelPayment
    #
    #@param Dict mapObj, containing the required parameters to create a new object
    #@return [CancelPayment] of the response of created instance.
    #@raise [APIException] an exception from the response status
    return self.execute("75b9a9e8-806b-4c99-9547-5c894269d072", CancelPayment.new(mapObj))
end