Class: MasterCard::API::Mastercom::Chargebacks

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.create(mapObj) ⇒ Object



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

def self.create(mapObj)
    #
    #Creates object of type Chargebacks
    #
    #@param Dict mapObj, containing the required parameters to create a new object
    #@return [Chargebacks] of the response of created instance.
    #@raise [APIException] an exception from the response status
    return self.execute("a96bd620-a49d-4222-8065-c0410d980fc7", Chargebacks.new(mapObj))
end

.createReversal(mapObj) ⇒ Object



100
101
102
103
104
105
106
107
108
# File 'lib/mastercard/api/mastercom/chargebacks.rb', line 100

def self.createReversal(mapObj)
    #
    #Creates object of type Chargebacks
    #
    #@param Dict mapObj, containing the required parameters to create a new object
    #@return [Chargebacks] of the response of created instance.
    #@raise [APIException] an exception from the response status
    return self.execute("c6cc9f7b-e279-40ce-a9d2-dda490d12825", Chargebacks.new(mapObj))
end

.getPossibleValueListsForCreate(mapObj) ⇒ Object



133
134
135
136
137
138
139
140
141
# File 'lib/mastercard/api/mastercom/chargebacks.rb', line 133

def self.getPossibleValueListsForCreate(mapObj)
    #
    #Creates object of type Chargebacks
    #
    #@param Dict mapObj, containing the required parameters to create a new object
    #@return [Chargebacks] of the response of created instance.
    #@raise [APIException] an exception from the response status
    return self.execute("598dd945-f711-4cf9-8df1-a09579998850", Chargebacks.new(mapObj))
end

.retrieveDocumentation(criteria) ⇒ Object



121
122
123
124
125
126
127
128
129
130
# File 'lib/mastercard/api/mastercom/chargebacks.rb', line 121

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

    return self.execute("7c26acb2-a9cd-4c05-8314-7147dce0906a",Chargebacks.new(criteria))
end

Instance Method Details

#acknowledgeReceivedChargebacksObject



68
69
70
71
72
73
74
75
76
# File 'lib/mastercard/api/mastercom/chargebacks.rb', line 68

def acknowledgeReceivedChargebacks
    #
    #Updates an object of type Chargebacks
    #
    #@return [Chargebacks] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("a4ca54dc-ba89-418f-b38d-699f32bef089",self)
end

#chargebacksImageStatusObject



150
151
152
153
154
155
156
157
158
# File 'lib/mastercard/api/mastercom/chargebacks.rb', line 150

def chargebacksImageStatus
    #
    #Updates an object of type Chargebacks
    #
    #@return [Chargebacks] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("f48cf894-b6b3-454c-b215-94eddabb931a",self)
end

#chargebacksStatusObject



167
168
169
170
171
172
173
174
175
# File 'lib/mastercard/api/mastercom/chargebacks.rb', line 167

def chargebacksStatus
    #
    #Updates an object of type Chargebacks
    #
    #@return [Chargebacks] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("709d18c2-9fb9-4a29-9cd7-1dd39f26dd64",self)
end

#updateObject



184
185
186
187
188
189
190
191
192
# File 'lib/mastercard/api/mastercom/chargebacks.rb', line 184

def update
    #
    #Updates an object of type Chargebacks
    #
    #@return [Chargebacks] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("1e0acfea-d280-4feb-82e7-287e7c8edfc3",self)
end