Class: MasterCard::API::Qkr::PosPayment

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

def self.create(mapObj)
  #
  #Creates object of type PosPayment
  #
  #@param Dict mapObj, containing the required parameters to create a new object
  #@return [PosPayment] of the response of created instance.
  #@raise [APIException] an exception from the response status
  return self.execute("bc223b24-71f5-4856-9691-dbfc0683ea52", PosPayment.new(mapObj))
end