mastercard_mastercom 4.0.0 → 5.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 +10 -10
- data/lib/mastercard/api/mastercom/chargebacks.rb +16 -16
- data/lib/mastercard/api/mastercom/chargebacksdebitmastercardandeuropedualacquirer.rb +193 -0
- data/lib/mastercard/api/mastercom/claims.rb +6 -6
- data/lib/mastercard/api/mastercom/fees.rb +4 -4
- data/lib/mastercard/api/mastercom/feesdebitmastercardandeuropedualacquirer.rb +86 -0
- 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 +4 -4
- data/lib/mastercard/api/mastercom/resourceconfig.rb +1 -1
- data/lib/mastercard/api/mastercom/retrievals.rb +14 -14
- data/lib/mastercard/api/mastercom/retrievalsdebitmastercardandeuropedualacquirer.rb +174 -0
- data/lib/mastercard/api/mastercom/transactions.rb +6 -6
- data/lib/mastercard/api/mastercom/transactionsdebitmastercardandeuropedualacquirer.rb +104 -0
- data/lib/mastercard_mastercom.rb +4 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f0500db9588fc8c5314f3babadbb2455dc9069163fe6f891d98819065554e58
|
4
|
+
data.tar.gz: 8c016f769954da42a673925d787c1b0f0c16cdf5d1cdb3f22b7c6a5a9255217b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 230894cd4f32bb76e8b36a1d673abc168a1ef425db1056d7d286e58755ce9ddd479ad2edbd618d9692ea20dff01a7360c41f9fa9371dad58a80505c71db38435
|
7
|
+
data.tar.gz: 750be71903ac0959fe316f7f61c4ecb888ceb355e6731799f052cc01abd14b2d07166f4c30e2f2b665f52897418db57198dc53178d29c02f9b5d0d0366807fa1
|
@@ -37,11 +37,11 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'
|
40
|
+
'bf47dfe2-7cfc-42e0-9909-78642ba2e868' => OperationConfig.new("/mastercom/v5/cases", "create", [], []),
|
41
|
+
'78dd65f2-87b9-4f45-8f35-56c0f818a3e0' => OperationConfig.new("/mastercom/v5/cases/{case-id}/documents", "query", [], ["format","memo"]),
|
42
|
+
'1cb1d467-1733-44c3-b5f3-d7113e4deb9f' => OperationConfig.new("/mastercom/v5/cases/imagestatus", "update", [], []),
|
43
|
+
'5ec0623e-389b-4397-99d6-dad3a115026a' => OperationConfig.new("/mastercom/v5/cases/status", "update", [], []),
|
44
|
+
'87d4f5bf-1238-409d-88e5-9031dc920121' => OperationConfig.new("/mastercom/v5/cases/{case-id}", "update", [], []),
|
45
45
|
|
46
46
|
}
|
47
47
|
|
@@ -68,7 +68,7 @@ module MasterCard
|
|
68
68
|
#@param Dict mapObj, containing the required parameters to create a new object
|
69
69
|
#@return [CaseFiling] of the response of created instance.
|
70
70
|
#@raise [APIException] an exception from the response status
|
71
|
-
return self.execute("
|
71
|
+
return self.execute("bf47dfe2-7cfc-42e0-9909-78642ba2e868", CaseFiling.new(mapObj))
|
72
72
|
end
|
73
73
|
|
74
74
|
|
@@ -90,7 +90,7 @@ module MasterCard
|
|
90
90
|
#@raise [APIException] an exception from the response status
|
91
91
|
#
|
92
92
|
|
93
|
-
return self.execute("
|
93
|
+
return self.execute("78dd65f2-87b9-4f45-8f35-56c0f818a3e0",CaseFiling.new(criteria))
|
94
94
|
end
|
95
95
|
|
96
96
|
|
@@ -102,7 +102,7 @@ module MasterCard
|
|
102
102
|
#@return [CaseFiling] object representing the response.
|
103
103
|
#@raise [APIException] an exception from the response status
|
104
104
|
#
|
105
|
-
return self.class.execute("
|
105
|
+
return self.class.execute("1cb1d467-1733-44c3-b5f3-d7113e4deb9f",self)
|
106
106
|
end
|
107
107
|
|
108
108
|
|
@@ -119,7 +119,7 @@ module MasterCard
|
|
119
119
|
#@return [CaseFiling] object representing the response.
|
120
120
|
#@raise [APIException] an exception from the response status
|
121
121
|
#
|
122
|
-
return self.class.execute("
|
122
|
+
return self.class.execute("5ec0623e-389b-4397-99d6-dad3a115026a",self)
|
123
123
|
end
|
124
124
|
|
125
125
|
|
@@ -136,7 +136,7 @@ module MasterCard
|
|
136
136
|
#@return [CaseFiling] object representing the response.
|
137
137
|
#@raise [APIException] an exception from the response status
|
138
138
|
#
|
139
|
-
return self.class.execute("
|
139
|
+
return self.class.execute("87d4f5bf-1238-409d-88e5-9031dc920121",self)
|
140
140
|
end
|
141
141
|
|
142
142
|
|
@@ -37,14 +37,14 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'
|
45
|
-
'
|
46
|
-
'
|
47
|
-
'
|
40
|
+
'588c531a-c9d6-43f6-b49a-4a1be86d539d' => OperationConfig.new("/mastercom/v5/chargebacks/acknowledge", "update", [], []),
|
41
|
+
'ca091d42-b276-4aef-ae56-b1e95e55a99e' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/chargebacks", "create", [], []),
|
42
|
+
'b58a232b-d210-46bf-8b18-a193395eff11' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/chargebacks/{chargeback-id}/reversal", "create", [], []),
|
43
|
+
'6446ea44-6ee5-4588-bf6d-9ff4b982686a' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/chargebacks/{chargeback-id}/documents", "query", [], ["format"]),
|
44
|
+
'9cc03deb-b81e-4fe0-8933-a591c98ed923' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/chargebacks/loaddataforchargebacks", "create", [], []),
|
45
|
+
'a2a59b0e-0df3-40ac-a153-46534e62c805' => OperationConfig.new("/mastercom/v5/chargebacks/imagestatus", "update", [], []),
|
46
|
+
'aa597b5a-aa38-4764-b406-d1dad2a25148' => OperationConfig.new("/mastercom/v5/chargebacks/status", "update", [], []),
|
47
|
+
'379697f2-8aa9-41f0-b738-06bfe83566fe' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/chargebacks/{chargeback-id}", "update", [], []),
|
48
48
|
|
49
49
|
}
|
50
50
|
|
@@ -72,7 +72,7 @@ module MasterCard
|
|
72
72
|
#@return [Chargebacks] object representing the response.
|
73
73
|
#@raise [APIException] an exception from the response status
|
74
74
|
#
|
75
|
-
return self.class.execute("
|
75
|
+
return self.class.execute("588c531a-c9d6-43f6-b49a-4a1be86d539d",self)
|
76
76
|
end
|
77
77
|
|
78
78
|
|
@@ -88,7 +88,7 @@ module MasterCard
|
|
88
88
|
#@param Dict mapObj, containing the required parameters to create a new object
|
89
89
|
#@return [Chargebacks] of the response of created instance.
|
90
90
|
#@raise [APIException] an exception from the response status
|
91
|
-
return self.execute("
|
91
|
+
return self.execute("ca091d42-b276-4aef-ae56-b1e95e55a99e", Chargebacks.new(mapObj))
|
92
92
|
end
|
93
93
|
|
94
94
|
|
@@ -104,7 +104,7 @@ module MasterCard
|
|
104
104
|
#@param Dict mapObj, containing the required parameters to create a new object
|
105
105
|
#@return [Chargebacks] of the response of created instance.
|
106
106
|
#@raise [APIException] an exception from the response status
|
107
|
-
return self.execute("
|
107
|
+
return self.execute("b58a232b-d210-46bf-8b18-a193395eff11", Chargebacks.new(mapObj))
|
108
108
|
end
|
109
109
|
|
110
110
|
|
@@ -126,7 +126,7 @@ module MasterCard
|
|
126
126
|
#@raise [APIException] an exception from the response status
|
127
127
|
#
|
128
128
|
|
129
|
-
return self.execute("
|
129
|
+
return self.execute("6446ea44-6ee5-4588-bf6d-9ff4b982686a",Chargebacks.new(criteria))
|
130
130
|
end
|
131
131
|
|
132
132
|
|
@@ -137,7 +137,7 @@ module MasterCard
|
|
137
137
|
#@param Dict mapObj, containing the required parameters to create a new object
|
138
138
|
#@return [Chargebacks] of the response of created instance.
|
139
139
|
#@raise [APIException] an exception from the response status
|
140
|
-
return self.execute("
|
140
|
+
return self.execute("9cc03deb-b81e-4fe0-8933-a591c98ed923", Chargebacks.new(mapObj))
|
141
141
|
end
|
142
142
|
|
143
143
|
|
@@ -154,7 +154,7 @@ module MasterCard
|
|
154
154
|
#@return [Chargebacks] object representing the response.
|
155
155
|
#@raise [APIException] an exception from the response status
|
156
156
|
#
|
157
|
-
return self.class.execute("
|
157
|
+
return self.class.execute("a2a59b0e-0df3-40ac-a153-46534e62c805",self)
|
158
158
|
end
|
159
159
|
|
160
160
|
|
@@ -171,7 +171,7 @@ module MasterCard
|
|
171
171
|
#@return [Chargebacks] object representing the response.
|
172
172
|
#@raise [APIException] an exception from the response status
|
173
173
|
#
|
174
|
-
return self.class.execute("
|
174
|
+
return self.class.execute("aa597b5a-aa38-4764-b406-d1dad2a25148",self)
|
175
175
|
end
|
176
176
|
|
177
177
|
|
@@ -188,7 +188,7 @@ module MasterCard
|
|
188
188
|
#@return [Chargebacks] object representing the response.
|
189
189
|
#@raise [APIException] an exception from the response status
|
190
190
|
#
|
191
|
-
return self.class.execute("
|
191
|
+
return self.class.execute("379697f2-8aa9-41f0-b738-06bfe83566fe",self)
|
192
192
|
end
|
193
193
|
|
194
194
|
|
@@ -0,0 +1,193 @@
|
|
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 ChargebacksDebitMasterCardAndEuropeDualAcquirer < MasterCard::Core::Model::BaseObject
|
36
|
+
include MasterCard::Core::Model
|
37
|
+
#
|
38
|
+
|
39
|
+
@__store = {
|
40
|
+
'ef8e22f4-70e1-48be-8ee2-e07afdcab248' => OperationConfig.new("/mastercom/v5/chargebacks/debitmc/acknowledge", "update", [], []),
|
41
|
+
'b06ca8e0-8500-43d1-8a51-ffd96f6a12df' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/chargebacks/debitmc", "create", [], []),
|
42
|
+
'4592f076-7e12-4c77-9bce-eff49e2714c9' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/chargebacks/debitmc/{chargeback-id}/reversal", "create", [], []),
|
43
|
+
'e21a4f6c-cd0d-4b6c-8fb4-d1551e982efb' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/chargebacks/debitmc/{chargeback-id}/documents", "query", [], ["format"]),
|
44
|
+
'e39fa0db-40fb-4260-ac04-5cd7a3428ca1' => OperationConfig.new("/mastercom/v5/chargebacks/debitmc/imagestatus", "update", [], []),
|
45
|
+
'1af2985f-9fe2-438a-9a9e-a152ed1ef2ec' => OperationConfig.new("/mastercom/v5/chargebacks/debitmc/status", "update", [], []),
|
46
|
+
'28d4f54b-8822-43ec-a591-e8a8af552c86' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/chargebacks/debitmc/{chargeback-id}", "update", [], []),
|
47
|
+
|
48
|
+
}
|
49
|
+
|
50
|
+
protected
|
51
|
+
|
52
|
+
def self.getOperationConfig(operationUUID)
|
53
|
+
if @__store.key?(operationUUID)
|
54
|
+
return @__store[operationUUID]
|
55
|
+
end
|
56
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
|
57
|
+
end
|
58
|
+
|
59
|
+
def self.getOperationMetadata()
|
60
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
61
|
+
end
|
62
|
+
|
63
|
+
public
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
def acknowledgeReceivedChargebacks
|
68
|
+
#
|
69
|
+
#Updates an object of type ChargebacksDebitMasterCardAndEuropeDualAcquirer
|
70
|
+
#
|
71
|
+
#@return [ChargebacksDebitMasterCardAndEuropeDualAcquirer] object representing the response.
|
72
|
+
#@raise [APIException] an exception from the response status
|
73
|
+
#
|
74
|
+
return self.class.execute("ef8e22f4-70e1-48be-8ee2-e07afdcab248",self)
|
75
|
+
end
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
def self.create(mapObj)
|
84
|
+
#
|
85
|
+
#Creates object of type ChargebacksDebitMasterCardAndEuropeDualAcquirer
|
86
|
+
#
|
87
|
+
#@param Dict mapObj, containing the required parameters to create a new object
|
88
|
+
#@return [ChargebacksDebitMasterCardAndEuropeDualAcquirer] of the response of created instance.
|
89
|
+
#@raise [APIException] an exception from the response status
|
90
|
+
return self.execute("b06ca8e0-8500-43d1-8a51-ffd96f6a12df", ChargebacksDebitMasterCardAndEuropeDualAcquirer.new(mapObj))
|
91
|
+
end
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
def self.createReversal(mapObj)
|
100
|
+
#
|
101
|
+
#Creates object of type ChargebacksDebitMasterCardAndEuropeDualAcquirer
|
102
|
+
#
|
103
|
+
#@param Dict mapObj, containing the required parameters to create a new object
|
104
|
+
#@return [ChargebacksDebitMasterCardAndEuropeDualAcquirer] of the response of created instance.
|
105
|
+
#@raise [APIException] an exception from the response status
|
106
|
+
return self.execute("4592f076-7e12-4c77-9bce-eff49e2714c9", ChargebacksDebitMasterCardAndEuropeDualAcquirer.new(mapObj))
|
107
|
+
end
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
def self.retrieveDocumentation(criteria)
|
121
|
+
#
|
122
|
+
#Query objects of type ChargebacksDebitMasterCardAndEuropeDualAcquirer by id and optional criteria
|
123
|
+
#@param [Dict] criteria
|
124
|
+
#@return [ChargebacksDebitMasterCardAndEuropeDualAcquirer] object representing the response.
|
125
|
+
#@raise [APIException] an exception from the response status
|
126
|
+
#
|
127
|
+
|
128
|
+
return self.execute("e21a4f6c-cd0d-4b6c-8fb4-d1551e982efb",ChargebacksDebitMasterCardAndEuropeDualAcquirer.new(criteria))
|
129
|
+
end
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
def chargebacksImageStatus
|
134
|
+
#
|
135
|
+
#Updates an object of type ChargebacksDebitMasterCardAndEuropeDualAcquirer
|
136
|
+
#
|
137
|
+
#@return [ChargebacksDebitMasterCardAndEuropeDualAcquirer] object representing the response.
|
138
|
+
#@raise [APIException] an exception from the response status
|
139
|
+
#
|
140
|
+
return self.class.execute("e39fa0db-40fb-4260-ac04-5cd7a3428ca1",self)
|
141
|
+
end
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
def chargebacksStatus
|
151
|
+
#
|
152
|
+
#Updates an object of type ChargebacksDebitMasterCardAndEuropeDualAcquirer
|
153
|
+
#
|
154
|
+
#@return [ChargebacksDebitMasterCardAndEuropeDualAcquirer] object representing the response.
|
155
|
+
#@raise [APIException] an exception from the response status
|
156
|
+
#
|
157
|
+
return self.class.execute("1af2985f-9fe2-438a-9a9e-a152ed1ef2ec",self)
|
158
|
+
end
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
def update
|
168
|
+
#
|
169
|
+
#Updates an object of type ChargebacksDebitMasterCardAndEuropeDualAcquirer
|
170
|
+
#
|
171
|
+
#@return [ChargebacksDebitMasterCardAndEuropeDualAcquirer] object representing the response.
|
172
|
+
#@raise [APIException] an exception from the response status
|
173
|
+
#
|
174
|
+
return self.class.execute("28d4f54b-8822-43ec-a591-e8a8af552c86",self)
|
175
|
+
end
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
end
|
184
|
+
end
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'c0c17b4d-b8af-45d9-8c32-fa505d767b38' => OperationConfig.new("/mastercom/v5/claims", "create", [], []),
|
41
|
+
'3ffc11f2-025a-4084-a5a1-eb0d018e9b70' => OperationConfig.new("/mastercom/v5/claims/{claim-id}", "read", [], []),
|
42
|
+
'82ed35ba-8f44-4a14-884e-9598a7d5f9c9' => OperationConfig.new("/mastercom/v5/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("c0c17b4d-b8af-45d9-8c32-fa505d767b38", 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("3ffc11f2-025a-4084-a5a1-eb0d018e9b70",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("82ed35ba-8f44-4a14-884e-9598a7d5f9c9",self)
|
116
116
|
end
|
117
117
|
|
118
118
|
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'fd0e534e-8d7a-4335-bb62-d498afeabe03' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/fee", "create", [], []),
|
41
|
+
'c06690e9-e1d6-4baf-8c2f-60d580c6c4d6' => OperationConfig.new("/mastercom/v5/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("fd0e534e-8d7a-4335-bb62-d498afeabe03", 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("c06690e9-e1d6-4baf-8c2f-60d580c6c4d6", Fees.new(mapObj))
|
85
85
|
end
|
86
86
|
|
87
87
|
|
@@ -0,0 +1,86 @@
|
|
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 FeesDebitMasterCardAndEuropeDualAcquirer < MasterCard::Core::Model::BaseObject
|
36
|
+
include MasterCard::Core::Model
|
37
|
+
#
|
38
|
+
|
39
|
+
@__store = {
|
40
|
+
'bb323c92-4c73-4e1b-9dab-fd40982eff7c' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/fee/debitmc", "create", [], []),
|
41
|
+
|
42
|
+
}
|
43
|
+
|
44
|
+
protected
|
45
|
+
|
46
|
+
def self.getOperationConfig(operationUUID)
|
47
|
+
if @__store.key?(operationUUID)
|
48
|
+
return @__store[operationUUID]
|
49
|
+
end
|
50
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
|
51
|
+
end
|
52
|
+
|
53
|
+
def self.getOperationMetadata()
|
54
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
55
|
+
end
|
56
|
+
|
57
|
+
public
|
58
|
+
|
59
|
+
|
60
|
+
def self.create(mapObj)
|
61
|
+
#
|
62
|
+
#Creates object of type FeesDebitMasterCardAndEuropeDualAcquirer
|
63
|
+
#
|
64
|
+
#@param Dict mapObj, containing the required parameters to create a new object
|
65
|
+
#@return [FeesDebitMasterCardAndEuropeDualAcquirer] of the response of created instance.
|
66
|
+
#@raise [APIException] an exception from the response status
|
67
|
+
return self.execute("bb323c92-4c73-4e1b-9dab-fd40982eff7c", FeesDebitMasterCardAndEuropeDualAcquirer.new(mapObj))
|
68
|
+
end
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'd32268b4-3539-4798-a326-e603b742f427' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/fraud/mastercard", "create", [], []),
|
41
|
+
'040aeaa5-f87d-4968-9cb4-c107572f1144' => OperationConfig.new("/mastercom/v5/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("d32268b4-3539-4798-a326-e603b742f427", 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("040aeaa5-f87d-4968-9cb4-c107572f1144",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
|
+
'51fd36a0-76e2-404b-b7d2-83f2c76e37bf' => OperationConfig.new("/mastercom/v5/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("51fd36a0-76e2-404b-b7d2-83f2c76e37bf",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
|
+
'5e1d888c-e74f-40ca-8706-a93a7bc77c98' => OperationConfig.new("/mastercom/v5/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("5e1d888c-e74f-40ca-8706-a93a7bc77c98", 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
|
+
'760f4d43-b99c-478b-93b3-258a04174403' => OperationConfig.new("/mastercom/v5/queues", "list", [], ["queue-name"]),
|
41
|
+
'32d8d860-92b4-49a2-bd83-6e93970881c1' => OperationConfig.new("/mastercom/v5/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("760f4d43-b99c-478b-93b3-258a04174403",Queues.new)
|
73
73
|
else
|
74
|
-
return self.execute("
|
74
|
+
return self.execute("760f4d43-b99c-478b-93b3-258a04174403",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("32d8d860-92b4-49a2-bd83-6e93970881c1",Queues.new)
|
93
93
|
else
|
94
|
-
return self.execute("
|
94
|
+
return self.execute("32d8d860-92b4-49a2-bd83-6e93970881c1",Queues.new(criteria))
|
95
95
|
end
|
96
96
|
end
|
97
97
|
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'6d0333ba-357d-46a1-bd68-1f31fb404e3f' => OperationConfig.new("/mastercom/v5/reconreport/data/request", "create", [], []),
|
41
|
+
'26f1e773-d1e3-4f21-b951-b51fc43c6746' => OperationConfig.new("/mastercom/v5/reconreport/data/retrieval/{reportIdentifier}", "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 [Reconciliation] of the response of created instance.
|
67
67
|
#@raise [APIException] an exception from the response status
|
68
|
-
return self.execute("
|
68
|
+
return self.execute("6d0333ba-357d-46a1-bd68-1f31fb404e3f", Reconciliation.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 [Reconciliation] of the response of created instance.
|
83
83
|
#@raise [APIException] an exception from the response status
|
84
|
-
return self.execute("
|
84
|
+
return self.execute("26f1e773-d1e3-4f21-b951-b51fc43c6746", Reconciliation.new(mapObj))
|
85
85
|
end
|
86
86
|
|
87
87
|
|
@@ -37,13 +37,13 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'
|
45
|
-
'
|
46
|
-
'
|
40
|
+
'd03035fd-3942-4377-9cff-21e393b96584' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/retrievalrequests/{request-id}/fulfillments", "create", [], []),
|
41
|
+
'a709265e-88bf-4429-8777-5b1f720a38a8' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/retrievalrequests", "create", [], []),
|
42
|
+
'd095c8ac-13fb-49c1-83ad-18320feff275' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/retrievalrequests/loaddataforretrievalrequests", "query", [], []),
|
43
|
+
'67265be7-e570-4f4e-a371-9c5092235596' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/retrievalrequests/{request-id}/documents", "query", [], ["format"]),
|
44
|
+
'8278b386-1f63-4895-962f-a99a3bb4e073' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/retrievalrequests/{request-id}/fulfillments/response", "create", [], []),
|
45
|
+
'30cf12bc-4b59-497b-8fad-dc2de1c3a0d6' => OperationConfig.new("/mastercom/v5/retrievalrequests/imagestatus", "update", [], []),
|
46
|
+
'49dcb35c-cdc0-46a6-a01a-0fce5c329d85' => OperationConfig.new("/mastercom/v5/retrievalrequests/status", "update", [], []),
|
47
47
|
|
48
48
|
}
|
49
49
|
|
@@ -70,7 +70,7 @@ module MasterCard
|
|
70
70
|
#@param Dict mapObj, containing the required parameters to create a new object
|
71
71
|
#@return [Retrievals] of the response of created instance.
|
72
72
|
#@raise [APIException] an exception from the response status
|
73
|
-
return self.execute("
|
73
|
+
return self.execute("d03035fd-3942-4377-9cff-21e393b96584", Retrievals.new(mapObj))
|
74
74
|
end
|
75
75
|
|
76
76
|
|
@@ -86,7 +86,7 @@ module MasterCard
|
|
86
86
|
#@param Dict mapObj, containing the required parameters to create a new object
|
87
87
|
#@return [Retrievals] of the response of created instance.
|
88
88
|
#@raise [APIException] an exception from the response status
|
89
|
-
return self.execute("
|
89
|
+
return self.execute("a709265e-88bf-4429-8777-5b1f720a38a8", Retrievals.new(mapObj))
|
90
90
|
end
|
91
91
|
|
92
92
|
|
@@ -108,7 +108,7 @@ module MasterCard
|
|
108
108
|
#@raise [APIException] an exception from the response status
|
109
109
|
#
|
110
110
|
|
111
|
-
return self.execute("
|
111
|
+
return self.execute("d095c8ac-13fb-49c1-83ad-18320feff275",Retrievals.new(criteria))
|
112
112
|
end
|
113
113
|
|
114
114
|
|
@@ -125,7 +125,7 @@ module MasterCard
|
|
125
125
|
#@raise [APIException] an exception from the response status
|
126
126
|
#
|
127
127
|
|
128
|
-
return self.execute("
|
128
|
+
return self.execute("67265be7-e570-4f4e-a371-9c5092235596",Retrievals.new(criteria))
|
129
129
|
end
|
130
130
|
|
131
131
|
|
@@ -136,7 +136,7 @@ module MasterCard
|
|
136
136
|
#@param Dict mapObj, containing the required parameters to create a new object
|
137
137
|
#@return [Retrievals] of the response of created instance.
|
138
138
|
#@raise [APIException] an exception from the response status
|
139
|
-
return self.execute("
|
139
|
+
return self.execute("8278b386-1f63-4895-962f-a99a3bb4e073", Retrievals.new(mapObj))
|
140
140
|
end
|
141
141
|
|
142
142
|
|
@@ -153,7 +153,7 @@ module MasterCard
|
|
153
153
|
#@return [Retrievals] object representing the response.
|
154
154
|
#@raise [APIException] an exception from the response status
|
155
155
|
#
|
156
|
-
return self.class.execute("
|
156
|
+
return self.class.execute("30cf12bc-4b59-497b-8fad-dc2de1c3a0d6",self)
|
157
157
|
end
|
158
158
|
|
159
159
|
|
@@ -170,7 +170,7 @@ module MasterCard
|
|
170
170
|
#@return [Retrievals] object representing the response.
|
171
171
|
#@raise [APIException] an exception from the response status
|
172
172
|
#
|
173
|
-
return self.class.execute("
|
173
|
+
return self.class.execute("49dcb35c-cdc0-46a6-a01a-0fce5c329d85",self)
|
174
174
|
end
|
175
175
|
|
176
176
|
|
@@ -0,0 +1,174 @@
|
|
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 RetrievalsDebitMasterCardAndEuropeDualAcquirer < MasterCard::Core::Model::BaseObject
|
36
|
+
include MasterCard::Core::Model
|
37
|
+
#
|
38
|
+
|
39
|
+
@__store = {
|
40
|
+
'91beef53-418a-426b-82cd-d8c60b63a3ed' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/retrievalrequests/debitmc/{request-id}/fulfillments", "create", [], []),
|
41
|
+
'35ab623f-16f5-47f5-a4ab-008f243f3e4c' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/retrievalrequests/debitmc", "create", [], []),
|
42
|
+
'2f4f611d-a575-45bc-b74b-e34a57d41745' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/retrievalrequests/debitmc/{request-id}/documents", "query", [], ["format"]),
|
43
|
+
'679740dc-e0cc-4a94-a688-9ff8687e19dd' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/retrievalrequests/debitmc/{request-id}/fulfillments/response", "create", [], []),
|
44
|
+
'4176aff7-510f-4183-93bc-db0fca1c2e7d' => OperationConfig.new("/mastercom/v5/retrievalrequests/debitmc/imagestatus", "update", [], []),
|
45
|
+
'4481c0a1-da44-44d9-8daa-9fbe935c58dd' => OperationConfig.new("/mastercom/v5/retrievalrequests/debitmc/status", "update", [], []),
|
46
|
+
|
47
|
+
}
|
48
|
+
|
49
|
+
protected
|
50
|
+
|
51
|
+
def self.getOperationConfig(operationUUID)
|
52
|
+
if @__store.key?(operationUUID)
|
53
|
+
return @__store[operationUUID]
|
54
|
+
end
|
55
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
|
56
|
+
end
|
57
|
+
|
58
|
+
def self.getOperationMetadata()
|
59
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
60
|
+
end
|
61
|
+
|
62
|
+
public
|
63
|
+
|
64
|
+
|
65
|
+
def self.acquirerFulfillARequest(mapObj)
|
66
|
+
#
|
67
|
+
#Creates object of type RetrievalsDebitMasterCardAndEuropeDualAcquirer
|
68
|
+
#
|
69
|
+
#@param Dict mapObj, containing the required parameters to create a new object
|
70
|
+
#@return [RetrievalsDebitMasterCardAndEuropeDualAcquirer] of the response of created instance.
|
71
|
+
#@raise [APIException] an exception from the response status
|
72
|
+
return self.execute("91beef53-418a-426b-82cd-d8c60b63a3ed", RetrievalsDebitMasterCardAndEuropeDualAcquirer.new(mapObj))
|
73
|
+
end
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
def self.create(mapObj)
|
82
|
+
#
|
83
|
+
#Creates object of type RetrievalsDebitMasterCardAndEuropeDualAcquirer
|
84
|
+
#
|
85
|
+
#@param Dict mapObj, containing the required parameters to create a new object
|
86
|
+
#@return [RetrievalsDebitMasterCardAndEuropeDualAcquirer] of the response of created instance.
|
87
|
+
#@raise [APIException] an exception from the response status
|
88
|
+
return self.execute("35ab623f-16f5-47f5-a4ab-008f243f3e4c", RetrievalsDebitMasterCardAndEuropeDualAcquirer.new(mapObj))
|
89
|
+
end
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
def self.getDocumentation(criteria)
|
103
|
+
#
|
104
|
+
#Query objects of type RetrievalsDebitMasterCardAndEuropeDualAcquirer by id and optional criteria
|
105
|
+
#@param [Dict] criteria
|
106
|
+
#@return [RetrievalsDebitMasterCardAndEuropeDualAcquirer] object representing the response.
|
107
|
+
#@raise [APIException] an exception from the response status
|
108
|
+
#
|
109
|
+
|
110
|
+
return self.execute("2f4f611d-a575-45bc-b74b-e34a57d41745",RetrievalsDebitMasterCardAndEuropeDualAcquirer.new(criteria))
|
111
|
+
end
|
112
|
+
|
113
|
+
|
114
|
+
def self.issuerRespondToFulfillment(mapObj)
|
115
|
+
#
|
116
|
+
#Creates object of type RetrievalsDebitMasterCardAndEuropeDualAcquirer
|
117
|
+
#
|
118
|
+
#@param Dict mapObj, containing the required parameters to create a new object
|
119
|
+
#@return [RetrievalsDebitMasterCardAndEuropeDualAcquirer] of the response of created instance.
|
120
|
+
#@raise [APIException] an exception from the response status
|
121
|
+
return self.execute("679740dc-e0cc-4a94-a688-9ff8687e19dd", RetrievalsDebitMasterCardAndEuropeDualAcquirer.new(mapObj))
|
122
|
+
end
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
def retrievalFullfilmentImageStatus
|
132
|
+
#
|
133
|
+
#Updates an object of type RetrievalsDebitMasterCardAndEuropeDualAcquirer
|
134
|
+
#
|
135
|
+
#@return [RetrievalsDebitMasterCardAndEuropeDualAcquirer] object representing the response.
|
136
|
+
#@raise [APIException] an exception from the response status
|
137
|
+
#
|
138
|
+
return self.class.execute("4176aff7-510f-4183-93bc-db0fca1c2e7d",self)
|
139
|
+
end
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
def retrievalFullfilmentStatus
|
149
|
+
#
|
150
|
+
#Updates an object of type RetrievalsDebitMasterCardAndEuropeDualAcquirer
|
151
|
+
#
|
152
|
+
#@return [RetrievalsDebitMasterCardAndEuropeDualAcquirer] object representing the response.
|
153
|
+
#@raise [APIException] an exception from the response status
|
154
|
+
#
|
155
|
+
return self.class.execute("4481c0a1-da44-44d9-8daa-9fbe935c58dd",self)
|
156
|
+
end
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
end
|
165
|
+
end
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'9b1cd563-cb85-4294-8b73-26034de9be00' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/transactions/clearing/{transaction-id}", "read", [], []),
|
41
|
+
'8ee58845-094d-4b53-a427-59f36c44c46b' => OperationConfig.new("/mastercom/v5/claims/{claim-id}/transactions/authorization/{transaction-id}", "read", [], []),
|
42
|
+
'8d17b30d-c059-46c6-9c19-dab93ffd08ac' => OperationConfig.new("/mastercom/v5/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("9b1cd563-cb85-4294-8b73-26034de9be00",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("8ee58845-094d-4b53-a427-59f36c44c46b",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("8d17b30d-c059-46c6-9c19-dab93ffd08ac", Transactions.new(mapObj))
|
128
128
|
end
|
129
129
|
|
130
130
|
|
@@ -0,0 +1,104 @@
|
|
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 TransactionsDebitMasterCardAndEuropeDualAcquirer < MasterCard::Core::Model::BaseObject
|
36
|
+
include MasterCard::Core::Model
|
37
|
+
#
|
38
|
+
|
39
|
+
@__store = {
|
40
|
+
'c24bdaa7-5bb0-4e48-872b-fd94e6f997e4' => OperationConfig.new("/mastercom/v5/{claim-id}/transactions/debitmc/detail", "query", [], []),
|
41
|
+
'fb3f53d0-e88d-405c-a0f4-476e3abd3624' => OperationConfig.new("/mastercom/v5/transactions/debitmc/search", "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
|
+
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
def self.retrieveDebitMCMessageDetail(criteria)
|
67
|
+
#
|
68
|
+
#Query objects of type TransactionsDebitMasterCardAndEuropeDualAcquirer by id and optional criteria
|
69
|
+
#@param [Dict] criteria
|
70
|
+
#@return [TransactionsDebitMasterCardAndEuropeDualAcquirer] object representing the response.
|
71
|
+
#@raise [APIException] an exception from the response status
|
72
|
+
#
|
73
|
+
|
74
|
+
return self.execute("c24bdaa7-5bb0-4e48-872b-fd94e6f997e4",TransactionsDebitMasterCardAndEuropeDualAcquirer.new(criteria))
|
75
|
+
end
|
76
|
+
|
77
|
+
|
78
|
+
def self.searchForDebitMCMessageTransaction(mapObj)
|
79
|
+
#
|
80
|
+
#Creates object of type TransactionsDebitMasterCardAndEuropeDualAcquirer
|
81
|
+
#
|
82
|
+
#@param Dict mapObj, containing the required parameters to create a new object
|
83
|
+
#@return [TransactionsDebitMasterCardAndEuropeDualAcquirer] of the response of created instance.
|
84
|
+
#@raise [APIException] an exception from the response status
|
85
|
+
return self.execute("fb3f53d0-e88d-405c-a0f4-476e3abd3624", TransactionsDebitMasterCardAndEuropeDualAcquirer.new(mapObj))
|
86
|
+
end
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
data/lib/mastercard_mastercom.rb
CHANGED
@@ -4,12 +4,16 @@ require 'mastercard/api/mastercom/resourceconfig'
|
|
4
4
|
|
5
5
|
require 'mastercard/api/mastercom/casefiling'
|
6
6
|
require 'mastercard/api/mastercom/chargebacks'
|
7
|
+
require 'mastercard/api/mastercom/chargebacksdebitmastercardandeuropedualacquirer'
|
7
8
|
require 'mastercard/api/mastercom/claims'
|
8
9
|
require 'mastercard/api/mastercom/fees'
|
10
|
+
require 'mastercard/api/mastercom/feesdebitmastercardandeuropedualacquirer'
|
9
11
|
require 'mastercard/api/mastercom/fraud'
|
10
12
|
require 'mastercard/api/mastercom/healthcheck'
|
11
13
|
require 'mastercard/api/mastercom/migrateddisputes'
|
12
14
|
require 'mastercard/api/mastercom/queues'
|
13
15
|
require 'mastercard/api/mastercom/reconciliation'
|
14
16
|
require 'mastercard/api/mastercom/retrievals'
|
17
|
+
require 'mastercard/api/mastercom/retrievalsdebitmastercardandeuropedualacquirer'
|
15
18
|
require 'mastercard/api/mastercom/transactions'
|
19
|
+
require 'mastercard/api/mastercom/transactionsdebitmastercardandeuropedualacquirer'
|
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: 5.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: 2019-
|
11
|
+
date: 2019-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mastercard_api_core
|
@@ -53,8 +53,10 @@ extra_rdoc_files: []
|
|
53
53
|
files:
|
54
54
|
- lib/mastercard/api/mastercom/casefiling.rb
|
55
55
|
- lib/mastercard/api/mastercom/chargebacks.rb
|
56
|
+
- lib/mastercard/api/mastercom/chargebacksdebitmastercardandeuropedualacquirer.rb
|
56
57
|
- lib/mastercard/api/mastercom/claims.rb
|
57
58
|
- lib/mastercard/api/mastercom/fees.rb
|
59
|
+
- lib/mastercard/api/mastercom/feesdebitmastercardandeuropedualacquirer.rb
|
58
60
|
- lib/mastercard/api/mastercom/fraud.rb
|
59
61
|
- lib/mastercard/api/mastercom/healthcheck.rb
|
60
62
|
- lib/mastercard/api/mastercom/migrateddisputes.rb
|
@@ -62,7 +64,9 @@ files:
|
|
62
64
|
- lib/mastercard/api/mastercom/reconciliation.rb
|
63
65
|
- lib/mastercard/api/mastercom/resourceconfig.rb
|
64
66
|
- lib/mastercard/api/mastercom/retrievals.rb
|
67
|
+
- lib/mastercard/api/mastercom/retrievalsdebitmastercardandeuropedualacquirer.rb
|
65
68
|
- lib/mastercard/api/mastercom/transactions.rb
|
69
|
+
- lib/mastercard/api/mastercom/transactionsdebitmastercardandeuropedualacquirer.rb
|
66
70
|
- lib/mastercard_mastercom.rb
|
67
71
|
homepage: https://developer.mastercard.com
|
68
72
|
licenses:
|