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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e3a998e952637ed700aef8f1f99aea9a8af89b4
4
- data.tar.gz: b44f77c8b2cbf40a3692d26584573ef95b2920b9
3
+ metadata.gz: 4ec33b8c0f8694c8a76d3fd02aea8d2d4910bf35
4
+ data.tar.gz: 8c834092934fb994630d148d5ec30e8b5338d419
5
5
  SHA512:
6
- metadata.gz: 213864a529076ddcec03cd1fa582799caf037621c83bd32a52a60460498b6ff6898446eeeaee7478b93bd7f95cc5d44c664b4b03d7d23132d326933c28cb32e2
7
- data.tar.gz: 367557011d25381a1b6c02685924101b9fb818498cb3673deeac7344db40f156314b5006cd2efdaa453501ee147400f1cb3e1c9f7c8d630c7134b7675175bafc
6
+ metadata.gz: 4474d71f788551a43b98622f55bdc08b08a063cfe552fc3f16ea8e02ac062d1deba5cb3a2cdc4643396430a49e21fb4ccab092bcfff321088ac8d8f7ef295479
7
+ data.tar.gz: 002415c382648175a4f09423c5aa0fed30ddaffa123082f6e908af58336b7083aff14ccd64ca370c2b67bdf99c85c1241cacc62d9b979bc528336a063b441e11
@@ -37,9 +37,10 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'fd8d50c1-79e3-4d4d-93d2-476608b68ebf' => OperationConfig.new("/mastercom/v1/cases", "create", [], []),
41
- '6c3a468a-c293-4996-946f-e7650a5b4a80' => OperationConfig.new("/mastercom/v1/cases/{case-id}/documents", "query", [], ["format"]),
42
- 'c55c8ce8-227a-40f2-bd97-cdc3bdd2eb54' => OperationConfig.new("/mastercom/v1/cases/{case-id}", "update", [], []),
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("fd8d50c1-79e3-4d4d-93d2-476608b68ebf", CaseFiling.new(mapObj))
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("6c3a468a-c293-4996-946f-e7650a5b4a80",CaseFiling.new(criteria))
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("c55c8ce8-227a-40f2-bd97-cdc3bdd2eb54",self)
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
- '3599e7fc-bb22-424f-a310-beb39f7598eb' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/chargebacks", "create", [], []),
41
- '9b86f645-9868-433f-9b03-4af1e2f2a9fb' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/chargebacks/{chargeback-id}/reversal", "create", [], []),
42
- '833e3108-d43a-4001-9247-fbc64f657d4d' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/chargebacks/{chargeback-id}/documents", "query", [], ["chargeback-type","format"]),
43
- 'ca9a61a9-043d-487e-935e-c2f52b8a949f' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/chargebacks/loaddataforchargebacks", "query", [], []),
44
- '35e67f00-00b3-4b20-976b-7e96486f93a8' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/chargebacks/{chargeback-id}", "update", [], []),
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("3599e7fc-bb22-424f-a310-beb39f7598eb", Chargebacks.new(mapObj))
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("9b86f645-9868-433f-9b03-4af1e2f2a9fb", Chargebacks.new(mapObj))
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("833e3108-d43a-4001-9247-fbc64f657d4d",Chargebacks.new(criteria))
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("ca9a61a9-043d-487e-935e-c2f52b8a949f",Chargebacks.new(criteria))
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("35e67f00-00b3-4b20-976b-7e96486f93a8",self)
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
- 'b18446b8-74f6-4ac3-bd6d-a52c5ef6842a' => OperationConfig.new("/mastercom/v1/claims", "create", [], []),
41
- '047c65e5-4488-4ed6-b6cf-5edeaad32d51' => OperationConfig.new("/mastercom/v1/claims/{claim-id}", "read", [], []),
42
- '19249b67-da29-4974-843d-12f11bf76bc3' => OperationConfig.new("/mastercom/v1/claims/{claim-id}", "update", [], []),
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("b18446b8-74f6-4ac3-bd6d-a52c5ef6842a", Claims.new(mapObj))
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("047c65e5-4488-4ed6-b6cf-5edeaad32d51",Claims.new(mapObj))
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("19249b67-da29-4974-843d-12f11bf76bc3",self)
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
- 'ccf86960-d140-47bd-ab1f-1e05c93ce380' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/fee", "create", [], []),
41
- '7d5eb775-8ea7-467c-9559-ef61ee1b9ddd' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/fees/loaddataforfees", "query", [], []),
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("ccf86960-d140-47bd-ab1f-1e05c93ce380", Fees.new(mapObj))
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("7d5eb775-8ea7-467c-9559-ef61ee1b9ddd",Fees.new(criteria))
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
- '912bc7a7-ec9c-48bc-a6ed-c6b3b5d35681' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/fraud/mastercard", "create", [], []),
41
- '23d06267-6f79-46df-993d-fb44514ce345' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/fraud/loaddataforfraud", "query", [], []),
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("912bc7a7-ec9c-48bc-a6ed-c6b3b5d35681", Fraud.new(mapObj))
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("23d06267-6f79-46df-993d-fb44514ce345",Fraud.new(criteria))
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
- 'be506ce9-ed02-463e-a6a6-b6056fcc0e40' => OperationConfig.new("/mastercom/v1/queues/{queue-name}", "read", [], []),
41
- '37b0dd1b-f102-4faa-83a5-fd6eb3c20ff3' => OperationConfig.new("/mastercom/v1/queues/names", "list", [], []),
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
- def self.retrieveClaimsFromQueue(id, criteria = nil)
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 representing the response
68
+ #@return Array [Queues] object matching the criteria.
71
69
  #@raise [APIException] an exception from the response status
72
70
 
73
- mapObj = Queues.new
74
- if !(id.nil? || id.to_s.empty?)
75
- mapObj.set("id", id)
76
- end
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("37b0dd1b-f102-4faa-83a5-fd6eb3c20ff3",Queues.new)
92
+ return self.execute("7f4f9432-35cf-46d8-a923-a711b784128c",Queues.new)
102
93
  else
103
- return self.execute("37b0dd1b-f102-4faa-83a5-fd6eb3c20ff3",Queues.new(criteria))
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 @name
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 @version
74
+ return "mastercom:0.0.3"
78
75
  end
79
76
 
80
77
  def getJsonNative
81
- return @jsonNative
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
- '9a20747a-8d09-48f8-b8a7-af51715187c9' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/retrievalrequests/{request-id}/fulfillments", "create", [], []),
41
- '60bf9970-1aeb-4e65-8e64-8a9d7f7e9818' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/retrievalrequests", "create", [], []),
42
- '77000b47-d95c-4192-9299-47f91fef7544' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/retrievalrequests/loaddataforretrievalrequests", "query", [], []),
43
- '7634df7d-12ca-4abf-a9bd-736ba3a13afe' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/retrievalrequests/{request-id}/documents", "query", [], ["format"]),
44
- '49230f0e-1fd8-443c-8404-b58337677fa1' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/retrievalrequests/{request-id}/fulfillments/response", "create", [], []),
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("9a20747a-8d09-48f8-b8a7-af51715187c9", Retrievals.new(mapObj))
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("60bf9970-1aeb-4e65-8e64-8a9d7f7e9818", Retrievals.new(mapObj))
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("77000b47-d95c-4192-9299-47f91fef7544",Retrievals.new(criteria))
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("7634df7d-12ca-4abf-a9bd-736ba3a13afe",Retrievals.new(criteria))
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("49230f0e-1fd8-443c-8404-b58337677fa1", Retrievals.new(mapObj))
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
- '12eb4dd7-35b9-4cb1-ba5f-3c83c993e8c1' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/transactions/clearing/{transaction-id}", "read", [], []),
41
- '115ed36b-33d8-4e98-a1e2-a2193fd3256f' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/transactions/authorization/{transaction-id}", "read", [], []),
42
- '1e695da9-172c-429c-b009-b1d7c1c3f05e' => OperationConfig.new("/mastercom/v1/transactions/search", "create", [], []),
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("12eb4dd7-35b9-4cb1-ba5f-3c83c993e8c1",Transactions.new(mapObj))
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("115ed36b-33d8-4e98-a1e2-a2193fd3256f",Transactions.new(mapObj))
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("1e695da9-172c-429c-b009-b1d7c1c3f05e", Transactions.new(mapObj))
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.2
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-02-09 00:00:00.000000000 Z
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