mastercard_mastercom 3.0.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mastercard/api/mastercom/casefiling.rb +26 -8
- data/lib/mastercard/api/mastercom/chargebacks.rb +32 -14
- data/lib/mastercard/api/mastercom/claims.rb +6 -6
- data/lib/mastercard/api/mastercom/fees.rb +4 -4
- data/lib/mastercard/api/mastercom/fraud.rb +4 -4
- data/lib/mastercard/api/mastercom/healthcheck.rb +2 -2
- data/lib/mastercard/api/mastercom/migrateddisputes.rb +2 -2
- data/lib/mastercard/api/mastercom/queues.rb +6 -6
- data/lib/mastercard/api/mastercom/reconciliation.rb +103 -0
- data/lib/mastercard/api/mastercom/resourceconfig.rb +2 -2
- data/lib/mastercard/api/mastercom/retrievals.rb +30 -12
- data/lib/mastercard/api/mastercom/transactions.rb +6 -6
- data/lib/mastercard_mastercom.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0585e6ae870d25ec8f6a521b5296c32aa9fa4dd4576eef26039011cedc988bf
|
4
|
+
data.tar.gz: d9906f99183db5ebc5b19853d960d02809f676a312cfbd08eaf57c43d5e8f685
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bd8eb02329599208d345affe4ad85def380f39dacfc239009efe5769b299d092164ebed6326f818f87cd8b7fd7fab040addd01c7f3ae750418aa9a35ea24e43
|
7
|
+
data.tar.gz: ee821b224260209a7df975100722089da68f9cf6be45346ecb4040a054d9ea4b92218afee2e4ba4b2283e8bd5b87f84e2d1e14d609dcab9789bae17e174540c7
|
@@ -37,10 +37,11 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
40
|
+
'28703581-cbfa-43ae-bd89-a43510476b1e' => OperationConfig.new("/mastercom/v4/cases", "create", [], []),
|
41
|
+
'e563c80d-797a-4c2f-baca-df3ab033552f' => OperationConfig.new("/mastercom/v4/cases/{case-id}/documents", "query", [], ["format","memo"]),
|
42
|
+
'8205ca6f-f0ad-49e5-b17c-8809febed719' => OperationConfig.new("/mastercom/v4/cases/imagestatus", "update", [], []),
|
43
|
+
'5c6334af-ac31-4320-b68f-ea435f71bb44' => OperationConfig.new("/mastercom/v4/cases/status", "update", [], []),
|
44
|
+
'e6d6043f-fdfe-4729-8e24-d397aab61b3c' => OperationConfig.new("/mastercom/v4/cases/{case-id}", "update", [], []),
|
44
45
|
|
45
46
|
}
|
46
47
|
|
@@ -67,7 +68,7 @@ module MasterCard
|
|
67
68
|
#@param Dict mapObj, containing the required parameters to create a new object
|
68
69
|
#@return [CaseFiling] of the response of created instance.
|
69
70
|
#@raise [APIException] an exception from the response status
|
70
|
-
return self.execute("
|
71
|
+
return self.execute("28703581-cbfa-43ae-bd89-a43510476b1e", CaseFiling.new(mapObj))
|
71
72
|
end
|
72
73
|
|
73
74
|
|
@@ -89,11 +90,28 @@ module MasterCard
|
|
89
90
|
#@raise [APIException] an exception from the response status
|
90
91
|
#
|
91
92
|
|
92
|
-
return self.execute("
|
93
|
+
return self.execute("e563c80d-797a-4c2f-baca-df3ab033552f",CaseFiling.new(criteria))
|
93
94
|
end
|
94
95
|
|
95
96
|
|
96
97
|
|
98
|
+
def caseFilingImageStatus
|
99
|
+
#
|
100
|
+
#Updates an object of type CaseFiling
|
101
|
+
#
|
102
|
+
#@return [CaseFiling] object representing the response.
|
103
|
+
#@raise [APIException] an exception from the response status
|
104
|
+
#
|
105
|
+
return self.class.execute("8205ca6f-f0ad-49e5-b17c-8809febed719",self)
|
106
|
+
end
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
97
115
|
def caseFilingStatus
|
98
116
|
#
|
99
117
|
#Updates an object of type CaseFiling
|
@@ -101,7 +119,7 @@ module MasterCard
|
|
101
119
|
#@return [CaseFiling] object representing the response.
|
102
120
|
#@raise [APIException] an exception from the response status
|
103
121
|
#
|
104
|
-
return self.class.execute("
|
122
|
+
return self.class.execute("5c6334af-ac31-4320-b68f-ea435f71bb44",self)
|
105
123
|
end
|
106
124
|
|
107
125
|
|
@@ -118,7 +136,7 @@ module MasterCard
|
|
118
136
|
#@return [CaseFiling] object representing the response.
|
119
137
|
#@raise [APIException] an exception from the response status
|
120
138
|
#
|
121
|
-
return self.class.execute("
|
139
|
+
return self.class.execute("e6d6043f-fdfe-4729-8e24-d397aab61b3c",self)
|
122
140
|
end
|
123
141
|
|
124
142
|
|
@@ -37,13 +37,14 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'
|
45
|
-
'
|
46
|
-
'
|
40
|
+
'3ff24451-6e6f-4347-9fa2-d3bea60372ea' => OperationConfig.new("/mastercom/v4/chargebacks/acknowledge", "update", [], []),
|
41
|
+
'4f83fc09-c144-4a24-8de9-ad6fe8022b8c' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/chargebacks", "create", [], []),
|
42
|
+
'cdfb4637-c7bc-4220-8a11-76acdddf6bb5' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/chargebacks/{chargeback-id}/reversal", "create", [], []),
|
43
|
+
'ab2f2634-6537-45ac-a172-edbbb1386a7f' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/chargebacks/{chargeback-id}/documents", "query", [], ["format"]),
|
44
|
+
'bb3f698a-4159-4ad7-bcc6-befab45939e0' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/chargebacks/loaddataforchargebacks", "create", [], []),
|
45
|
+
'20c82283-d9d8-4103-8209-a05fadab0cc1' => OperationConfig.new("/mastercom/v4/chargebacks/imagestatus", "update", [], []),
|
46
|
+
'cd799e76-3587-42cd-9aab-6cab6fce2b9d' => OperationConfig.new("/mastercom/v4/chargebacks/status", "update", [], []),
|
47
|
+
'edd8fc58-9297-4bf1-82c5-81ef451ab45d' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/chargebacks/{chargeback-id}", "update", [], []),
|
47
48
|
|
48
49
|
}
|
49
50
|
|
@@ -71,7 +72,7 @@ module MasterCard
|
|
71
72
|
#@return [Chargebacks] object representing the response.
|
72
73
|
#@raise [APIException] an exception from the response status
|
73
74
|
#
|
74
|
-
return self.class.execute("
|
75
|
+
return self.class.execute("3ff24451-6e6f-4347-9fa2-d3bea60372ea",self)
|
75
76
|
end
|
76
77
|
|
77
78
|
|
@@ -87,7 +88,7 @@ module MasterCard
|
|
87
88
|
#@param Dict mapObj, containing the required parameters to create a new object
|
88
89
|
#@return [Chargebacks] of the response of created instance.
|
89
90
|
#@raise [APIException] an exception from the response status
|
90
|
-
return self.execute("
|
91
|
+
return self.execute("4f83fc09-c144-4a24-8de9-ad6fe8022b8c", Chargebacks.new(mapObj))
|
91
92
|
end
|
92
93
|
|
93
94
|
|
@@ -103,7 +104,7 @@ module MasterCard
|
|
103
104
|
#@param Dict mapObj, containing the required parameters to create a new object
|
104
105
|
#@return [Chargebacks] of the response of created instance.
|
105
106
|
#@raise [APIException] an exception from the response status
|
106
|
-
return self.execute("
|
107
|
+
return self.execute("cdfb4637-c7bc-4220-8a11-76acdddf6bb5", Chargebacks.new(mapObj))
|
107
108
|
end
|
108
109
|
|
109
110
|
|
@@ -125,7 +126,7 @@ module MasterCard
|
|
125
126
|
#@raise [APIException] an exception from the response status
|
126
127
|
#
|
127
128
|
|
128
|
-
return self.execute("
|
129
|
+
return self.execute("ab2f2634-6537-45ac-a172-edbbb1386a7f",Chargebacks.new(criteria))
|
129
130
|
end
|
130
131
|
|
131
132
|
|
@@ -136,7 +137,24 @@ module MasterCard
|
|
136
137
|
#@param Dict mapObj, containing the required parameters to create a new object
|
137
138
|
#@return [Chargebacks] of the response of created instance.
|
138
139
|
#@raise [APIException] an exception from the response status
|
139
|
-
return self.execute("
|
140
|
+
return self.execute("bb3f698a-4159-4ad7-bcc6-befab45939e0", Chargebacks.new(mapObj))
|
141
|
+
end
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
def chargebacksImageStatus
|
151
|
+
#
|
152
|
+
#Updates an object of type Chargebacks
|
153
|
+
#
|
154
|
+
#@return [Chargebacks] object representing the response.
|
155
|
+
#@raise [APIException] an exception from the response status
|
156
|
+
#
|
157
|
+
return self.class.execute("20c82283-d9d8-4103-8209-a05fadab0cc1",self)
|
140
158
|
end
|
141
159
|
|
142
160
|
|
@@ -153,7 +171,7 @@ module MasterCard
|
|
153
171
|
#@return [Chargebacks] object representing the response.
|
154
172
|
#@raise [APIException] an exception from the response status
|
155
173
|
#
|
156
|
-
return self.class.execute("
|
174
|
+
return self.class.execute("cd799e76-3587-42cd-9aab-6cab6fce2b9d",self)
|
157
175
|
end
|
158
176
|
|
159
177
|
|
@@ -170,7 +188,7 @@ module MasterCard
|
|
170
188
|
#@return [Chargebacks] object representing the response.
|
171
189
|
#@raise [APIException] an exception from the response status
|
172
190
|
#
|
173
|
-
return self.class.execute("
|
191
|
+
return self.class.execute("edd8fc58-9297-4bf1-82c5-81ef451ab45d",self)
|
174
192
|
end
|
175
193
|
|
176
194
|
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'70761cd8-885d-4274-83df-dcc74f188713' => OperationConfig.new("/mastercom/v4/claims", "create", [], []),
|
41
|
+
'89877402-7145-4c5c-8336-0416399cd246' => OperationConfig.new("/mastercom/v4/claims/{claim-id}", "read", [], []),
|
42
|
+
'29b30e1d-6bb1-42ce-9a59-395228e0b0d8' => OperationConfig.new("/mastercom/v4/claims/{claim-id}", "update", [], []),
|
43
43
|
|
44
44
|
}
|
45
45
|
|
@@ -66,7 +66,7 @@ module MasterCard
|
|
66
66
|
#@param Dict mapObj, containing the required parameters to create a new object
|
67
67
|
#@return [Claims] of the response of created instance.
|
68
68
|
#@raise [APIException] an exception from the response status
|
69
|
-
return self.execute("
|
69
|
+
return self.execute("70761cd8-885d-4274-83df-dcc74f188713", Claims.new(mapObj))
|
70
70
|
end
|
71
71
|
|
72
72
|
|
@@ -99,7 +99,7 @@ module MasterCard
|
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
|
-
return self.execute("
|
102
|
+
return self.execute("89877402-7145-4c5c-8336-0416399cd246",Claims.new(mapObj))
|
103
103
|
end
|
104
104
|
|
105
105
|
|
@@ -112,7 +112,7 @@ module MasterCard
|
|
112
112
|
#@return [Claims] object representing the response.
|
113
113
|
#@raise [APIException] an exception from the response status
|
114
114
|
#
|
115
|
-
return self.class.execute("
|
115
|
+
return self.class.execute("29b30e1d-6bb1-42ce-9a59-395228e0b0d8",self)
|
116
116
|
end
|
117
117
|
|
118
118
|
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'7ecb8f8f-bcd1-4960-9afe-b0ef840b834b' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/fee", "create", [], []),
|
41
|
+
'4467e686-6b95-4446-9dda-2fc5ba1d83bb' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/fees/loaddataforfees", "create", [], []),
|
42
42
|
|
43
43
|
}
|
44
44
|
|
@@ -65,7 +65,7 @@ module MasterCard
|
|
65
65
|
#@param Dict mapObj, containing the required parameters to create a new object
|
66
66
|
#@return [Fees] of the response of created instance.
|
67
67
|
#@raise [APIException] an exception from the response status
|
68
|
-
return self.execute("
|
68
|
+
return self.execute("7ecb8f8f-bcd1-4960-9afe-b0ef840b834b", Fees.new(mapObj))
|
69
69
|
end
|
70
70
|
|
71
71
|
|
@@ -81,7 +81,7 @@ module MasterCard
|
|
81
81
|
#@param Dict mapObj, containing the required parameters to create a new object
|
82
82
|
#@return [Fees] of the response of created instance.
|
83
83
|
#@raise [APIException] an exception from the response status
|
84
|
-
return self.execute("
|
84
|
+
return self.execute("4467e686-6b95-4446-9dda-2fc5ba1d83bb", Fees.new(mapObj))
|
85
85
|
end
|
86
86
|
|
87
87
|
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'7c826154-c2f6-440b-84b3-007d29f62a02' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/fraud/mastercard", "create", [], []),
|
41
|
+
'46ec1360-3968-490d-b792-2da903cd5f38' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/fraud/loaddataforfraud", "query", [], []),
|
42
42
|
|
43
43
|
}
|
44
44
|
|
@@ -65,7 +65,7 @@ module MasterCard
|
|
65
65
|
#@param Dict mapObj, containing the required parameters to create a new object
|
66
66
|
#@return [Fraud] of the response of created instance.
|
67
67
|
#@raise [APIException] an exception from the response status
|
68
|
-
return self.execute("
|
68
|
+
return self.execute("7c826154-c2f6-440b-84b3-007d29f62a02", Fraud.new(mapObj))
|
69
69
|
end
|
70
70
|
|
71
71
|
|
@@ -87,7 +87,7 @@ module MasterCard
|
|
87
87
|
#@raise [APIException] an exception from the response status
|
88
88
|
#
|
89
89
|
|
90
|
-
return self.execute("
|
90
|
+
return self.execute("46ec1360-3968-490d-b792-2da903cd5f38",Fraud.new(criteria))
|
91
91
|
end
|
92
92
|
|
93
93
|
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'05d4ce72-edc5-4554-bb03-878787263770' => OperationConfig.new("/mastercom/v4/healthcheck", "query", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -70,7 +70,7 @@ module MasterCard
|
|
70
70
|
#@raise [APIException] an exception from the response status
|
71
71
|
#
|
72
72
|
|
73
|
-
return self.execute("
|
73
|
+
return self.execute("05d4ce72-edc5-4554-bb03-878787263770",HealthCheck.new(criteria))
|
74
74
|
end
|
75
75
|
|
76
76
|
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'38141e3c-a2df-4bf5-afff-583720b6ed42' => OperationConfig.new("/mastercom/v4/disputes/retrieve", "create", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -64,7 +64,7 @@ module MasterCard
|
|
64
64
|
#@param Dict mapObj, containing the required parameters to create a new object
|
65
65
|
#@return [MigratedDisputes] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("38141e3c-a2df-4bf5-afff-583720b6ed42", MigratedDisputes.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'f3c28bc2-ee39-432f-bf48-011d1b068ab1' => OperationConfig.new("/mastercom/v4/queues", "list", [], ["queue-name"]),
|
41
|
+
'08e0ef31-72e3-4c75-97c9-1f2695ae8776' => OperationConfig.new("/mastercom/v4/queues/names", "list", [], []),
|
42
42
|
|
43
43
|
}
|
44
44
|
|
@@ -69,9 +69,9 @@ module MasterCard
|
|
69
69
|
#@raise [APIException] an exception from the response status
|
70
70
|
|
71
71
|
if criteria.nil?
|
72
|
-
return self.execute("
|
72
|
+
return self.execute("f3c28bc2-ee39-432f-bf48-011d1b068ab1",Queues.new)
|
73
73
|
else
|
74
|
-
return self.execute("
|
74
|
+
return self.execute("f3c28bc2-ee39-432f-bf48-011d1b068ab1",Queues.new(criteria))
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
@@ -89,9 +89,9 @@ module MasterCard
|
|
89
89
|
#@raise [APIException] an exception from the response status
|
90
90
|
|
91
91
|
if criteria.nil?
|
92
|
-
return self.execute("
|
92
|
+
return self.execute("08e0ef31-72e3-4c75-97c9-1f2695ae8776",Queues.new)
|
93
93
|
else
|
94
|
-
return self.execute("
|
94
|
+
return self.execute("08e0ef31-72e3-4c75-97c9-1f2695ae8776",Queues.new(criteria))
|
95
95
|
end
|
96
96
|
end
|
97
97
|
|
@@ -0,0 +1,103 @@
|
|
1
|
+
#
|
2
|
+
# Copyright (c) 2016 MasterCard International Incorporated
|
3
|
+
# All rights reserved.
|
4
|
+
#
|
5
|
+
# Redistribution and use in source and binary forms, with or without modification, are
|
6
|
+
# permitted provided that the following conditions are met:
|
7
|
+
#
|
8
|
+
# Redistributions of source code must retain the above copyright notice, this list of
|
9
|
+
# conditions and the following disclaimer.
|
10
|
+
# Redistributions in binary form must reproduce the above copyright notice, this list of
|
11
|
+
# conditions and the following disclaimer in the documentation and/or other materials
|
12
|
+
# provided with the distribution.
|
13
|
+
# Neither the name of the MasterCard International Incorporated nor the names of its
|
14
|
+
# contributors may be used to endorse or promote products derived from this software
|
15
|
+
# without specific prior written permission.
|
16
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
17
|
+
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
18
|
+
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
|
19
|
+
# SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
20
|
+
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
21
|
+
# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
22
|
+
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
23
|
+
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
24
|
+
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
25
|
+
# SUCH DAMAGE.
|
26
|
+
#
|
27
|
+
|
28
|
+
|
29
|
+
require "mastercard/core/model"
|
30
|
+
require "mastercard/core/baseobject"
|
31
|
+
|
32
|
+
module MasterCard
|
33
|
+
module API
|
34
|
+
module Mastercom
|
35
|
+
class Reconciliation < MasterCard::Core::Model::BaseObject
|
36
|
+
include MasterCard::Core::Model
|
37
|
+
#
|
38
|
+
|
39
|
+
@__store = {
|
40
|
+
'2e8a9c9d-21bb-495b-ac2c-214e593ecdf1' => OperationConfig.new("/mastercom/v4/reconreport/data/request", "create", [], []),
|
41
|
+
'944ead22-d033-43aa-a9c2-d80617764c0b' => OperationConfig.new("/mastercom/v4/reconreport/data/retrieval/{reportIdentifier}", "create", [], []),
|
42
|
+
|
43
|
+
}
|
44
|
+
|
45
|
+
protected
|
46
|
+
|
47
|
+
def self.getOperationConfig(operationUUID)
|
48
|
+
if @__store.key?(operationUUID)
|
49
|
+
return @__store[operationUUID]
|
50
|
+
end
|
51
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
|
52
|
+
end
|
53
|
+
|
54
|
+
def self.getOperationMetadata()
|
55
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
56
|
+
end
|
57
|
+
|
58
|
+
public
|
59
|
+
|
60
|
+
|
61
|
+
def self.acknowledgeReconciliationRequest(mapObj)
|
62
|
+
#
|
63
|
+
#Creates object of type Reconciliation
|
64
|
+
#
|
65
|
+
#@param Dict mapObj, containing the required parameters to create a new object
|
66
|
+
#@return [Reconciliation] of the response of created instance.
|
67
|
+
#@raise [APIException] an exception from the response status
|
68
|
+
return self.execute("2e8a9c9d-21bb-495b-ac2c-214e593ecdf1", Reconciliation.new(mapObj))
|
69
|
+
end
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
def self.retrieveReconciliationReport(mapObj)
|
78
|
+
#
|
79
|
+
#Creates object of type Reconciliation
|
80
|
+
#
|
81
|
+
#@param Dict mapObj, containing the required parameters to create a new object
|
82
|
+
#@return [Reconciliation] of the response of created instance.
|
83
|
+
#@raise [APIException] an exception from the response status
|
84
|
+
return self.execute("944ead22-d033-43aa-a9c2-d80617764c0b", Reconciliation.new(mapObj))
|
85
|
+
end
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
@@ -37,12 +37,13 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'
|
45
|
-
'
|
40
|
+
'a23527dc-0999-4350-abf2-e1ea8fd41e56' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/retrievalrequests/{request-id}/fulfillments", "create", [], []),
|
41
|
+
'f1c63dac-3e79-48d6-ac08-b70aca70670a' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/retrievalrequests", "create", [], []),
|
42
|
+
'd0f3abc3-bf08-4b5c-8e7d-944e6a9240d8' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/retrievalrequests/loaddataforretrievalrequests", "query", [], []),
|
43
|
+
'6293b3e9-8c29-4d3b-a553-148f6f1af0b9' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/retrievalrequests/{request-id}/documents", "query", [], ["format"]),
|
44
|
+
'a3ad68ce-11f5-454b-89cf-f2a0875c7d36' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/retrievalrequests/{request-id}/fulfillments/response", "create", [], []),
|
45
|
+
'067588d5-20cb-4e37-b44b-b6f015911203' => OperationConfig.new("/mastercom/v4/retrievalrequests/imagestatus", "update", [], []),
|
46
|
+
'97c76e88-0b5c-4ecd-8a49-1e00744e0880' => OperationConfig.new("/mastercom/v4/retrievalrequests/status", "update", [], []),
|
46
47
|
|
47
48
|
}
|
48
49
|
|
@@ -69,7 +70,7 @@ module MasterCard
|
|
69
70
|
#@param Dict mapObj, containing the required parameters to create a new object
|
70
71
|
#@return [Retrievals] of the response of created instance.
|
71
72
|
#@raise [APIException] an exception from the response status
|
72
|
-
return self.execute("
|
73
|
+
return self.execute("a23527dc-0999-4350-abf2-e1ea8fd41e56", Retrievals.new(mapObj))
|
73
74
|
end
|
74
75
|
|
75
76
|
|
@@ -85,7 +86,7 @@ module MasterCard
|
|
85
86
|
#@param Dict mapObj, containing the required parameters to create a new object
|
86
87
|
#@return [Retrievals] of the response of created instance.
|
87
88
|
#@raise [APIException] an exception from the response status
|
88
|
-
return self.execute("
|
89
|
+
return self.execute("f1c63dac-3e79-48d6-ac08-b70aca70670a", Retrievals.new(mapObj))
|
89
90
|
end
|
90
91
|
|
91
92
|
|
@@ -107,7 +108,7 @@ module MasterCard
|
|
107
108
|
#@raise [APIException] an exception from the response status
|
108
109
|
#
|
109
110
|
|
110
|
-
return self.execute("
|
111
|
+
return self.execute("d0f3abc3-bf08-4b5c-8e7d-944e6a9240d8",Retrievals.new(criteria))
|
111
112
|
end
|
112
113
|
|
113
114
|
|
@@ -124,7 +125,7 @@ module MasterCard
|
|
124
125
|
#@raise [APIException] an exception from the response status
|
125
126
|
#
|
126
127
|
|
127
|
-
return self.execute("
|
128
|
+
return self.execute("6293b3e9-8c29-4d3b-a553-148f6f1af0b9",Retrievals.new(criteria))
|
128
129
|
end
|
129
130
|
|
130
131
|
|
@@ -135,7 +136,24 @@ module MasterCard
|
|
135
136
|
#@param Dict mapObj, containing the required parameters to create a new object
|
136
137
|
#@return [Retrievals] of the response of created instance.
|
137
138
|
#@raise [APIException] an exception from the response status
|
138
|
-
return self.execute("
|
139
|
+
return self.execute("a3ad68ce-11f5-454b-89cf-f2a0875c7d36", Retrievals.new(mapObj))
|
140
|
+
end
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
def retrievalFullfilmentImageStatus
|
150
|
+
#
|
151
|
+
#Updates an object of type Retrievals
|
152
|
+
#
|
153
|
+
#@return [Retrievals] object representing the response.
|
154
|
+
#@raise [APIException] an exception from the response status
|
155
|
+
#
|
156
|
+
return self.class.execute("067588d5-20cb-4e37-b44b-b6f015911203",self)
|
139
157
|
end
|
140
158
|
|
141
159
|
|
@@ -152,7 +170,7 @@ module MasterCard
|
|
152
170
|
#@return [Retrievals] object representing the response.
|
153
171
|
#@raise [APIException] an exception from the response status
|
154
172
|
#
|
155
|
-
return self.class.execute("
|
173
|
+
return self.class.execute("97c76e88-0b5c-4ecd-8a49-1e00744e0880",self)
|
156
174
|
end
|
157
175
|
|
158
176
|
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'62b6c60f-b711-40b6-810c-7b5fa8a073f5' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/transactions/clearing/{transaction-id}", "read", [], []),
|
41
|
+
'70b2df3b-99ce-4550-934c-719c8bb6b6e1' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/transactions/authorization/{transaction-id}", "read", [], []),
|
42
|
+
'dafb3096-da28-4c54-ae38-329b80e205d8' => OperationConfig.new("/mastercom/v4/transactions/search", "create", [], []),
|
43
43
|
|
44
44
|
}
|
45
45
|
|
@@ -83,7 +83,7 @@ module MasterCard
|
|
83
83
|
end
|
84
84
|
end
|
85
85
|
|
86
|
-
return self.execute("
|
86
|
+
return self.execute("62b6c60f-b711-40b6-810c-7b5fa8a073f5",Transactions.new(mapObj))
|
87
87
|
end
|
88
88
|
|
89
89
|
|
@@ -112,7 +112,7 @@ module MasterCard
|
|
112
112
|
end
|
113
113
|
end
|
114
114
|
|
115
|
-
return self.execute("
|
115
|
+
return self.execute("70b2df3b-99ce-4550-934c-719c8bb6b6e1",Transactions.new(mapObj))
|
116
116
|
end
|
117
117
|
|
118
118
|
|
@@ -124,7 +124,7 @@ module MasterCard
|
|
124
124
|
#@param Dict mapObj, containing the required parameters to create a new object
|
125
125
|
#@return [Transactions] of the response of created instance.
|
126
126
|
#@raise [APIException] an exception from the response status
|
127
|
-
return self.execute("
|
127
|
+
return self.execute("dafb3096-da28-4c54-ae38-329b80e205d8", Transactions.new(mapObj))
|
128
128
|
end
|
129
129
|
|
130
130
|
|
data/lib/mastercard_mastercom.rb
CHANGED
@@ -10,5 +10,6 @@ require 'mastercard/api/mastercom/fraud'
|
|
10
10
|
require 'mastercard/api/mastercom/healthcheck'
|
11
11
|
require 'mastercard/api/mastercom/migrateddisputes'
|
12
12
|
require 'mastercard/api/mastercom/queues'
|
13
|
+
require 'mastercard/api/mastercom/reconciliation'
|
13
14
|
require 'mastercard/api/mastercom/retrievals'
|
14
15
|
require 'mastercard/api/mastercom/transactions'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mastercard_mastercom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MasterCard Worldwide
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mastercard_api_core
|
@@ -59,6 +59,7 @@ files:
|
|
59
59
|
- lib/mastercard/api/mastercom/healthcheck.rb
|
60
60
|
- lib/mastercard/api/mastercom/migrateddisputes.rb
|
61
61
|
- lib/mastercard/api/mastercom/queues.rb
|
62
|
+
- lib/mastercard/api/mastercom/reconciliation.rb
|
62
63
|
- lib/mastercard/api/mastercom/resourceconfig.rb
|
63
64
|
- lib/mastercard/api/mastercom/retrievals.rb
|
64
65
|
- lib/mastercard/api/mastercom/transactions.rb
|