Class: MasterCard::API::Qkr::OrderTotal

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

Class Method Summary collapse

Class Method Details

.create(mapObj) ⇒ Object



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

def self.create(mapObj)
    #
    #Creates object of type OrderTotal
    #
    #@param Dict mapObj, containing the required parameters to create a new object
    #@return [OrderTotal] of the response of created instance.
    #@raise [APIException] an exception from the response status
    return self.execute("2ca2c4b7-e416-4742-ac02-8f4d7c3fc888", OrderTotal.new(mapObj))
end