mastercard_mastercom 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/mastercard/api/mastercom/casefiling.rb +8 -8
- data/lib/mastercard/api/mastercom/chargebacks.rb +22 -23
- data/lib/mastercard/api/mastercom/claims.rb +6 -6
- data/lib/mastercard/api/mastercom/fees.rb +12 -13
- 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 +86 -0
- data/lib/mastercard/api/mastercom/queues.rb +6 -6
- data/lib/mastercard/api/mastercom/resourceconfig.rb +2 -2
- data/lib/mastercard/api/mastercom/retrievals.rb +12 -12
- data/lib/mastercard/api/mastercom/transactions.rb +6 -6
- data/lib/mastercard_mastercom.rb +1 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c48ccc8715b58547bd709aab003c1bb24ac760177d846a3c80990fd0b1703284
|
4
|
+
data.tar.gz: 5ce9422fc7e6c2e88c99fe49daacc66734d9c17447372bfcb5e73d7c5304af54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5379de8f25c56e063b9e0cca2ad63463f24b70ad3910240cf595b4ea38cfa9729eb6da332c72229e6c257c8aa275443c236ca3b1e121186e0dbf90a4faae343
|
7
|
+
data.tar.gz: eae3c8023c5ef51fb129333eef2875cef80414c74b52dcd0214a336b6b9a41035fcee3cd1983e543481a6f6fcd3303f31bbb38b4fe81ce33df31de45fb46c5eb
|
@@ -37,10 +37,10 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
40
|
+
'ddeed58f-1b7f-4857-9aec-192b33749e11' => OperationConfig.new("/mastercom/v3/cases", "create", [], []),
|
41
|
+
'1dded59a-ec63-4a07-b5fa-77bfc61ae2e1' => OperationConfig.new("/mastercom/v3/cases/{case-id}/documents", "query", [], ["format","memo"]),
|
42
|
+
'6b7e4dca-591f-47b2-8f0e-56d9d203df1f' => OperationConfig.new("/mastercom/v3/cases/status", "update", [], []),
|
43
|
+
'3d485746-417b-453a-bd7a-a5aef324473d' => OperationConfig.new("/mastercom/v3/cases/{case-id}", "update", [], []),
|
44
44
|
|
45
45
|
}
|
46
46
|
|
@@ -67,7 +67,7 @@ module MasterCard
|
|
67
67
|
#@param Dict mapObj, containing the required parameters to create a new object
|
68
68
|
#@return [CaseFiling] of the response of created instance.
|
69
69
|
#@raise [APIException] an exception from the response status
|
70
|
-
return self.execute("
|
70
|
+
return self.execute("ddeed58f-1b7f-4857-9aec-192b33749e11", CaseFiling.new(mapObj))
|
71
71
|
end
|
72
72
|
|
73
73
|
|
@@ -89,7 +89,7 @@ module MasterCard
|
|
89
89
|
#@raise [APIException] an exception from the response status
|
90
90
|
#
|
91
91
|
|
92
|
-
return self.execute("
|
92
|
+
return self.execute("1dded59a-ec63-4a07-b5fa-77bfc61ae2e1",CaseFiling.new(criteria))
|
93
93
|
end
|
94
94
|
|
95
95
|
|
@@ -101,7 +101,7 @@ module MasterCard
|
|
101
101
|
#@return [CaseFiling] object representing the response.
|
102
102
|
#@raise [APIException] an exception from the response status
|
103
103
|
#
|
104
|
-
return self.class.execute("
|
104
|
+
return self.class.execute("6b7e4dca-591f-47b2-8f0e-56d9d203df1f",self)
|
105
105
|
end
|
106
106
|
|
107
107
|
|
@@ -118,7 +118,7 @@ module MasterCard
|
|
118
118
|
#@return [CaseFiling] object representing the response.
|
119
119
|
#@raise [APIException] an exception from the response status
|
120
120
|
#
|
121
|
-
return self.class.execute("
|
121
|
+
return self.class.execute("3d485746-417b-453a-bd7a-a5aef324473d",self)
|
122
122
|
end
|
123
123
|
|
124
124
|
|
@@ -37,13 +37,13 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'
|
45
|
-
'
|
46
|
-
'
|
40
|
+
'ca0dc3b6-986c-45b8-ba34-f10da7e644ad' => OperationConfig.new("/mastercom/v3/chargebacks/acknowledge", "update", [], []),
|
41
|
+
'43c2ec4f-3477-4807-b60e-e814632ff532' => OperationConfig.new("/mastercom/v3/claims/{claim-id}/chargebacks", "create", [], []),
|
42
|
+
'8d07538a-a9f0-4cee-b6fd-fa1041dca479' => OperationConfig.new("/mastercom/v3/claims/{claim-id}/chargebacks/{chargeback-id}/reversal", "create", [], []),
|
43
|
+
'a6b8f55f-13a6-49f6-a301-8a455d46cfb8' => OperationConfig.new("/mastercom/v3/claims/{claim-id}/chargebacks/{chargeback-id}/documents", "query", [], ["format"]),
|
44
|
+
'd625939a-53ca-44d9-96d9-c31083ddd02e' => OperationConfig.new("/mastercom/v3/claims/{claim-id}/chargebacks/loaddataforchargebacks", "create", [], []),
|
45
|
+
'f4b1d35b-16b3-4cca-b54c-3e691ee27523' => OperationConfig.new("/mastercom/v3/chargebacks/status", "update", [], []),
|
46
|
+
'2a81a6bd-1a0e-4be6-8f76-32cf5d81f001' => OperationConfig.new("/mastercom/v3/claims/{claim-id}/chargebacks/{chargeback-id}", "update", [], []),
|
47
47
|
|
48
48
|
}
|
49
49
|
|
@@ -71,7 +71,7 @@ module MasterCard
|
|
71
71
|
#@return [Chargebacks] object representing the response.
|
72
72
|
#@raise [APIException] an exception from the response status
|
73
73
|
#
|
74
|
-
return self.class.execute("
|
74
|
+
return self.class.execute("ca0dc3b6-986c-45b8-ba34-f10da7e644ad",self)
|
75
75
|
end
|
76
76
|
|
77
77
|
|
@@ -87,7 +87,7 @@ module MasterCard
|
|
87
87
|
#@param Dict mapObj, containing the required parameters to create a new object
|
88
88
|
#@return [Chargebacks] of the response of created instance.
|
89
89
|
#@raise [APIException] an exception from the response status
|
90
|
-
return self.execute("
|
90
|
+
return self.execute("43c2ec4f-3477-4807-b60e-e814632ff532", Chargebacks.new(mapObj))
|
91
91
|
end
|
92
92
|
|
93
93
|
|
@@ -103,7 +103,7 @@ module MasterCard
|
|
103
103
|
#@param Dict mapObj, containing the required parameters to create a new object
|
104
104
|
#@return [Chargebacks] of the response of created instance.
|
105
105
|
#@raise [APIException] an exception from the response status
|
106
|
-
return self.execute("
|
106
|
+
return self.execute("8d07538a-a9f0-4cee-b6fd-fa1041dca479", Chargebacks.new(mapObj))
|
107
107
|
end
|
108
108
|
|
109
109
|
|
@@ -125,25 +125,24 @@ module MasterCard
|
|
125
125
|
#@raise [APIException] an exception from the response status
|
126
126
|
#
|
127
127
|
|
128
|
-
return self.execute("
|
128
|
+
return self.execute("a6b8f55f-13a6-49f6-a301-8a455d46cfb8",Chargebacks.new(criteria))
|
129
129
|
end
|
130
130
|
|
131
131
|
|
132
|
+
def self.getPossibleValueListsForCreate(mapObj)
|
133
|
+
#
|
134
|
+
#Creates object of type Chargebacks
|
135
|
+
#
|
136
|
+
#@param Dict mapObj, containing the required parameters to create a new object
|
137
|
+
#@return [Chargebacks] of the response of created instance.
|
138
|
+
#@raise [APIException] an exception from the response status
|
139
|
+
return self.execute("d625939a-53ca-44d9-96d9-c31083ddd02e", Chargebacks.new(mapObj))
|
140
|
+
end
|
132
141
|
|
133
142
|
|
134
143
|
|
135
144
|
|
136
145
|
|
137
|
-
def self.getPossibleValueListsForCreate(criteria)
|
138
|
-
#
|
139
|
-
#Query objects of type Chargebacks by id and optional criteria
|
140
|
-
#@param [Dict] criteria
|
141
|
-
#@return [Chargebacks] object representing the response.
|
142
|
-
#@raise [APIException] an exception from the response status
|
143
|
-
#
|
144
|
-
|
145
|
-
return self.execute("bc0f68b4-7984-4e83-943a-40b99dd21c8a",Chargebacks.new(criteria))
|
146
|
-
end
|
147
146
|
|
148
147
|
|
149
148
|
|
@@ -154,7 +153,7 @@ module MasterCard
|
|
154
153
|
#@return [Chargebacks] object representing the response.
|
155
154
|
#@raise [APIException] an exception from the response status
|
156
155
|
#
|
157
|
-
return self.class.execute("
|
156
|
+
return self.class.execute("f4b1d35b-16b3-4cca-b54c-3e691ee27523",self)
|
158
157
|
end
|
159
158
|
|
160
159
|
|
@@ -171,7 +170,7 @@ module MasterCard
|
|
171
170
|
#@return [Chargebacks] object representing the response.
|
172
171
|
#@raise [APIException] an exception from the response status
|
173
172
|
#
|
174
|
-
return self.class.execute("
|
173
|
+
return self.class.execute("2a81a6bd-1a0e-4be6-8f76-32cf5d81f001",self)
|
175
174
|
end
|
176
175
|
|
177
176
|
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'767c56f6-e41c-4845-974b-6a25d90608c7' => OperationConfig.new("/mastercom/v3/claims", "create", [], []),
|
41
|
+
'6c4f87f3-ebb9-4367-9a98-3299aa6b02df' => OperationConfig.new("/mastercom/v3/claims/{claim-id}", "read", [], []),
|
42
|
+
'2375e5f0-fa8c-4b78-b020-e51da4ba2e82' => OperationConfig.new("/mastercom/v3/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("767c56f6-e41c-4845-974b-6a25d90608c7", 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("6c4f87f3-ebb9-4367-9a98-3299aa6b02df",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("2375e5f0-fa8c-4b78-b020-e51da4ba2e82",self)
|
116
116
|
end
|
117
117
|
|
118
118
|
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'311b1e2e-b7f7-4096-a9d1-fee3ff911203' => OperationConfig.new("/mastercom/v3/claims/{claim-id}/fee", "create", [], []),
|
41
|
+
'61efe6c7-167c-4251-8357-cfec3e081832' => OperationConfig.new("/mastercom/v3/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("311b1e2e-b7f7-4096-a9d1-fee3ff911203", Fees.new(mapObj))
|
69
69
|
end
|
70
70
|
|
71
71
|
|
@@ -74,21 +74,20 @@ module MasterCard
|
|
74
74
|
|
75
75
|
|
76
76
|
|
77
|
+
def self.getPossibleValueListsForCreate(mapObj)
|
78
|
+
#
|
79
|
+
#Creates object of type Fees
|
80
|
+
#
|
81
|
+
#@param Dict mapObj, containing the required parameters to create a new object
|
82
|
+
#@return [Fees] of the response of created instance.
|
83
|
+
#@raise [APIException] an exception from the response status
|
84
|
+
return self.execute("61efe6c7-167c-4251-8357-cfec3e081832", Fees.new(mapObj))
|
85
|
+
end
|
77
86
|
|
78
87
|
|
79
88
|
|
80
89
|
|
81
90
|
|
82
|
-
def self.getPossibleValueListsForCreate(criteria)
|
83
|
-
#
|
84
|
-
#Query objects of type Fees by id and optional criteria
|
85
|
-
#@param [Dict] criteria
|
86
|
-
#@return [Fees] object representing the response.
|
87
|
-
#@raise [APIException] an exception from the response status
|
88
|
-
#
|
89
|
-
|
90
|
-
return self.execute("be232cdd-5495-4436-9446-b1664dd55776",Fees.new(criteria))
|
91
|
-
end
|
92
91
|
|
93
92
|
|
94
93
|
end
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'53e1d5ec-18a5-4bd0-a5d4-6ad587e43beb' => OperationConfig.new("/mastercom/v3/claims/{claim-id}/fraud/mastercard", "create", [], []),
|
41
|
+
'75e424da-efb7-49a5-aea8-25aa1bae7170' => OperationConfig.new("/mastercom/v3/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("53e1d5ec-18a5-4bd0-a5d4-6ad587e43beb", 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("75e424da-efb7-49a5-aea8-25aa1bae7170",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
|
+
'88d048a2-df71-46fe-9dd9-e597b55b96f1' => OperationConfig.new("/mastercom/v3/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("88d048a2-df71-46fe-9dd9-e597b55b96f1",HealthCheck.new(criteria))
|
74
74
|
end
|
75
75
|
|
76
76
|
|
@@ -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 MigratedDisputes < MasterCard::Core::Model::BaseObject
|
36
|
+
include MasterCard::Core::Model
|
37
|
+
#
|
38
|
+
|
39
|
+
@__store = {
|
40
|
+
'406cfa62-9179-469e-b0ae-8344e40f6b5e' => OperationConfig.new("/mastercom/v3/disputes/retrieve", "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.retrieve(mapObj)
|
61
|
+
#
|
62
|
+
#Creates object of type MigratedDisputes
|
63
|
+
#
|
64
|
+
#@param Dict mapObj, containing the required parameters to create a new object
|
65
|
+
#@return [MigratedDisputes] of the response of created instance.
|
66
|
+
#@raise [APIException] an exception from the response status
|
67
|
+
return self.execute("406cfa62-9179-469e-b0ae-8344e40f6b5e", MigratedDisputes.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
|
+
'c38eb634-23a1-4238-92cf-3c37494d2d29' => OperationConfig.new("/mastercom/v3/queues", "list", [], ["queue-name"]),
|
41
|
+
'e6f1a528-b5a9-4608-933a-69f9f36d090c' => OperationConfig.new("/mastercom/v3/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("c38eb634-23a1-4238-92cf-3c37494d2d29",Queues.new)
|
73
73
|
else
|
74
|
-
return self.execute("
|
74
|
+
return self.execute("c38eb634-23a1-4238-92cf-3c37494d2d29",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("e6f1a528-b5a9-4608-933a-69f9f36d090c",Queues.new)
|
93
93
|
else
|
94
|
-
return self.execute("
|
94
|
+
return self.execute("e6f1a528-b5a9-4608-933a-69f9f36d090c",Queues.new(criteria))
|
95
95
|
end
|
96
96
|
end
|
97
97
|
|
@@ -37,12 +37,12 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'
|
45
|
-
'
|
40
|
+
'f4d20ea7-96fc-4ff2-8fa0-fab081fb741e' => OperationConfig.new("/mastercom/v3/claims/{claim-id}/retrievalrequests/{request-id}/fulfillments", "create", [], []),
|
41
|
+
'16d0ab68-0f1b-4e58-a1cc-8576b6eac9d0' => OperationConfig.new("/mastercom/v3/claims/{claim-id}/retrievalrequests", "create", [], []),
|
42
|
+
'96fbf0a5-c504-4c6e-acb1-e89f6c62ea91' => OperationConfig.new("/mastercom/v3/claims/{claim-id}/retrievalrequests/loaddataforretrievalrequests", "query", [], []),
|
43
|
+
'a9b1b8b0-d719-44ea-aacd-aedb7d453ea7' => OperationConfig.new("/mastercom/v3/claims/{claim-id}/retrievalrequests/{request-id}/documents", "query", [], ["format"]),
|
44
|
+
'de51cd40-deab-46b6-a8d0-9cbc2401fd98' => OperationConfig.new("/mastercom/v3/claims/{claim-id}/retrievalrequests/{request-id}/fulfillments/response", "create", [], []),
|
45
|
+
'0c8aeb20-e894-4891-b30b-1e31f0c3d70d' => OperationConfig.new("/mastercom/v3/retrievalrequests/status", "update", [], []),
|
46
46
|
|
47
47
|
}
|
48
48
|
|
@@ -69,7 +69,7 @@ module MasterCard
|
|
69
69
|
#@param Dict mapObj, containing the required parameters to create a new object
|
70
70
|
#@return [Retrievals] of the response of created instance.
|
71
71
|
#@raise [APIException] an exception from the response status
|
72
|
-
return self.execute("
|
72
|
+
return self.execute("f4d20ea7-96fc-4ff2-8fa0-fab081fb741e", Retrievals.new(mapObj))
|
73
73
|
end
|
74
74
|
|
75
75
|
|
@@ -85,7 +85,7 @@ module MasterCard
|
|
85
85
|
#@param Dict mapObj, containing the required parameters to create a new object
|
86
86
|
#@return [Retrievals] of the response of created instance.
|
87
87
|
#@raise [APIException] an exception from the response status
|
88
|
-
return self.execute("
|
88
|
+
return self.execute("16d0ab68-0f1b-4e58-a1cc-8576b6eac9d0", Retrievals.new(mapObj))
|
89
89
|
end
|
90
90
|
|
91
91
|
|
@@ -107,7 +107,7 @@ module MasterCard
|
|
107
107
|
#@raise [APIException] an exception from the response status
|
108
108
|
#
|
109
109
|
|
110
|
-
return self.execute("
|
110
|
+
return self.execute("96fbf0a5-c504-4c6e-acb1-e89f6c62ea91",Retrievals.new(criteria))
|
111
111
|
end
|
112
112
|
|
113
113
|
|
@@ -124,7 +124,7 @@ module MasterCard
|
|
124
124
|
#@raise [APIException] an exception from the response status
|
125
125
|
#
|
126
126
|
|
127
|
-
return self.execute("
|
127
|
+
return self.execute("a9b1b8b0-d719-44ea-aacd-aedb7d453ea7",Retrievals.new(criteria))
|
128
128
|
end
|
129
129
|
|
130
130
|
|
@@ -135,7 +135,7 @@ module MasterCard
|
|
135
135
|
#@param Dict mapObj, containing the required parameters to create a new object
|
136
136
|
#@return [Retrievals] of the response of created instance.
|
137
137
|
#@raise [APIException] an exception from the response status
|
138
|
-
return self.execute("
|
138
|
+
return self.execute("de51cd40-deab-46b6-a8d0-9cbc2401fd98", Retrievals.new(mapObj))
|
139
139
|
end
|
140
140
|
|
141
141
|
|
@@ -152,7 +152,7 @@ module MasterCard
|
|
152
152
|
#@return [Retrievals] object representing the response.
|
153
153
|
#@raise [APIException] an exception from the response status
|
154
154
|
#
|
155
|
-
return self.class.execute("
|
155
|
+
return self.class.execute("0c8aeb20-e894-4891-b30b-1e31f0c3d70d",self)
|
156
156
|
end
|
157
157
|
|
158
158
|
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'cc556cfe-499a-4f42-a03e-32c048094918' => OperationConfig.new("/mastercom/v3/claims/{claim-id}/transactions/clearing/{transaction-id}", "read", [], []),
|
41
|
+
'18f83a62-3382-438e-b1d5-5758d67fc18d' => OperationConfig.new("/mastercom/v3/claims/{claim-id}/transactions/authorization/{transaction-id}", "read", [], []),
|
42
|
+
'ab778553-d5da-4bf7-a109-0efde9957f79' => OperationConfig.new("/mastercom/v3/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("cc556cfe-499a-4f42-a03e-32c048094918",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("18f83a62-3382-438e-b1d5-5758d67fc18d",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("ab778553-d5da-4bf7-a109-0efde9957f79", Transactions.new(mapObj))
|
128
128
|
end
|
129
129
|
|
130
130
|
|
data/lib/mastercard_mastercom.rb
CHANGED
@@ -8,6 +8,7 @@ require 'mastercard/api/mastercom/claims'
|
|
8
8
|
require 'mastercard/api/mastercom/fees'
|
9
9
|
require 'mastercard/api/mastercom/fraud'
|
10
10
|
require 'mastercard/api/mastercom/healthcheck'
|
11
|
+
require 'mastercard/api/mastercom/migrateddisputes'
|
11
12
|
require 'mastercard/api/mastercom/queues'
|
12
13
|
require 'mastercard/api/mastercom/retrievals'
|
13
14
|
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: 3.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: 2018-
|
11
|
+
date: 2018-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mastercard_api_core
|
@@ -57,6 +57,7 @@ files:
|
|
57
57
|
- lib/mastercard/api/mastercom/fees.rb
|
58
58
|
- lib/mastercard/api/mastercom/fraud.rb
|
59
59
|
- lib/mastercard/api/mastercom/healthcheck.rb
|
60
|
+
- lib/mastercard/api/mastercom/migrateddisputes.rb
|
60
61
|
- lib/mastercard/api/mastercom/queues.rb
|
61
62
|
- lib/mastercard/api/mastercom/resourceconfig.rb
|
62
63
|
- lib/mastercard/api/mastercom/retrievals.rb
|
@@ -82,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
83
|
version: '0'
|
83
84
|
requirements: []
|
84
85
|
rubyforge_project:
|
85
|
-
rubygems_version: 2.
|
86
|
+
rubygems_version: 2.7.7
|
86
87
|
signing_key:
|
87
88
|
specification_version: 4
|
88
89
|
summary: MasterCard Mastercom SDK
|