Class: MasterCard::API::Qkr::PosOrder

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.create(mapObj) ⇒ Object



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

def self.create(mapObj)
    #
    #Creates object of type PosOrder
    #
    #@param Dict mapObj, containing the required parameters to create a new object
    #@return [PosOrder] of the response of created instance.
    #@raise [APIException] an exception from the response status
    return self.execute("1204dfe3-e5d2-46d3-a526-365bd8e10fa8", PosOrder.new(mapObj))
end

Instance Method Details

#updateObject



78
79
80
81
82
83
84
85
86
# File 'lib/mastercard/api/qkr/posorder.rb', line 78

def update
    #
    #Updates an object of type PosOrder
    #
    #@return [PosOrder] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("e708e551-f80b-4dd1-b8b1-0724b11478cb",self)
end