mastercard_mastercom 0.0.2 → 0.0.3
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 +25 -7
- data/lib/mastercard/api/mastercom/chargebacks.rb +47 -11
- data/lib/mastercard/api/mastercom/claims.rb +7 -7
- data/lib/mastercard/api/mastercom/fees.rb +5 -5
- data/lib/mastercard/api/mastercom/fraud.rb +5 -5
- data/lib/mastercard/api/mastercom/queues.rb +14 -23
- data/lib/mastercard/api/mastercom/resourceconfig.rb +7 -6
- data/lib/mastercard/api/mastercom/retrievals.rb +29 -11
- data/lib/mastercard/api/mastercom/transactions.rb +7 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ec33b8c0f8694c8a76d3fd02aea8d2d4910bf35
|
4
|
+
data.tar.gz: 8c834092934fb994630d148d5ec30e8b5338d419
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4474d71f788551a43b98622f55bdc08b08a063cfe552fc3f16ea8e02ac062d1deba5cb3a2cdc4643396430a49e21fb4ccab092bcfff321088ac8d8f7ef295479
|
7
|
+
data.tar.gz: 002415c382648175a4f09423c5aa0fed30ddaffa123082f6e908af58336b7083aff14ccd64ca370c2b67bdf99c85c1241cacc62d9b979bc528336a063b441e11
|
@@ -37,9 +37,10 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'6cbf490d-2740-46fe-aedd-08361f3026c8' => OperationConfig.new("/mastercom/v1/cases", "create", [], []),
|
41
|
+
'0b1c78ee-8f28-430b-b711-165014f40d1a' => OperationConfig.new("/mastercom/v1/cases/{case-id}/documents", "query", [], ["format","memo"]),
|
42
|
+
'65d33612-89ad-46c5-942d-c1ca64cfe4de' => OperationConfig.new("/mastercom/v1/cases/status", "update", [], []),
|
43
|
+
'cf8361c0-3ff8-4a38-8122-df1d1bb92847' => OperationConfig.new("/mastercom/v1/cases/{case-id}", "update", [], []),
|
43
44
|
|
44
45
|
}
|
45
46
|
|
@@ -53,7 +54,7 @@ module MasterCard
|
|
53
54
|
end
|
54
55
|
|
55
56
|
def self.getOperationMetadata()
|
56
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
57
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
57
58
|
end
|
58
59
|
|
59
60
|
public
|
@@ -66,7 +67,7 @@ module MasterCard
|
|
66
67
|
#@param Dict mapObj, containing the required parameters to create a new object
|
67
68
|
#@return [CaseFiling] of the response of created instance.
|
68
69
|
#@raise [APIException] an exception from the response status
|
69
|
-
return self.execute("
|
70
|
+
return self.execute("6cbf490d-2740-46fe-aedd-08361f3026c8", CaseFiling.new(mapObj))
|
70
71
|
end
|
71
72
|
|
72
73
|
|
@@ -88,11 +89,28 @@ module MasterCard
|
|
88
89
|
#@raise [APIException] an exception from the response status
|
89
90
|
#
|
90
91
|
|
91
|
-
return self.execute("
|
92
|
+
return self.execute("0b1c78ee-8f28-430b-b711-165014f40d1a",CaseFiling.new(criteria))
|
92
93
|
end
|
93
94
|
|
94
95
|
|
95
96
|
|
97
|
+
def caseFilingStatus
|
98
|
+
#
|
99
|
+
#Updates an object of type CaseFiling
|
100
|
+
#
|
101
|
+
#@return [CaseFiling] object representing the response.
|
102
|
+
#@raise [APIException] an exception from the response status
|
103
|
+
#
|
104
|
+
return self.class.execute("65d33612-89ad-46c5-942d-c1ca64cfe4de",self)
|
105
|
+
end
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
96
114
|
def update
|
97
115
|
#
|
98
116
|
#Updates an object of type CaseFiling
|
@@ -100,7 +118,7 @@ module MasterCard
|
|
100
118
|
#@return [CaseFiling] object representing the response.
|
101
119
|
#@raise [APIException] an exception from the response status
|
102
120
|
#
|
103
|
-
return self.class.execute("
|
121
|
+
return self.class.execute("cf8361c0-3ff8-4a38-8122-df1d1bb92847",self)
|
104
122
|
end
|
105
123
|
|
106
124
|
|
@@ -37,11 +37,13 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'
|
40
|
+
'633ff2fd-0000-474e-9f56-135ff8832c50' => OperationConfig.new("/mastercom/v1/chargebacks/acknowledge", "update", [], []),
|
41
|
+
'b238ea33-fcfd-4ed0-9b4d-e6b4f3275b7a' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/chargebacks", "create", [], []),
|
42
|
+
'8ed7deb0-98e0-47e7-bfad-090ab9949984' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/chargebacks/{chargeback-id}/reversal", "create", [], []),
|
43
|
+
'f68d94e8-43a2-45e9-b68a-52d057dba37f' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/chargebacks/{chargeback-id}/documents", "query", [], ["format"]),
|
44
|
+
'57f638d9-a1c9-4f77-bb7d-784679e68552' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/chargebacks/loaddataforchargebacks", "query", [], []),
|
45
|
+
'a3e9a15e-fbaf-4c4c-be07-2a84c4ee0b04' => OperationConfig.new("/mastercom/v1/chargebacks/status", "update", [], []),
|
46
|
+
'9b0d1bd1-ea20-4366-b48a-38fa0328a4e2' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/chargebacks/{chargeback-id}", "update", [], []),
|
45
47
|
|
46
48
|
}
|
47
49
|
|
@@ -55,12 +57,29 @@ module MasterCard
|
|
55
57
|
end
|
56
58
|
|
57
59
|
def self.getOperationMetadata()
|
58
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
60
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
59
61
|
end
|
60
62
|
|
61
63
|
public
|
62
64
|
|
63
65
|
|
66
|
+
|
67
|
+
def acknowledgeReceivedChargebacks
|
68
|
+
#
|
69
|
+
#Updates an object of type Chargebacks
|
70
|
+
#
|
71
|
+
#@return [Chargebacks] object representing the response.
|
72
|
+
#@raise [APIException] an exception from the response status
|
73
|
+
#
|
74
|
+
return self.class.execute("633ff2fd-0000-474e-9f56-135ff8832c50",self)
|
75
|
+
end
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
64
83
|
def self.create(mapObj)
|
65
84
|
#
|
66
85
|
#Creates object of type Chargebacks
|
@@ -68,7 +87,7 @@ module MasterCard
|
|
68
87
|
#@param Dict mapObj, containing the required parameters to create a new object
|
69
88
|
#@return [Chargebacks] of the response of created instance.
|
70
89
|
#@raise [APIException] an exception from the response status
|
71
|
-
return self.execute("
|
90
|
+
return self.execute("b238ea33-fcfd-4ed0-9b4d-e6b4f3275b7a", Chargebacks.new(mapObj))
|
72
91
|
end
|
73
92
|
|
74
93
|
|
@@ -84,7 +103,7 @@ module MasterCard
|
|
84
103
|
#@param Dict mapObj, containing the required parameters to create a new object
|
85
104
|
#@return [Chargebacks] of the response of created instance.
|
86
105
|
#@raise [APIException] an exception from the response status
|
87
|
-
return self.execute("
|
106
|
+
return self.execute("8ed7deb0-98e0-47e7-bfad-090ab9949984", Chargebacks.new(mapObj))
|
88
107
|
end
|
89
108
|
|
90
109
|
|
@@ -106,7 +125,7 @@ module MasterCard
|
|
106
125
|
#@raise [APIException] an exception from the response status
|
107
126
|
#
|
108
127
|
|
109
|
-
return self.execute("
|
128
|
+
return self.execute("f68d94e8-43a2-45e9-b68a-52d057dba37f",Chargebacks.new(criteria))
|
110
129
|
end
|
111
130
|
|
112
131
|
|
@@ -123,11 +142,28 @@ module MasterCard
|
|
123
142
|
#@raise [APIException] an exception from the response status
|
124
143
|
#
|
125
144
|
|
126
|
-
return self.execute("
|
145
|
+
return self.execute("57f638d9-a1c9-4f77-bb7d-784679e68552",Chargebacks.new(criteria))
|
127
146
|
end
|
128
147
|
|
129
148
|
|
130
149
|
|
150
|
+
def chargebacksStatus
|
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("a3e9a15e-fbaf-4c4c-be07-2a84c4ee0b04",self)
|
158
|
+
end
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
131
167
|
def update
|
132
168
|
#
|
133
169
|
#Updates an object of type Chargebacks
|
@@ -135,7 +171,7 @@ module MasterCard
|
|
135
171
|
#@return [Chargebacks] object representing the response.
|
136
172
|
#@raise [APIException] an exception from the response status
|
137
173
|
#
|
138
|
-
return self.class.execute("
|
174
|
+
return self.class.execute("9b0d1bd1-ea20-4366-b48a-38fa0328a4e2",self)
|
139
175
|
end
|
140
176
|
|
141
177
|
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'44c7eef7-98b3-4119-9a24-fda830e1fa6a' => OperationConfig.new("/mastercom/v1/claims", "create", [], []),
|
41
|
+
'144a5b8c-3b89-4788-8b49-b4622121ea68' => OperationConfig.new("/mastercom/v1/claims/{claim-id}", "read", [], []),
|
42
|
+
'193683c3-2961-4c4e-864d-b7347aab806e' => OperationConfig.new("/mastercom/v1/claims/{claim-id}", "update", [], []),
|
43
43
|
|
44
44
|
}
|
45
45
|
|
@@ -53,7 +53,7 @@ module MasterCard
|
|
53
53
|
end
|
54
54
|
|
55
55
|
def self.getOperationMetadata()
|
56
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
56
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
57
57
|
end
|
58
58
|
|
59
59
|
public
|
@@ -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("44c7eef7-98b3-4119-9a24-fda830e1fa6a", 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("144a5b8c-3b89-4788-8b49-b4622121ea68",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("193683c3-2961-4c4e-864d-b7347aab806e",self)
|
116
116
|
end
|
117
117
|
|
118
118
|
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'c6abe001-1c1f-4bee-b2f9-bc05f3658e75' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/fee", "create", [], []),
|
41
|
+
'd806d409-b407-4b1f-ab75-19d6085d7392' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/fees/loaddataforfees", "query", [], []),
|
42
42
|
|
43
43
|
}
|
44
44
|
|
@@ -52,7 +52,7 @@ module MasterCard
|
|
52
52
|
end
|
53
53
|
|
54
54
|
def self.getOperationMetadata()
|
55
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
55
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
56
56
|
end
|
57
57
|
|
58
58
|
public
|
@@ -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("c6abe001-1c1f-4bee-b2f9-bc05f3658e75", Fees.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("d806d409-b407-4b1f-ab75-19d6085d7392",Fees.new(criteria))
|
91
91
|
end
|
92
92
|
|
93
93
|
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'0f0b1076-85bf-4c4e-aa5e-c5c724da3d68' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/fraud/mastercard", "create", [], []),
|
41
|
+
'0f6a9c65-ad22-49e4-9764-fab084b6051b' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/fraud/loaddataforfraud", "query", [], []),
|
42
42
|
|
43
43
|
}
|
44
44
|
|
@@ -52,7 +52,7 @@ module MasterCard
|
|
52
52
|
end
|
53
53
|
|
54
54
|
def self.getOperationMetadata()
|
55
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
55
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
56
56
|
end
|
57
57
|
|
58
58
|
public
|
@@ -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("0f0b1076-85bf-4c4e-aa5e-c5c724da3d68", 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("0f6a9c65-ad22-49e4-9764-fab084b6051b",Fraud.new(criteria))
|
91
91
|
end
|
92
92
|
|
93
93
|
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'151ce243-3ef0-4e51-a921-2a687586781a' => OperationConfig.new("/mastercom/v1/queues", "list", [], ["queue-name"]),
|
41
|
+
'7f4f9432-35cf-46d8-a923-a711b784128c' => OperationConfig.new("/mastercom/v1/queues/names", "list", [], []),
|
42
42
|
|
43
43
|
}
|
44
44
|
|
@@ -52,7 +52,7 @@ module MasterCard
|
|
52
52
|
end
|
53
53
|
|
54
54
|
def self.getOperationMetadata()
|
55
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
55
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
56
56
|
end
|
57
57
|
|
58
58
|
public
|
@@ -60,35 +60,26 @@ module MasterCard
|
|
60
60
|
|
61
61
|
|
62
62
|
|
63
|
-
|
64
|
-
|
65
|
-
|
63
|
+
def self.retrieveClaimsFromQueue(criteria = nil)
|
64
|
+
#
|
65
|
+
#List objects of type Queues
|
66
66
|
#
|
67
|
-
#Returns objects of type Queues by id and optional criteria
|
68
|
-
#@param [String] id
|
69
67
|
#@param [Dict] criteria
|
70
|
-
#@return [Queues] object
|
68
|
+
#@return Array [Queues] object matching the criteria.
|
71
69
|
#@raise [APIException] an exception from the response status
|
72
70
|
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
if !criteria.nil?
|
78
|
-
if criteria.instance_of? RequestMap
|
79
|
-
mapObj.setAll(criteria.getObject())
|
80
|
-
else
|
81
|
-
mapObj.setAll(criteria)
|
82
|
-
end
|
71
|
+
if criteria.nil?
|
72
|
+
return self.execute("151ce243-3ef0-4e51-a921-2a687586781a",Queues.new)
|
73
|
+
else
|
74
|
+
return self.execute("151ce243-3ef0-4e51-a921-2a687586781a",Queues.new(criteria))
|
83
75
|
end
|
84
|
-
|
85
|
-
return self.execute("be506ce9-ed02-463e-a6a6-b6056fcc0e40",Queues.new(mapObj))
|
86
76
|
end
|
87
77
|
|
88
78
|
|
89
79
|
|
90
80
|
|
91
81
|
|
82
|
+
|
92
83
|
def self.retrieveQueueNames(criteria = nil)
|
93
84
|
#
|
94
85
|
#List objects of type Queues
|
@@ -98,9 +89,9 @@ module MasterCard
|
|
98
89
|
#@raise [APIException] an exception from the response status
|
99
90
|
|
100
91
|
if criteria.nil?
|
101
|
-
return self.execute("
|
92
|
+
return self.execute("7f4f9432-35cf-46d8-a923-a711b784128c",Queues.new)
|
102
93
|
else
|
103
|
-
return self.execute("
|
94
|
+
return self.execute("7f4f9432-35cf-46d8-a923-a711b784128c",Queues.new(criteria))
|
104
95
|
end
|
105
96
|
end
|
106
97
|
|
@@ -37,12 +37,9 @@ module MasterCard
|
|
37
37
|
@@instance = nil
|
38
38
|
|
39
39
|
def initialize
|
40
|
-
@name = "mastercom"
|
41
40
|
@override = nil
|
42
41
|
@host = nil
|
43
42
|
@context = nil
|
44
|
-
@version = "mastercom:0.0.2"
|
45
|
-
@jsonNative = true
|
46
43
|
|
47
44
|
Config.registerResourceConfig(self)
|
48
45
|
currentEnvironment = Config.getEnvironment()
|
@@ -57,7 +54,7 @@ module MasterCard
|
|
57
54
|
|
58
55
|
|
59
56
|
def getName
|
60
|
-
return
|
57
|
+
return "mastercom"
|
61
58
|
end
|
62
59
|
|
63
60
|
|
@@ -74,11 +71,15 @@ module MasterCard
|
|
74
71
|
end
|
75
72
|
|
76
73
|
def getVersion
|
77
|
-
return
|
74
|
+
return "mastercom:0.0.3"
|
78
75
|
end
|
79
76
|
|
80
77
|
def getJsonNative
|
81
|
-
return
|
78
|
+
return true
|
79
|
+
end
|
80
|
+
|
81
|
+
def getContentTypeOverride
|
82
|
+
return nil
|
82
83
|
end
|
83
84
|
|
84
85
|
def setEnvironment(environmet)
|
@@ -37,11 +37,12 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'
|
40
|
+
'095a12e5-c056-4925-b8c5-ec8b521e60d5' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/retrievalrequests/{request-id}/fulfillments", "create", [], []),
|
41
|
+
'e4467335-dd97-429b-b339-66bce298b42c' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/retrievalrequests", "create", [], []),
|
42
|
+
'027672fe-c50a-49ae-97b7-dab03dfc9ef0' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/retrievalrequests/loaddataforretrievalrequests", "query", [], []),
|
43
|
+
'8fc6c401-7eb1-4470-95e8-32891eb47406' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/retrievalrequests/{request-id}/documents", "query", [], ["format"]),
|
44
|
+
'a8741909-08a7-4b02-bdc9-dad8566e0973' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/retrievalrequests/{request-id}/fulfillments/response", "create", [], []),
|
45
|
+
'05e414af-1036-4c8d-b6a7-692e81f360c9' => OperationConfig.new("/mastercom/v1/retrievalrequests/status", "update", [], []),
|
45
46
|
|
46
47
|
}
|
47
48
|
|
@@ -55,7 +56,7 @@ module MasterCard
|
|
55
56
|
end
|
56
57
|
|
57
58
|
def self.getOperationMetadata()
|
58
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
59
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
59
60
|
end
|
60
61
|
|
61
62
|
public
|
@@ -68,7 +69,7 @@ module MasterCard
|
|
68
69
|
#@param Dict mapObj, containing the required parameters to create a new object
|
69
70
|
#@return [Retrievals] of the response of created instance.
|
70
71
|
#@raise [APIException] an exception from the response status
|
71
|
-
return self.execute("
|
72
|
+
return self.execute("095a12e5-c056-4925-b8c5-ec8b521e60d5", Retrievals.new(mapObj))
|
72
73
|
end
|
73
74
|
|
74
75
|
|
@@ -84,7 +85,7 @@ module MasterCard
|
|
84
85
|
#@param Dict mapObj, containing the required parameters to create a new object
|
85
86
|
#@return [Retrievals] of the response of created instance.
|
86
87
|
#@raise [APIException] an exception from the response status
|
87
|
-
return self.execute("
|
88
|
+
return self.execute("e4467335-dd97-429b-b339-66bce298b42c", Retrievals.new(mapObj))
|
88
89
|
end
|
89
90
|
|
90
91
|
|
@@ -106,7 +107,7 @@ module MasterCard
|
|
106
107
|
#@raise [APIException] an exception from the response status
|
107
108
|
#
|
108
109
|
|
109
|
-
return self.execute("
|
110
|
+
return self.execute("027672fe-c50a-49ae-97b7-dab03dfc9ef0",Retrievals.new(criteria))
|
110
111
|
end
|
111
112
|
|
112
113
|
|
@@ -123,7 +124,7 @@ module MasterCard
|
|
123
124
|
#@raise [APIException] an exception from the response status
|
124
125
|
#
|
125
126
|
|
126
|
-
return self.execute("
|
127
|
+
return self.execute("8fc6c401-7eb1-4470-95e8-32891eb47406",Retrievals.new(criteria))
|
127
128
|
end
|
128
129
|
|
129
130
|
|
@@ -134,7 +135,24 @@ module MasterCard
|
|
134
135
|
#@param Dict mapObj, containing the required parameters to create a new object
|
135
136
|
#@return [Retrievals] of the response of created instance.
|
136
137
|
#@raise [APIException] an exception from the response status
|
137
|
-
return self.execute("
|
138
|
+
return self.execute("a8741909-08a7-4b02-bdc9-dad8566e0973", Retrievals.new(mapObj))
|
139
|
+
end
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
def retrievalFullfilmentStatus
|
149
|
+
#
|
150
|
+
#Updates an object of type Retrievals
|
151
|
+
#
|
152
|
+
#@return [Retrievals] object representing the response.
|
153
|
+
#@raise [APIException] an exception from the response status
|
154
|
+
#
|
155
|
+
return self.class.execute("05e414af-1036-4c8d-b6a7-692e81f360c9",self)
|
138
156
|
end
|
139
157
|
|
140
158
|
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'a6057ca5-37e4-4d82-a327-5ee3a9fb2d56' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/transactions/clearing/{transaction-id}", "read", [], []),
|
41
|
+
'14fa643d-c167-4d67-a4fd-d2144d1e2a8b' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/transactions/authorization/{transaction-id}", "read", [], []),
|
42
|
+
'3fb2c696-a871-419c-b263-ee1eafa9c5a6' => OperationConfig.new("/mastercom/v1/transactions/search", "create", [], []),
|
43
43
|
|
44
44
|
}
|
45
45
|
|
@@ -53,7 +53,7 @@ module MasterCard
|
|
53
53
|
end
|
54
54
|
|
55
55
|
def self.getOperationMetadata()
|
56
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
56
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
57
57
|
end
|
58
58
|
|
59
59
|
public
|
@@ -83,7 +83,7 @@ module MasterCard
|
|
83
83
|
end
|
84
84
|
end
|
85
85
|
|
86
|
-
return self.execute("
|
86
|
+
return self.execute("a6057ca5-37e4-4d82-a327-5ee3a9fb2d56",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("14fa643d-c167-4d67-a4fd-d2144d1e2a8b",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("3fb2c696-a871-419c-b263-ee1eafa9c5a6", Transactions.new(mapObj))
|
128
128
|
end
|
129
129
|
|
130
130
|
|
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: 0.0.
|
4
|
+
version: 0.0.3
|
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-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mastercard_api_core
|