Class: MasterCard::API::Mastercom::CaseFiling

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.create(mapObj) ⇒ Object



62
63
64
65
66
67
68
69
70
# File 'lib/mastercard/api/mastercom/casefiling.rb', line 62

def self.create(mapObj)
  #
  #Creates object of type CaseFiling
  #
  #@param Dict mapObj, containing the required parameters to create a new object
  #@return [CaseFiling] of the response of created instance.
  #@raise [APIException] an exception from the response status
  return self.execute("fd8d50c1-79e3-4d4d-93d2-476608b68ebf", CaseFiling.new(mapObj))
end

.retrieveDocumentation(criteria) ⇒ Object



83
84
85
86
87
88
89
90
91
92
# File 'lib/mastercard/api/mastercom/casefiling.rb', line 83

def self.retrieveDocumentation(criteria)
  #
  #Query objects of type CaseFiling by id and optional criteria
  #@param [Dict] criteria
  #@return [CaseFiling] object representing the response.
  #@raise [APIException] an exception from the response status
  #

  return self.execute("6c3a468a-c293-4996-946f-e7650a5b4a80",CaseFiling.new(criteria))
end

Instance Method Details

#updateObject



96
97
98
99
100
101
102
103
104
# File 'lib/mastercard/api/mastercom/casefiling.rb', line 96

def update
  #
  #Updates an object of type CaseFiling
  #
  #@return [CaseFiling] object representing the response.
  #@raise [APIException] an exception from the response status
  #
  return self.class.execute("c55c8ce8-227a-40f2-bd97-cdc3bdd2eb54",self)
end