mastercard_mastercom 3.0.0 → 4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c48ccc8715b58547bd709aab003c1bb24ac760177d846a3c80990fd0b1703284
4
- data.tar.gz: 5ce9422fc7e6c2e88c99fe49daacc66734d9c17447372bfcb5e73d7c5304af54
3
+ metadata.gz: d0585e6ae870d25ec8f6a521b5296c32aa9fa4dd4576eef26039011cedc988bf
4
+ data.tar.gz: d9906f99183db5ebc5b19853d960d02809f676a312cfbd08eaf57c43d5e8f685
5
5
  SHA512:
6
- metadata.gz: e5379de8f25c56e063b9e0cca2ad63463f24b70ad3910240cf595b4ea38cfa9729eb6da332c72229e6c257c8aa275443c236ca3b1e121186e0dbf90a4faae343
7
- data.tar.gz: eae3c8023c5ef51fb129333eef2875cef80414c74b52dcd0214a336b6b9a41035fcee3cd1983e543481a6f6fcd3303f31bbb38b4fe81ce33df31de45fb46c5eb
6
+ metadata.gz: 9bd8eb02329599208d345affe4ad85def380f39dacfc239009efe5769b299d092164ebed6326f818f87cd8b7fd7fab040addd01c7f3ae750418aa9a35ea24e43
7
+ data.tar.gz: ee821b224260209a7df975100722089da68f9cf6be45346ecb4040a054d9ea4b92218afee2e4ba4b2283e8bd5b87f84e2d1e14d609dcab9789bae17e174540c7
@@ -37,10 +37,11 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
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", [], []),
40
+ '28703581-cbfa-43ae-bd89-a43510476b1e' => OperationConfig.new("/mastercom/v4/cases", "create", [], []),
41
+ 'e563c80d-797a-4c2f-baca-df3ab033552f' => OperationConfig.new("/mastercom/v4/cases/{case-id}/documents", "query", [], ["format","memo"]),
42
+ '8205ca6f-f0ad-49e5-b17c-8809febed719' => OperationConfig.new("/mastercom/v4/cases/imagestatus", "update", [], []),
43
+ '5c6334af-ac31-4320-b68f-ea435f71bb44' => OperationConfig.new("/mastercom/v4/cases/status", "update", [], []),
44
+ 'e6d6043f-fdfe-4729-8e24-d397aab61b3c' => OperationConfig.new("/mastercom/v4/cases/{case-id}", "update", [], []),
44
45
 
45
46
  }
46
47
 
@@ -67,7 +68,7 @@ module MasterCard
67
68
  #@param Dict mapObj, containing the required parameters to create a new object
68
69
  #@return [CaseFiling] of the response of created instance.
69
70
  #@raise [APIException] an exception from the response status
70
- return self.execute("ddeed58f-1b7f-4857-9aec-192b33749e11", CaseFiling.new(mapObj))
71
+ return self.execute("28703581-cbfa-43ae-bd89-a43510476b1e", CaseFiling.new(mapObj))
71
72
  end
72
73
 
73
74
 
@@ -89,11 +90,28 @@ module MasterCard
89
90
  #@raise [APIException] an exception from the response status
90
91
  #
91
92
 
92
- return self.execute("1dded59a-ec63-4a07-b5fa-77bfc61ae2e1",CaseFiling.new(criteria))
93
+ return self.execute("e563c80d-797a-4c2f-baca-df3ab033552f",CaseFiling.new(criteria))
93
94
  end
94
95
 
95
96
 
96
97
 
98
+ def caseFilingImageStatus
99
+ #
100
+ #Updates an object of type CaseFiling
101
+ #
102
+ #@return [CaseFiling] object representing the response.
103
+ #@raise [APIException] an exception from the response status
104
+ #
105
+ return self.class.execute("8205ca6f-f0ad-49e5-b17c-8809febed719",self)
106
+ end
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
97
115
  def caseFilingStatus
98
116
  #
99
117
  #Updates an object of type CaseFiling
@@ -101,7 +119,7 @@ module MasterCard
101
119
  #@return [CaseFiling] object representing the response.
102
120
  #@raise [APIException] an exception from the response status
103
121
  #
104
- return self.class.execute("6b7e4dca-591f-47b2-8f0e-56d9d203df1f",self)
122
+ return self.class.execute("5c6334af-ac31-4320-b68f-ea435f71bb44",self)
105
123
  end
106
124
 
107
125
 
@@ -118,7 +136,7 @@ module MasterCard
118
136
  #@return [CaseFiling] object representing the response.
119
137
  #@raise [APIException] an exception from the response status
120
138
  #
121
- return self.class.execute("3d485746-417b-453a-bd7a-a5aef324473d",self)
139
+ return self.class.execute("e6d6043f-fdfe-4729-8e24-d397aab61b3c",self)
122
140
  end
123
141
 
124
142
 
@@ -37,13 +37,14 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '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", [], []),
40
+ '3ff24451-6e6f-4347-9fa2-d3bea60372ea' => OperationConfig.new("/mastercom/v4/chargebacks/acknowledge", "update", [], []),
41
+ '4f83fc09-c144-4a24-8de9-ad6fe8022b8c' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/chargebacks", "create", [], []),
42
+ 'cdfb4637-c7bc-4220-8a11-76acdddf6bb5' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/chargebacks/{chargeback-id}/reversal", "create", [], []),
43
+ 'ab2f2634-6537-45ac-a172-edbbb1386a7f' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/chargebacks/{chargeback-id}/documents", "query", [], ["format"]),
44
+ 'bb3f698a-4159-4ad7-bcc6-befab45939e0' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/chargebacks/loaddataforchargebacks", "create", [], []),
45
+ '20c82283-d9d8-4103-8209-a05fadab0cc1' => OperationConfig.new("/mastercom/v4/chargebacks/imagestatus", "update", [], []),
46
+ 'cd799e76-3587-42cd-9aab-6cab6fce2b9d' => OperationConfig.new("/mastercom/v4/chargebacks/status", "update", [], []),
47
+ 'edd8fc58-9297-4bf1-82c5-81ef451ab45d' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/chargebacks/{chargeback-id}", "update", [], []),
47
48
 
48
49
  }
49
50
 
@@ -71,7 +72,7 @@ module MasterCard
71
72
  #@return [Chargebacks] object representing the response.
72
73
  #@raise [APIException] an exception from the response status
73
74
  #
74
- return self.class.execute("ca0dc3b6-986c-45b8-ba34-f10da7e644ad",self)
75
+ return self.class.execute("3ff24451-6e6f-4347-9fa2-d3bea60372ea",self)
75
76
  end
76
77
 
77
78
 
@@ -87,7 +88,7 @@ module MasterCard
87
88
  #@param Dict mapObj, containing the required parameters to create a new object
88
89
  #@return [Chargebacks] of the response of created instance.
89
90
  #@raise [APIException] an exception from the response status
90
- return self.execute("43c2ec4f-3477-4807-b60e-e814632ff532", Chargebacks.new(mapObj))
91
+ return self.execute("4f83fc09-c144-4a24-8de9-ad6fe8022b8c", Chargebacks.new(mapObj))
91
92
  end
92
93
 
93
94
 
@@ -103,7 +104,7 @@ module MasterCard
103
104
  #@param Dict mapObj, containing the required parameters to create a new object
104
105
  #@return [Chargebacks] of the response of created instance.
105
106
  #@raise [APIException] an exception from the response status
106
- return self.execute("8d07538a-a9f0-4cee-b6fd-fa1041dca479", Chargebacks.new(mapObj))
107
+ return self.execute("cdfb4637-c7bc-4220-8a11-76acdddf6bb5", Chargebacks.new(mapObj))
107
108
  end
108
109
 
109
110
 
@@ -125,7 +126,7 @@ module MasterCard
125
126
  #@raise [APIException] an exception from the response status
126
127
  #
127
128
 
128
- return self.execute("a6b8f55f-13a6-49f6-a301-8a455d46cfb8",Chargebacks.new(criteria))
129
+ return self.execute("ab2f2634-6537-45ac-a172-edbbb1386a7f",Chargebacks.new(criteria))
129
130
  end
130
131
 
131
132
 
@@ -136,7 +137,24 @@ module MasterCard
136
137
  #@param Dict mapObj, containing the required parameters to create a new object
137
138
  #@return [Chargebacks] of the response of created instance.
138
139
  #@raise [APIException] an exception from the response status
139
- return self.execute("d625939a-53ca-44d9-96d9-c31083ddd02e", Chargebacks.new(mapObj))
140
+ return self.execute("bb3f698a-4159-4ad7-bcc6-befab45939e0", Chargebacks.new(mapObj))
141
+ end
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+ def chargebacksImageStatus
151
+ #
152
+ #Updates an object of type Chargebacks
153
+ #
154
+ #@return [Chargebacks] object representing the response.
155
+ #@raise [APIException] an exception from the response status
156
+ #
157
+ return self.class.execute("20c82283-d9d8-4103-8209-a05fadab0cc1",self)
140
158
  end
141
159
 
142
160
 
@@ -153,7 +171,7 @@ module MasterCard
153
171
  #@return [Chargebacks] object representing the response.
154
172
  #@raise [APIException] an exception from the response status
155
173
  #
156
- return self.class.execute("f4b1d35b-16b3-4cca-b54c-3e691ee27523",self)
174
+ return self.class.execute("cd799e76-3587-42cd-9aab-6cab6fce2b9d",self)
157
175
  end
158
176
 
159
177
 
@@ -170,7 +188,7 @@ module MasterCard
170
188
  #@return [Chargebacks] object representing the response.
171
189
  #@raise [APIException] an exception from the response status
172
190
  #
173
- return self.class.execute("2a81a6bd-1a0e-4be6-8f76-32cf5d81f001",self)
191
+ return self.class.execute("edd8fc58-9297-4bf1-82c5-81ef451ab45d",self)
174
192
  end
175
193
 
176
194
 
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '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", [], []),
40
+ '70761cd8-885d-4274-83df-dcc74f188713' => OperationConfig.new("/mastercom/v4/claims", "create", [], []),
41
+ '89877402-7145-4c5c-8336-0416399cd246' => OperationConfig.new("/mastercom/v4/claims/{claim-id}", "read", [], []),
42
+ '29b30e1d-6bb1-42ce-9a59-395228e0b0d8' => OperationConfig.new("/mastercom/v4/claims/{claim-id}", "update", [], []),
43
43
 
44
44
  }
45
45
 
@@ -66,7 +66,7 @@ module MasterCard
66
66
  #@param Dict mapObj, containing the required parameters to create a new object
67
67
  #@return [Claims] of the response of created instance.
68
68
  #@raise [APIException] an exception from the response status
69
- return self.execute("767c56f6-e41c-4845-974b-6a25d90608c7", Claims.new(mapObj))
69
+ return self.execute("70761cd8-885d-4274-83df-dcc74f188713", Claims.new(mapObj))
70
70
  end
71
71
 
72
72
 
@@ -99,7 +99,7 @@ module MasterCard
99
99
  end
100
100
  end
101
101
 
102
- return self.execute("6c4f87f3-ebb9-4367-9a98-3299aa6b02df",Claims.new(mapObj))
102
+ return self.execute("89877402-7145-4c5c-8336-0416399cd246",Claims.new(mapObj))
103
103
  end
104
104
 
105
105
 
@@ -112,7 +112,7 @@ module MasterCard
112
112
  #@return [Claims] object representing the response.
113
113
  #@raise [APIException] an exception from the response status
114
114
  #
115
- return self.class.execute("2375e5f0-fa8c-4b78-b020-e51da4ba2e82",self)
115
+ return self.class.execute("29b30e1d-6bb1-42ce-9a59-395228e0b0d8",self)
116
116
  end
117
117
 
118
118
 
@@ -37,8 +37,8 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '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", [], []),
40
+ '7ecb8f8f-bcd1-4960-9afe-b0ef840b834b' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/fee", "create", [], []),
41
+ '4467e686-6b95-4446-9dda-2fc5ba1d83bb' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/fees/loaddataforfees", "create", [], []),
42
42
 
43
43
  }
44
44
 
@@ -65,7 +65,7 @@ module MasterCard
65
65
  #@param Dict mapObj, containing the required parameters to create a new object
66
66
  #@return [Fees] of the response of created instance.
67
67
  #@raise [APIException] an exception from the response status
68
- return self.execute("311b1e2e-b7f7-4096-a9d1-fee3ff911203", Fees.new(mapObj))
68
+ return self.execute("7ecb8f8f-bcd1-4960-9afe-b0ef840b834b", Fees.new(mapObj))
69
69
  end
70
70
 
71
71
 
@@ -81,7 +81,7 @@ module MasterCard
81
81
  #@param Dict mapObj, containing the required parameters to create a new object
82
82
  #@return [Fees] of the response of created instance.
83
83
  #@raise [APIException] an exception from the response status
84
- return self.execute("61efe6c7-167c-4251-8357-cfec3e081832", Fees.new(mapObj))
84
+ return self.execute("4467e686-6b95-4446-9dda-2fc5ba1d83bb", Fees.new(mapObj))
85
85
  end
86
86
 
87
87
 
@@ -37,8 +37,8 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '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", [], []),
40
+ '7c826154-c2f6-440b-84b3-007d29f62a02' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/fraud/mastercard", "create", [], []),
41
+ '46ec1360-3968-490d-b792-2da903cd5f38' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/fraud/loaddataforfraud", "query", [], []),
42
42
 
43
43
  }
44
44
 
@@ -65,7 +65,7 @@ module MasterCard
65
65
  #@param Dict mapObj, containing the required parameters to create a new object
66
66
  #@return [Fraud] of the response of created instance.
67
67
  #@raise [APIException] an exception from the response status
68
- return self.execute("53e1d5ec-18a5-4bd0-a5d4-6ad587e43beb", Fraud.new(mapObj))
68
+ return self.execute("7c826154-c2f6-440b-84b3-007d29f62a02", Fraud.new(mapObj))
69
69
  end
70
70
 
71
71
 
@@ -87,7 +87,7 @@ module MasterCard
87
87
  #@raise [APIException] an exception from the response status
88
88
  #
89
89
 
90
- return self.execute("75e424da-efb7-49a5-aea8-25aa1bae7170",Fraud.new(criteria))
90
+ return self.execute("46ec1360-3968-490d-b792-2da903cd5f38",Fraud.new(criteria))
91
91
  end
92
92
 
93
93
 
@@ -37,7 +37,7 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '88d048a2-df71-46fe-9dd9-e597b55b96f1' => OperationConfig.new("/mastercom/v3/healthcheck", "query", [], []),
40
+ '05d4ce72-edc5-4554-bb03-878787263770' => OperationConfig.new("/mastercom/v4/healthcheck", "query", [], []),
41
41
 
42
42
  }
43
43
 
@@ -70,7 +70,7 @@ module MasterCard
70
70
  #@raise [APIException] an exception from the response status
71
71
  #
72
72
 
73
- return self.execute("88d048a2-df71-46fe-9dd9-e597b55b96f1",HealthCheck.new(criteria))
73
+ return self.execute("05d4ce72-edc5-4554-bb03-878787263770",HealthCheck.new(criteria))
74
74
  end
75
75
 
76
76
 
@@ -37,7 +37,7 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '406cfa62-9179-469e-b0ae-8344e40f6b5e' => OperationConfig.new("/mastercom/v3/disputes/retrieve", "create", [], []),
40
+ '38141e3c-a2df-4bf5-afff-583720b6ed42' => OperationConfig.new("/mastercom/v4/disputes/retrieve", "create", [], []),
41
41
 
42
42
  }
43
43
 
@@ -64,7 +64,7 @@ module MasterCard
64
64
  #@param Dict mapObj, containing the required parameters to create a new object
65
65
  #@return [MigratedDisputes] of the response of created instance.
66
66
  #@raise [APIException] an exception from the response status
67
- return self.execute("406cfa62-9179-469e-b0ae-8344e40f6b5e", MigratedDisputes.new(mapObj))
67
+ return self.execute("38141e3c-a2df-4bf5-afff-583720b6ed42", MigratedDisputes.new(mapObj))
68
68
  end
69
69
 
70
70
 
@@ -37,8 +37,8 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '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", [], []),
40
+ 'f3c28bc2-ee39-432f-bf48-011d1b068ab1' => OperationConfig.new("/mastercom/v4/queues", "list", [], ["queue-name"]),
41
+ '08e0ef31-72e3-4c75-97c9-1f2695ae8776' => OperationConfig.new("/mastercom/v4/queues/names", "list", [], []),
42
42
 
43
43
  }
44
44
 
@@ -69,9 +69,9 @@ module MasterCard
69
69
  #@raise [APIException] an exception from the response status
70
70
 
71
71
  if criteria.nil?
72
- return self.execute("c38eb634-23a1-4238-92cf-3c37494d2d29",Queues.new)
72
+ return self.execute("f3c28bc2-ee39-432f-bf48-011d1b068ab1",Queues.new)
73
73
  else
74
- return self.execute("c38eb634-23a1-4238-92cf-3c37494d2d29",Queues.new(criteria))
74
+ return self.execute("f3c28bc2-ee39-432f-bf48-011d1b068ab1",Queues.new(criteria))
75
75
  end
76
76
  end
77
77
 
@@ -89,9 +89,9 @@ module MasterCard
89
89
  #@raise [APIException] an exception from the response status
90
90
 
91
91
  if criteria.nil?
92
- return self.execute("e6f1a528-b5a9-4608-933a-69f9f36d090c",Queues.new)
92
+ return self.execute("08e0ef31-72e3-4c75-97c9-1f2695ae8776",Queues.new)
93
93
  else
94
- return self.execute("e6f1a528-b5a9-4608-933a-69f9f36d090c",Queues.new(criteria))
94
+ return self.execute("08e0ef31-72e3-4c75-97c9-1f2695ae8776",Queues.new(criteria))
95
95
  end
96
96
  end
97
97
 
@@ -0,0 +1,103 @@
1
+ #
2
+ # Copyright (c) 2016 MasterCard International Incorporated
3
+ # All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without modification, are
6
+ # permitted provided that the following conditions are met:
7
+ #
8
+ # Redistributions of source code must retain the above copyright notice, this list of
9
+ # conditions and the following disclaimer.
10
+ # Redistributions in binary form must reproduce the above copyright notice, this list of
11
+ # conditions and the following disclaimer in the documentation and/or other materials
12
+ # provided with the distribution.
13
+ # Neither the name of the MasterCard International Incorporated nor the names of its
14
+ # contributors may be used to endorse or promote products derived from this software
15
+ # without specific prior written permission.
16
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
17
+ # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18
+ # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
19
+ # SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
21
+ # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22
+ # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
23
+ # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
24
+ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25
+ # SUCH DAMAGE.
26
+ #
27
+
28
+
29
+ require "mastercard/core/model"
30
+ require "mastercard/core/baseobject"
31
+
32
+ module MasterCard
33
+ module API
34
+ module Mastercom
35
+ class Reconciliation < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ '2e8a9c9d-21bb-495b-ac2c-214e593ecdf1' => OperationConfig.new("/mastercom/v4/reconreport/data/request", "create", [], []),
41
+ '944ead22-d033-43aa-a9c2-d80617764c0b' => OperationConfig.new("/mastercom/v4/reconreport/data/retrieval/{reportIdentifier}", "create", [], []),
42
+
43
+ }
44
+
45
+ protected
46
+
47
+ def self.getOperationConfig(operationUUID)
48
+ if @__store.key?(operationUUID)
49
+ return @__store[operationUUID]
50
+ end
51
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
52
+ end
53
+
54
+ def self.getOperationMetadata()
55
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
56
+ end
57
+
58
+ public
59
+
60
+
61
+ def self.acknowledgeReconciliationRequest(mapObj)
62
+ #
63
+ #Creates object of type Reconciliation
64
+ #
65
+ #@param Dict mapObj, containing the required parameters to create a new object
66
+ #@return [Reconciliation] of the response of created instance.
67
+ #@raise [APIException] an exception from the response status
68
+ return self.execute("2e8a9c9d-21bb-495b-ac2c-214e593ecdf1", Reconciliation.new(mapObj))
69
+ end
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+ def self.retrieveReconciliationReport(mapObj)
78
+ #
79
+ #Creates object of type Reconciliation
80
+ #
81
+ #@param Dict mapObj, containing the required parameters to create a new object
82
+ #@return [Reconciliation] of the response of created instance.
83
+ #@raise [APIException] an exception from the response status
84
+ return self.execute("944ead22-d033-43aa-a9c2-d80617764c0b", Reconciliation.new(mapObj))
85
+ end
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+ end
94
+ end
95
+ end
96
+ end
97
+
98
+
99
+
100
+
101
+
102
+
103
+
@@ -71,11 +71,11 @@ module MasterCard
71
71
  end
72
72
 
73
73
  def getVersion
74
- return "mastercom:3.0.0"
74
+ return "mastercom:4.0.0"
75
75
  end
76
76
 
77
77
  def getJsonNative
78
- return false
78
+ return true
79
79
  end
80
80
 
81
81
  def getContentTypeOverride
@@ -37,12 +37,13 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
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", [], []),
40
+ 'a23527dc-0999-4350-abf2-e1ea8fd41e56' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/retrievalrequests/{request-id}/fulfillments", "create", [], []),
41
+ 'f1c63dac-3e79-48d6-ac08-b70aca70670a' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/retrievalrequests", "create", [], []),
42
+ 'd0f3abc3-bf08-4b5c-8e7d-944e6a9240d8' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/retrievalrequests/loaddataforretrievalrequests", "query", [], []),
43
+ '6293b3e9-8c29-4d3b-a553-148f6f1af0b9' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/retrievalrequests/{request-id}/documents", "query", [], ["format"]),
44
+ 'a3ad68ce-11f5-454b-89cf-f2a0875c7d36' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/retrievalrequests/{request-id}/fulfillments/response", "create", [], []),
45
+ '067588d5-20cb-4e37-b44b-b6f015911203' => OperationConfig.new("/mastercom/v4/retrievalrequests/imagestatus", "update", [], []),
46
+ '97c76e88-0b5c-4ecd-8a49-1e00744e0880' => OperationConfig.new("/mastercom/v4/retrievalrequests/status", "update", [], []),
46
47
 
47
48
  }
48
49
 
@@ -69,7 +70,7 @@ module MasterCard
69
70
  #@param Dict mapObj, containing the required parameters to create a new object
70
71
  #@return [Retrievals] of the response of created instance.
71
72
  #@raise [APIException] an exception from the response status
72
- return self.execute("f4d20ea7-96fc-4ff2-8fa0-fab081fb741e", Retrievals.new(mapObj))
73
+ return self.execute("a23527dc-0999-4350-abf2-e1ea8fd41e56", Retrievals.new(mapObj))
73
74
  end
74
75
 
75
76
 
@@ -85,7 +86,7 @@ module MasterCard
85
86
  #@param Dict mapObj, containing the required parameters to create a new object
86
87
  #@return [Retrievals] of the response of created instance.
87
88
  #@raise [APIException] an exception from the response status
88
- return self.execute("16d0ab68-0f1b-4e58-a1cc-8576b6eac9d0", Retrievals.new(mapObj))
89
+ return self.execute("f1c63dac-3e79-48d6-ac08-b70aca70670a", Retrievals.new(mapObj))
89
90
  end
90
91
 
91
92
 
@@ -107,7 +108,7 @@ module MasterCard
107
108
  #@raise [APIException] an exception from the response status
108
109
  #
109
110
 
110
- return self.execute("96fbf0a5-c504-4c6e-acb1-e89f6c62ea91",Retrievals.new(criteria))
111
+ return self.execute("d0f3abc3-bf08-4b5c-8e7d-944e6a9240d8",Retrievals.new(criteria))
111
112
  end
112
113
 
113
114
 
@@ -124,7 +125,7 @@ module MasterCard
124
125
  #@raise [APIException] an exception from the response status
125
126
  #
126
127
 
127
- return self.execute("a9b1b8b0-d719-44ea-aacd-aedb7d453ea7",Retrievals.new(criteria))
128
+ return self.execute("6293b3e9-8c29-4d3b-a553-148f6f1af0b9",Retrievals.new(criteria))
128
129
  end
129
130
 
130
131
 
@@ -135,7 +136,24 @@ module MasterCard
135
136
  #@param Dict mapObj, containing the required parameters to create a new object
136
137
  #@return [Retrievals] of the response of created instance.
137
138
  #@raise [APIException] an exception from the response status
138
- return self.execute("de51cd40-deab-46b6-a8d0-9cbc2401fd98", Retrievals.new(mapObj))
139
+ return self.execute("a3ad68ce-11f5-454b-89cf-f2a0875c7d36", Retrievals.new(mapObj))
140
+ end
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+ def retrievalFullfilmentImageStatus
150
+ #
151
+ #Updates an object of type Retrievals
152
+ #
153
+ #@return [Retrievals] object representing the response.
154
+ #@raise [APIException] an exception from the response status
155
+ #
156
+ return self.class.execute("067588d5-20cb-4e37-b44b-b6f015911203",self)
139
157
  end
140
158
 
141
159
 
@@ -152,7 +170,7 @@ module MasterCard
152
170
  #@return [Retrievals] object representing the response.
153
171
  #@raise [APIException] an exception from the response status
154
172
  #
155
- return self.class.execute("0c8aeb20-e894-4891-b30b-1e31f0c3d70d",self)
173
+ return self.class.execute("97c76e88-0b5c-4ecd-8a49-1e00744e0880",self)
156
174
  end
157
175
 
158
176
 
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '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", [], []),
40
+ '62b6c60f-b711-40b6-810c-7b5fa8a073f5' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/transactions/clearing/{transaction-id}", "read", [], []),
41
+ '70b2df3b-99ce-4550-934c-719c8bb6b6e1' => OperationConfig.new("/mastercom/v4/claims/{claim-id}/transactions/authorization/{transaction-id}", "read", [], []),
42
+ 'dafb3096-da28-4c54-ae38-329b80e205d8' => OperationConfig.new("/mastercom/v4/transactions/search", "create", [], []),
43
43
 
44
44
  }
45
45
 
@@ -83,7 +83,7 @@ module MasterCard
83
83
  end
84
84
  end
85
85
 
86
- return self.execute("cc556cfe-499a-4f42-a03e-32c048094918",Transactions.new(mapObj))
86
+ return self.execute("62b6c60f-b711-40b6-810c-7b5fa8a073f5",Transactions.new(mapObj))
87
87
  end
88
88
 
89
89
 
@@ -112,7 +112,7 @@ module MasterCard
112
112
  end
113
113
  end
114
114
 
115
- return self.execute("18f83a62-3382-438e-b1d5-5758d67fc18d",Transactions.new(mapObj))
115
+ return self.execute("70b2df3b-99ce-4550-934c-719c8bb6b6e1",Transactions.new(mapObj))
116
116
  end
117
117
 
118
118
 
@@ -124,7 +124,7 @@ module MasterCard
124
124
  #@param Dict mapObj, containing the required parameters to create a new object
125
125
  #@return [Transactions] of the response of created instance.
126
126
  #@raise [APIException] an exception from the response status
127
- return self.execute("ab778553-d5da-4bf7-a109-0efde9957f79", Transactions.new(mapObj))
127
+ return self.execute("dafb3096-da28-4c54-ae38-329b80e205d8", Transactions.new(mapObj))
128
128
  end
129
129
 
130
130
 
@@ -10,5 +10,6 @@ require 'mastercard/api/mastercom/fraud'
10
10
  require 'mastercard/api/mastercom/healthcheck'
11
11
  require 'mastercard/api/mastercom/migrateddisputes'
12
12
  require 'mastercard/api/mastercom/queues'
13
+ require 'mastercard/api/mastercom/reconciliation'
13
14
  require 'mastercard/api/mastercom/retrievals'
14
15
  require 'mastercard/api/mastercom/transactions'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mastercard_mastercom
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - MasterCard Worldwide
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-28 00:00:00.000000000 Z
11
+ date: 2019-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mastercard_api_core
@@ -59,6 +59,7 @@ files:
59
59
  - lib/mastercard/api/mastercom/healthcheck.rb
60
60
  - lib/mastercard/api/mastercom/migrateddisputes.rb
61
61
  - lib/mastercard/api/mastercom/queues.rb
62
+ - lib/mastercard/api/mastercom/reconciliation.rb
62
63
  - lib/mastercard/api/mastercom/resourceconfig.rb
63
64
  - lib/mastercard/api/mastercom/retrievals.rb
64
65
  - lib/mastercard/api/mastercom/transactions.rb