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,11 +37,11 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'
|
40
|
+
'100b2b84-4ee1-4e22-9927-7baad788eb36' => OperationConfig.new("/issuer/spendcontrols/v1/card", "create", [], []),
|
41
|
+
'0d453728-973c-486b-86d9-0b08386725ba' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}", "read", [], []),
|
42
|
+
'7b2f5fb5-3b8c-4dcb-b18f-108e0953e090' => OperationConfig.new("/issuer/spendcontrols/v1/card/uuid", "create", [], []),
|
43
|
+
'2ee8dec7-7a7e-4533-aa73-80d716f8aaba' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}", "delete", [], []),
|
44
|
+
'92dccd41-bec2-45ee-a449-93d0230796b8' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}", "create", [], []),
|
45
45
|
|
46
46
|
}
|
47
47
|
|
@@ -55,7 +55,7 @@ module MasterCard
|
|
55
55
|
end
|
56
56
|
|
57
57
|
def self.getOperationMetadata()
|
58
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
58
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
59
59
|
end
|
60
60
|
|
61
61
|
public
|
@@ -68,7 +68,7 @@ module MasterCard
|
|
68
68
|
#@param Dict mapObj, containing the required parameters to create a new object
|
69
69
|
#@return [Card] of the response of created instance.
|
70
70
|
#@raise [APIException] an exception from the response status
|
71
|
-
return self.execute("
|
71
|
+
return self.execute("100b2b84-4ee1-4e22-9927-7baad788eb36", Card.new(mapObj))
|
72
72
|
end
|
73
73
|
|
74
74
|
|
@@ -101,7 +101,7 @@ module MasterCard
|
|
101
101
|
end
|
102
102
|
end
|
103
103
|
|
104
|
-
return self.execute("
|
104
|
+
return self.execute("0d453728-973c-486b-86d9-0b08386725ba",Card.new(mapObj))
|
105
105
|
end
|
106
106
|
|
107
107
|
|
@@ -113,7 +113,7 @@ module MasterCard
|
|
113
113
|
#@param Dict mapObj, containing the required parameters to create a new object
|
114
114
|
#@return [Card] of the response of created instance.
|
115
115
|
#@raise [APIException] an exception from the response status
|
116
|
-
return self.execute("
|
116
|
+
return self.execute("7b2f5fb5-3b8c-4dcb-b18f-108e0953e090", Card.new(mapObj))
|
117
117
|
end
|
118
118
|
|
119
119
|
|
@@ -146,7 +146,7 @@ module MasterCard
|
|
146
146
|
end
|
147
147
|
end
|
148
148
|
|
149
|
-
return self.execute("
|
149
|
+
return self.execute("2ee8dec7-7a7e-4533-aa73-80d716f8aaba", mapObj)
|
150
150
|
end
|
151
151
|
|
152
152
|
|
@@ -159,7 +159,7 @@ module MasterCard
|
|
159
159
|
#@raise [APIException] an exception from the response status
|
160
160
|
#
|
161
161
|
|
162
|
-
return self.class.execute("
|
162
|
+
return self.class.execute("2ee8dec7-7a7e-4533-aa73-80d716f8aaba", self)
|
163
163
|
end
|
164
164
|
|
165
165
|
|
@@ -172,7 +172,7 @@ module MasterCard
|
|
172
172
|
#@param Dict mapObj, containing the required parameters to create a new object
|
173
173
|
#@return [Card] of the response of created instance.
|
174
174
|
#@raise [APIException] an exception from the response status
|
175
|
-
return self.execute("
|
175
|
+
return self.execute("92dccd41-bec2-45ee-a449-93d0230796b8", Card.new(mapObj))
|
176
176
|
end
|
177
177
|
|
178
178
|
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'd06f1b1a-a494-4d55-bdbe-26cfbc803108' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/channels", "delete", [], []),
|
41
|
+
'23f7599a-3a5d-4dbc-b9f4-698501d3e958' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/channels", "query", [], []),
|
42
|
+
'9339799c-f25d-4da6-b138-bfcccde6a521' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/channels", "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("d06f1b1a-a494-4d55-bdbe-26cfbc803108", 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("d06f1b1a-a494-4d55-bdbe-26cfbc803108", 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("23f7599a-3a5d-4dbc-b9f4-698501d3e958",Channel.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 [Channel] of the response of created instance.
|
128
128
|
#@raise [APIException] an exception from the response status
|
129
|
-
return self.execute("
|
129
|
+
return self.execute("9339799c-f25d-4da6-b138-bfcccde6a521", Channel.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
|
+
'6f4fbdb1-b67f-49ca-9e32-22aceafbdd1c' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/channels", "delete", [], []),
|
41
|
+
'35bbb26a-4083-4837-b846-858da34a10fb' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/channels", "query", [], []),
|
42
|
+
'39186fe3-fd90-4811-9038-9ce8c9bf4d09' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/channels", "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("6f4fbdb1-b67f-49ca-9e32-22aceafbdd1c", 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("6f4fbdb1-b67f-49ca-9e32-22aceafbdd1c", 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("35bbb26a-4083-4837-b846-858da34a10fb",Channeldecline.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 [Channeldecline] of the response of created instance.
|
128
128
|
#@raise [APIException] an exception from the response status
|
129
|
-
return self.execute("
|
129
|
+
return self.execute("39186fe3-fd90-4811-9038-9ce8c9bf4d09", Channeldecline.new(mapObj))
|
130
130
|
end
|
131
131
|
|
132
132
|
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'a4bc0cd2-b416-4a8f-88c4-c063a571a413' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/filters", "query", [], []),
|
41
|
+
'97a166fe-e3be-4478-bd82-67c12af4fb83' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/filters", "create", [], []),
|
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
|
@@ -71,7 +71,7 @@ module MasterCard
|
|
71
71
|
#@raise [APIException] an exception from the response status
|
72
72
|
#
|
73
73
|
|
74
|
-
return self.execute("
|
74
|
+
return self.execute("a4bc0cd2-b416-4a8f-88c4-c063a571a413",Combinationctrlsalertresource.new(criteria))
|
75
75
|
end
|
76
76
|
|
77
77
|
|
@@ -82,7 +82,7 @@ module MasterCard
|
|
82
82
|
#@param Dict mapObj, containing the required parameters to create a new object
|
83
83
|
#@return [Combinationctrlsalertresource] of the response of created instance.
|
84
84
|
#@raise [APIException] an exception from the response status
|
85
|
-
return self.execute("
|
85
|
+
return self.execute("97a166fe-e3be-4478-bd82-67c12af4fb83", Combinationctrlsalertresource.new(mapObj))
|
86
86
|
end
|
87
87
|
|
88
88
|
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'3473f917-df86-439a-93ef-12a7226aef4c' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/filters/{filterId}", "delete", [], []),
|
41
|
+
'05d02262-b531-4737-a2aa-672fd1eec41b' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/filters/{filterId}", "read", [], []),
|
42
|
+
'a0495e0d-0f88-482e-997d-a2157d89962c' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/filters/{filterId}", "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("3473f917-df86-439a-93ef-12a7226aef4c", 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("3473f917-df86-439a-93ef-12a7226aef4c", self)
|
100
100
|
end
|
101
101
|
|
102
102
|
|
@@ -126,7 +126,7 @@ module MasterCard
|
|
126
126
|
end
|
127
127
|
end
|
128
128
|
|
129
|
-
return self.execute("
|
129
|
+
return self.execute("05d02262-b531-4737-a2aa-672fd1eec41b",CombinationctrlsalertresourcefilterId.new(mapObj))
|
130
130
|
end
|
131
131
|
|
132
132
|
|
@@ -138,7 +138,7 @@ module MasterCard
|
|
138
138
|
#@param Dict mapObj, containing the required parameters to create a new object
|
139
139
|
#@return [CombinationctrlsalertresourcefilterId] of the response of created instance.
|
140
140
|
#@raise [APIException] an exception from the response status
|
141
|
-
return self.execute("
|
141
|
+
return self.execute("a0495e0d-0f88-482e-997d-a2157d89962c", CombinationctrlsalertresourcefilterId.new(mapObj))
|
142
142
|
end
|
143
143
|
|
144
144
|
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'2d8a2288-3de4-41f7-ab1a-4ad8c9e94749' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/filters", "create", [], []),
|
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
|
@@ -64,7 +64,7 @@ module MasterCard
|
|
64
64
|
#@param Dict mapObj, containing the required parameters to create a new object
|
65
65
|
#@return [Combinationctrlsdeclineresource] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("2d8a2288-3de4-41f7-ab1a-4ad8c9e94749", Combinationctrlsdeclineresource.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'0a50f1cb-c4da-423a-93a6-48dca27711b9' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/filters/{filterId}", "delete", [], []),
|
41
|
+
'065d0622-d1d9-4fea-aa85-35dcfc92c77e' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/filters/{filterId}", "read", [], []),
|
42
|
+
'5f27db42-b94f-42cd-90b0-a5d96f375c42' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/filters/{filterId}", "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("0a50f1cb-c4da-423a-93a6-48dca27711b9", 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("0a50f1cb-c4da-423a-93a6-48dca27711b9", self)
|
100
100
|
end
|
101
101
|
|
102
102
|
|
@@ -126,7 +126,7 @@ module MasterCard
|
|
126
126
|
end
|
127
127
|
end
|
128
128
|
|
129
|
-
return self.execute("
|
129
|
+
return self.execute("065d0622-d1d9-4fea-aa85-35dcfc92c77e",CombinationctrlsdeclineresourcefilterId.new(mapObj))
|
130
130
|
end
|
131
131
|
|
132
132
|
|
@@ -138,7 +138,7 @@ module MasterCard
|
|
138
138
|
#@param Dict mapObj, containing the required parameters to create a new object
|
139
139
|
#@return [CombinationctrlsdeclineresourcefilterId] of the response of created instance.
|
140
140
|
#@raise [APIException] an exception from the response status
|
141
|
-
return self.execute("
|
141
|
+
return self.execute("5f27db42-b94f-42cd-90b0-a5d96f375c42", CombinationctrlsdeclineresourcefilterId.new(mapObj))
|
142
142
|
end
|
143
143
|
|
144
144
|
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'31a96174-51a2-457c-a3f0-272a1b256384' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/filters", "query", [], []),
|
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("31a96174-51a2-457c-a3f0-272a1b256384",Combinationctrlsdeclinesresource.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
|
+
'c79b0b52-cd2e-4812-b82f-3213545f77b9' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls", "delete", [], []),
|
41
|
+
'0cd0293d-1bda-4b42-9dcb-946fc0a2d507' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls", "query", [], []),
|
42
|
+
'cdf0aaeb-133c-48bb-b739-93a6238076cd' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls", "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("c79b0b52-cd2e-4812-b82f-3213545f77b9", 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("c79b0b52-cd2e-4812-b82f-3213545f77b9", 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("0cd0293d-1bda-4b42-9dcb-946fc0a2d507",Controls.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 [Controls] of the response of created instance.
|
128
128
|
#@raise [APIException] an exception from the response status
|
129
|
-
return self.execute("
|
129
|
+
return self.execute("cdf0aaeb-133c-48bb-b739-93a6238076cd", Controls.new(mapObj))
|
130
130
|
end
|
131
131
|
|
132
132
|
|