Class: MasterCard::API::Qkr::CartValidation

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

def self.create(mapObj)
    #
    #Creates object of type CartValidation
    #
    #@param Dict mapObj, containing the required parameters to create a new object
    #@return [CartValidation] of the response of created instance.
    #@raise [APIException] an exception from the response status
    return self.execute("4c3d6c0a-6410-4dfc-8a5e-47448ce2a069", CartValidation.new(mapObj))
end