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



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

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("8265272d-511d-4ff6-8212-0774c7f56761", CaseFiling.new(mapObj))
end

.retrieveDocumentation(criteria) ⇒ Object



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

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("93d85a71-3280-4466-bbf5-05848a3633f1",CaseFiling.new(criteria))
end

Instance Method Details

#caseFilingStatusObject



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

def caseFilingStatus
    #
    #Updates an object of type CaseFiling
    #
    #@return [CaseFiling] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("077b746e-3394-4126-8a62-a5f59d5c76d2",self)
end

#updateObject



114
115
116
117
118
119
120
121
122
# File 'lib/mastercard/api/mastercom/casefiling.rb', line 114

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("4db65791-3d83-4026-95e4-efdc9fe0b17d",self)
end