mastercard_spendcontrols 1.0.3 → 1.0.4
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 +4 -4
- data/lib/mastercard/api/spendcontrols/alertall.rb +8 -8
- data/lib/mastercard/api/spendcontrols/alerts.rb +8 -8
- data/lib/mastercard/api/spendcontrols/amount.rb +8 -8
- data/lib/mastercard/api/spendcontrols/amountdecline.rb +8 -8
- data/lib/mastercard/api/spendcontrols/batch.rb +5 -5
- data/lib/mastercard/api/spendcontrols/budgetalert.rb +5 -5
- data/lib/mastercard/api/spendcontrols/budgetalertwithbudgetid.rb +8 -8
- data/lib/mastercard/api/spendcontrols/budgetdecline.rb +5 -5
- data/lib/mastercard/api/spendcontrols/budgetdeclinewithbudgetid.rb +8 -8
- data/lib/mastercard/api/spendcontrols/card.rb +12 -12
- data/lib/mastercard/api/spendcontrols/channel.rb +8 -8
- data/lib/mastercard/api/spendcontrols/channeldecline.rb +8 -8
- data/lib/mastercard/api/spendcontrols/combinationctrlsalertresource.rb +5 -5
- data/lib/mastercard/api/spendcontrols/combinationctrlsalertresourcefilterid.rb +8 -8
- data/lib/mastercard/api/spendcontrols/combinationctrlsdeclineresource.rb +3 -3
- data/lib/mastercard/api/spendcontrols/combinationctrlsdeclineresourcefilterid.rb +8 -8
- data/lib/mastercard/api/spendcontrols/combinationctrlsdeclinesresource.rb +3 -3
- data/lib/mastercard/api/spendcontrols/controls.rb +8 -8
- data/lib/mastercard/api/spendcontrols/controlshistory.rb +3 -3
- data/lib/mastercard/api/spendcontrols/crossborder.rb +8 -8
- data/lib/mastercard/api/spendcontrols/crossborderdecline.rb +8 -8
- data/lib/mastercard/api/spendcontrols/declineall.rb +8 -8
- data/lib/mastercard/api/spendcontrols/declines.rb +8 -8
- data/lib/mastercard/api/spendcontrols/geolocationalert.rb +8 -8
- data/lib/mastercard/api/spendcontrols/geolocationdecline.rb +8 -8
- data/lib/mastercard/api/spendcontrols/merchantcategorycodealert.rb +8 -8
- data/lib/mastercard/api/spendcontrols/merchantcategorycodedecline.rb +8 -8
- data/lib/mastercard/api/spendcontrols/notification.rb +3 -3
- data/lib/mastercard/api/spendcontrols/resourceconfig.rb +7 -6
- data/lib/mastercard/api/spendcontrols/travelmarkeralert.rb +104 -0
- data/lib/mastercard/api/spendcontrols/travelmarkeralertwithtravelid.rb +160 -0
- data/lib/mastercard/api/spendcontrols/travelmarkerdecline.rb +104 -0
- data/lib/mastercard/api/spendcontrols/travelmarkerdeclinewithtravelid.rb +160 -0
- data/lib/mastercard/api/spendcontrols/txnhistory.rb +3 -3
- data/lib/mastercard/api/spendcontrols/verify.rb +3 -3
- data/lib/mastercard_spendcontrols.rb +4 -0
- metadata +6 -2
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'09ec897b-60ea-4047-a611-52f72ed11d9d' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/history/controls", "query", [], ["from","to","pageNumber","pageSize"]),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -51,7 +51,7 @@ module MasterCard
|
|
51
51
|
end
|
52
52
|
|
53
53
|
def self.getOperationMetadata()
|
54
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
54
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
55
55
|
end
|
56
56
|
|
57
57
|
public
|
@@ -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("09ec897b-60ea-4047-a611-52f72ed11d9d",Controlshistory.new(criteria))
|
74
74
|
end
|
75
75
|
|
76
76
|
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'79905300-f1cc-4bf0-a458-d1346bd3c72b' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/crossborder", "delete", [], []),
|
41
|
+
'ded96ff0-49eb-4bc8-b1d0-b481d2f8d28b' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/crossborder", "query", [], []),
|
42
|
+
'ae3a4d57-5ade-49cc-9a8e-473d20c1a742' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/crossborder", "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("79905300-f1cc-4bf0-a458-d1346bd3c72b", mapObj)
|
87
87
|
end
|
88
88
|
|
89
89
|
|
@@ -96,7 +96,7 @@ module MasterCard
|
|
96
96
|
#@raise [APIException] an exception from the response status
|
97
97
|
#
|
98
98
|
|
99
|
-
return self.class.execute("
|
99
|
+
return self.class.execute("79905300-f1cc-4bf0-a458-d1346bd3c72b", self)
|
100
100
|
end
|
101
101
|
|
102
102
|
|
@@ -115,7 +115,7 @@ module MasterCard
|
|
115
115
|
#@raise [APIException] an exception from the response status
|
116
116
|
#
|
117
117
|
|
118
|
-
return self.execute("
|
118
|
+
return self.execute("ded96ff0-49eb-4bc8-b1d0-b481d2f8d28b",Crossborder.new(criteria))
|
119
119
|
end
|
120
120
|
|
121
121
|
|
@@ -126,7 +126,7 @@ module MasterCard
|
|
126
126
|
#@param Dict mapObj, containing the required parameters to create a new object
|
127
127
|
#@return [Crossborder] of the response of created instance.
|
128
128
|
#@raise [APIException] an exception from the response status
|
129
|
-
return self.execute("
|
129
|
+
return self.execute("ae3a4d57-5ade-49cc-9a8e-473d20c1a742", Crossborder.new(mapObj))
|
130
130
|
end
|
131
131
|
|
132
132
|
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'878b2138-9140-436e-94dd-5840879c5a2a' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/crossborder", "delete", [], []),
|
41
|
+
'bef4fe6b-a540-4353-82b9-f176b760a941' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/crossborder", "query", [], []),
|
42
|
+
'db046b2a-93b7-43e3-a213-d575aa4dbe27' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/crossborder", "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("878b2138-9140-436e-94dd-5840879c5a2a", mapObj)
|
87
87
|
end
|
88
88
|
|
89
89
|
|
@@ -96,7 +96,7 @@ module MasterCard
|
|
96
96
|
#@raise [APIException] an exception from the response status
|
97
97
|
#
|
98
98
|
|
99
|
-
return self.class.execute("
|
99
|
+
return self.class.execute("878b2138-9140-436e-94dd-5840879c5a2a", self)
|
100
100
|
end
|
101
101
|
|
102
102
|
|
@@ -115,7 +115,7 @@ module MasterCard
|
|
115
115
|
#@raise [APIException] an exception from the response status
|
116
116
|
#
|
117
117
|
|
118
|
-
return self.execute("
|
118
|
+
return self.execute("bef4fe6b-a540-4353-82b9-f176b760a941",Crossborderdecline.new(criteria))
|
119
119
|
end
|
120
120
|
|
121
121
|
|
@@ -126,7 +126,7 @@ module MasterCard
|
|
126
126
|
#@param Dict mapObj, containing the required parameters to create a new object
|
127
127
|
#@return [Crossborderdecline] of the response of created instance.
|
128
128
|
#@raise [APIException] an exception from the response status
|
129
|
-
return self.execute("
|
129
|
+
return self.execute("db046b2a-93b7-43e3-a213-d575aa4dbe27", Crossborderdecline.new(mapObj))
|
130
130
|
end
|
131
131
|
|
132
132
|
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'b4033e63-7263-4d81-a60d-7c3d9c3bffb1' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/all", "delete", [], []),
|
41
|
+
'b12881eb-15db-455a-a983-05c5e53af3a1' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/all", "query", [], []),
|
42
|
+
'2b325dc9-16ea-47f8-95d4-ef632aa5e40d' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/all", "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("b4033e63-7263-4d81-a60d-7c3d9c3bffb1", mapObj)
|
87
87
|
end
|
88
88
|
|
89
89
|
|
@@ -96,7 +96,7 @@ module MasterCard
|
|
96
96
|
#@raise [APIException] an exception from the response status
|
97
97
|
#
|
98
98
|
|
99
|
-
return self.class.execute("
|
99
|
+
return self.class.execute("b4033e63-7263-4d81-a60d-7c3d9c3bffb1", self)
|
100
100
|
end
|
101
101
|
|
102
102
|
|
@@ -115,7 +115,7 @@ module MasterCard
|
|
115
115
|
#@raise [APIException] an exception from the response status
|
116
116
|
#
|
117
117
|
|
118
|
-
return self.execute("
|
118
|
+
return self.execute("b12881eb-15db-455a-a983-05c5e53af3a1",Declineall.new(criteria))
|
119
119
|
end
|
120
120
|
|
121
121
|
|
@@ -126,7 +126,7 @@ module MasterCard
|
|
126
126
|
#@param Dict mapObj, containing the required parameters to create a new object
|
127
127
|
#@return [Declineall] of the response of created instance.
|
128
128
|
#@raise [APIException] an exception from the response status
|
129
|
-
return self.execute("
|
129
|
+
return self.execute("2b325dc9-16ea-47f8-95d4-ef632aa5e40d", Declineall.new(mapObj))
|
130
130
|
end
|
131
131
|
|
132
132
|
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'11cc85db-4a47-425d-a183-9a997d799313' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines", "delete", [], []),
|
41
|
+
'85f97fd5-30d2-4663-9403-6494c59727df' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines", "query", [], []),
|
42
|
+
'5b3c2c8e-fc23-4c81-84cf-9d491642c082' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines", "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("11cc85db-4a47-425d-a183-9a997d799313", mapObj)
|
87
87
|
end
|
88
88
|
|
89
89
|
|
@@ -96,7 +96,7 @@ module MasterCard
|
|
96
96
|
#@raise [APIException] an exception from the response status
|
97
97
|
#
|
98
98
|
|
99
|
-
return self.class.execute("
|
99
|
+
return self.class.execute("11cc85db-4a47-425d-a183-9a997d799313", self)
|
100
100
|
end
|
101
101
|
|
102
102
|
|
@@ -115,7 +115,7 @@ module MasterCard
|
|
115
115
|
#@raise [APIException] an exception from the response status
|
116
116
|
#
|
117
117
|
|
118
|
-
return self.execute("
|
118
|
+
return self.execute("85f97fd5-30d2-4663-9403-6494c59727df",Declines.new(criteria))
|
119
119
|
end
|
120
120
|
|
121
121
|
|
@@ -126,7 +126,7 @@ module MasterCard
|
|
126
126
|
#@param Dict mapObj, containing the required parameters to create a new object
|
127
127
|
#@return [Declines] of the response of created instance.
|
128
128
|
#@raise [APIException] an exception from the response status
|
129
|
-
return self.execute("
|
129
|
+
return self.execute("5b3c2c8e-fc23-4c81-84cf-9d491642c082", Declines.new(mapObj))
|
130
130
|
end
|
131
131
|
|
132
132
|
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'104762c6-9a39-4886-ae9a-316631fd4607' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/geolocations", "delete", [], []),
|
41
|
+
'13489d03-41c7-436e-85bd-8855c64b24a0' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/geolocations", "query", [], []),
|
42
|
+
'ad42ab29-b37e-4d4a-947f-40380cb1686a' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/geolocations", "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("104762c6-9a39-4886-ae9a-316631fd4607", mapObj)
|
87
87
|
end
|
88
88
|
|
89
89
|
|
@@ -96,7 +96,7 @@ module MasterCard
|
|
96
96
|
#@raise [APIException] an exception from the response status
|
97
97
|
#
|
98
98
|
|
99
|
-
return self.class.execute("
|
99
|
+
return self.class.execute("104762c6-9a39-4886-ae9a-316631fd4607", self)
|
100
100
|
end
|
101
101
|
|
102
102
|
|
@@ -115,7 +115,7 @@ module MasterCard
|
|
115
115
|
#@raise [APIException] an exception from the response status
|
116
116
|
#
|
117
117
|
|
118
|
-
return self.execute("
|
118
|
+
return self.execute("13489d03-41c7-436e-85bd-8855c64b24a0",Geolocationalert.new(criteria))
|
119
119
|
end
|
120
120
|
|
121
121
|
|
@@ -126,7 +126,7 @@ module MasterCard
|
|
126
126
|
#@param Dict mapObj, containing the required parameters to create a new object
|
127
127
|
#@return [Geolocationalert] of the response of created instance.
|
128
128
|
#@raise [APIException] an exception from the response status
|
129
|
-
return self.execute("
|
129
|
+
return self.execute("ad42ab29-b37e-4d4a-947f-40380cb1686a", Geolocationalert.new(mapObj))
|
130
130
|
end
|
131
131
|
|
132
132
|
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'ad6979e0-1519-4c67-8d8a-86cdfde7d41c' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/geolocations", "delete", [], []),
|
41
|
+
'55fe2232-0cee-464b-90aa-0623e995c128' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/geolocations", "query", [], []),
|
42
|
+
'fb9d28e5-0630-4716-a453-35a16f03702a' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/geolocations", "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("ad6979e0-1519-4c67-8d8a-86cdfde7d41c", mapObj)
|
87
87
|
end
|
88
88
|
|
89
89
|
|
@@ -96,7 +96,7 @@ module MasterCard
|
|
96
96
|
#@raise [APIException] an exception from the response status
|
97
97
|
#
|
98
98
|
|
99
|
-
return self.class.execute("
|
99
|
+
return self.class.execute("ad6979e0-1519-4c67-8d8a-86cdfde7d41c", self)
|
100
100
|
end
|
101
101
|
|
102
102
|
|
@@ -115,7 +115,7 @@ module MasterCard
|
|
115
115
|
#@raise [APIException] an exception from the response status
|
116
116
|
#
|
117
117
|
|
118
|
-
return self.execute("
|
118
|
+
return self.execute("55fe2232-0cee-464b-90aa-0623e995c128",Geolocationdecline.new(criteria))
|
119
119
|
end
|
120
120
|
|
121
121
|
|
@@ -126,7 +126,7 @@ module MasterCard
|
|
126
126
|
#@param Dict mapObj, containing the required parameters to create a new object
|
127
127
|
#@return [Geolocationdecline] of the response of created instance.
|
128
128
|
#@raise [APIException] an exception from the response status
|
129
|
-
return self.execute("
|
129
|
+
return self.execute("fb9d28e5-0630-4716-a453-35a16f03702a", Geolocationdecline.new(mapObj))
|
130
130
|
end
|
131
131
|
|
132
132
|
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'48ca7fcf-6d5b-488a-8c6b-4b8893c3a822' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/mccs", "delete", [], []),
|
41
|
+
'69aee9f4-ff1b-45ce-ab19-10ca8f072da3' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/mccs", "query", [], []),
|
42
|
+
'34297af6-1b81-441e-8da1-07f37ae2d647' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/mccs", "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("48ca7fcf-6d5b-488a-8c6b-4b8893c3a822", mapObj)
|
87
87
|
end
|
88
88
|
|
89
89
|
|
@@ -96,7 +96,7 @@ module MasterCard
|
|
96
96
|
#@raise [APIException] an exception from the response status
|
97
97
|
#
|
98
98
|
|
99
|
-
return self.class.execute("
|
99
|
+
return self.class.execute("48ca7fcf-6d5b-488a-8c6b-4b8893c3a822", self)
|
100
100
|
end
|
101
101
|
|
102
102
|
|
@@ -115,7 +115,7 @@ module MasterCard
|
|
115
115
|
#@raise [APIException] an exception from the response status
|
116
116
|
#
|
117
117
|
|
118
|
-
return self.execute("
|
118
|
+
return self.execute("69aee9f4-ff1b-45ce-ab19-10ca8f072da3",Merchantcategorycodealert.new(criteria))
|
119
119
|
end
|
120
120
|
|
121
121
|
|
@@ -126,7 +126,7 @@ module MasterCard
|
|
126
126
|
#@param Dict mapObj, containing the required parameters to create a new object
|
127
127
|
#@return [Merchantcategorycodealert] of the response of created instance.
|
128
128
|
#@raise [APIException] an exception from the response status
|
129
|
-
return self.execute("
|
129
|
+
return self.execute("34297af6-1b81-441e-8da1-07f37ae2d647", Merchantcategorycodealert.new(mapObj))
|
130
130
|
end
|
131
131
|
|
132
132
|
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'dcc04bc0-3e63-4fd5-a221-9b46f515adf3' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/mccs", "delete", [], []),
|
41
|
+
'd24438b9-ec20-438f-9fa1-9785dadcab7e' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/mccs", "query", [], []),
|
42
|
+
'9606a0ae-3da1-4e68-ad7d-99e0ce12c93a' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/mccs", "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("dcc04bc0-3e63-4fd5-a221-9b46f515adf3", mapObj)
|
87
87
|
end
|
88
88
|
|
89
89
|
|
@@ -96,7 +96,7 @@ module MasterCard
|
|
96
96
|
#@raise [APIException] an exception from the response status
|
97
97
|
#
|
98
98
|
|
99
|
-
return self.class.execute("
|
99
|
+
return self.class.execute("dcc04bc0-3e63-4fd5-a221-9b46f515adf3", self)
|
100
100
|
end
|
101
101
|
|
102
102
|
|
@@ -115,7 +115,7 @@ module MasterCard
|
|
115
115
|
#@raise [APIException] an exception from the response status
|
116
116
|
#
|
117
117
|
|
118
|
-
return self.execute("
|
118
|
+
return self.execute("d24438b9-ec20-438f-9fa1-9785dadcab7e",Merchantcategorycodedecline.new(criteria))
|
119
119
|
end
|
120
120
|
|
121
121
|
|
@@ -126,7 +126,7 @@ module MasterCard
|
|
126
126
|
#@param Dict mapObj, containing the required parameters to create a new object
|
127
127
|
#@return [Merchantcategorycodedecline] of the response of created instance.
|
128
128
|
#@raise [APIException] an exception from the response status
|
129
|
-
return self.execute("
|
129
|
+
return self.execute("9606a0ae-3da1-4e68-ad7d-99e0ce12c93a", Merchantcategorycodedecline.new(mapObj))
|
130
130
|
end
|
131
131
|
|
132
132
|
|