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("ddeed58f-1b7f-4857-9aec-192b33749e11", 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("1dded59a-ec63-4a07-b5fa-77bfc61ae2e1",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("6b7e4dca-591f-47b2-8f0e-56d9d203df1f",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("3d485746-417b-453a-bd7a-a5aef324473d",self)
end