mastercard_spendcontrols 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mastercard/api/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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efcc87f380168b0fb30f64d13b2e20e5d16d46fe
|
4
|
+
data.tar.gz: f58242014c00ab22fcb8b0606c9def1db6d556e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e28b932ef1deba44d4e9f07bcd9ed39494801417cdd6131ba0d84df8da78131614672dce4ddbcaad47bea66a835a9544ea21e85385398fbf59d43b2f8c994a9c
|
7
|
+
data.tar.gz: 922d8db2dcf5cd9decb97f6a111465d4763becc4f072ca2e925038c366b780ea759522d69a0ad273e07769da8f3153fcb293994fb32d5002614bbbd9078d2895
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'5df57269-5291-4a8c-a95a-f625b080bd6f' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/all", "delete", [], []),
|
41
|
+
'a2a1d6ad-2a9f-4501-b3ae-8e054b12c3fa' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/all", "query", [], []),
|
42
|
+
'4fdb5735-be42-40b9-97b3-0740ff2764f1' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/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("5df57269-5291-4a8c-a95a-f625b080bd6f", 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("5df57269-5291-4a8c-a95a-f625b080bd6f", 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("a2a1d6ad-2a9f-4501-b3ae-8e054b12c3fa",Alertall.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 [Alertall] of the response of created instance.
|
128
128
|
#@raise [APIException] an exception from the response status
|
129
|
-
return self.execute("
|
129
|
+
return self.execute("4fdb5735-be42-40b9-97b3-0740ff2764f1", Alertall.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
|
+
'3ad690fc-483b-4b80-898b-6d88e3649710' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts", "delete", [], []),
|
41
|
+
'e22a0c33-12f1-4e39-be4e-62eafdd4cef3' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts", "query", [], []),
|
42
|
+
'72b0e6b3-6ee2-4643-b3ae-d81e693b4589' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts", "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("3ad690fc-483b-4b80-898b-6d88e3649710", 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("3ad690fc-483b-4b80-898b-6d88e3649710", 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("e22a0c33-12f1-4e39-be4e-62eafdd4cef3",Alerts.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 [Alerts] of the response of created instance.
|
128
128
|
#@raise [APIException] an exception from the response status
|
129
|
-
return self.execute("
|
129
|
+
return self.execute("72b0e6b3-6ee2-4643-b3ae-d81e693b4589", Alerts.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
|
+
'c42f8f08-91af-4d62-8b49-091ad873e5db' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/transactionamount", "delete", [], []),
|
41
|
+
'03552b45-d116-4a2a-b344-09451fa5d352' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/transactionamount", "query", [], []),
|
42
|
+
'59e0e72f-31dd-4eab-aaa5-27529e79fa08' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/transactionamount", "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("c42f8f08-91af-4d62-8b49-091ad873e5db", 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("c42f8f08-91af-4d62-8b49-091ad873e5db", 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("03552b45-d116-4a2a-b344-09451fa5d352",Amount.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 [Amount] of the response of created instance.
|
128
128
|
#@raise [APIException] an exception from the response status
|
129
|
-
return self.execute("
|
129
|
+
return self.execute("59e0e72f-31dd-4eab-aaa5-27529e79fa08", Amount.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
|
+
'a396688a-ade6-41bd-8cee-bb06c45956a4' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/transactionamount", "create", [], []),
|
41
|
+
'8535f26d-04dd-4cc2-a1ed-42dfc7ea7ee3' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/transactionamount", "delete", [], []),
|
42
|
+
'bc8a7e59-c8f0-483a-8ad1-5986f08b28fc' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/transactionamount", "query", [], []),
|
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 [Amountdecline] of the response of created instance.
|
68
68
|
#@raise [APIException] an exception from the response status
|
69
|
-
return self.execute("
|
69
|
+
return self.execute("a396688a-ade6-41bd-8cee-bb06c45956a4", Amountdecline.new(mapObj))
|
70
70
|
end
|
71
71
|
|
72
72
|
|
@@ -99,7 +99,7 @@ module MasterCard
|
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
|
-
return self.execute("
|
102
|
+
return self.execute("8535f26d-04dd-4cc2-a1ed-42dfc7ea7ee3", mapObj)
|
103
103
|
end
|
104
104
|
|
105
105
|
|
@@ -112,7 +112,7 @@ module MasterCard
|
|
112
112
|
#@raise [APIException] an exception from the response status
|
113
113
|
#
|
114
114
|
|
115
|
-
return self.class.execute("
|
115
|
+
return self.class.execute("8535f26d-04dd-4cc2-a1ed-42dfc7ea7ee3", self)
|
116
116
|
end
|
117
117
|
|
118
118
|
|
@@ -131,7 +131,7 @@ module MasterCard
|
|
131
131
|
#@raise [APIException] an exception from the response status
|
132
132
|
#
|
133
133
|
|
134
|
-
return self.execute("
|
134
|
+
return self.execute("bc8a7e59-c8f0-483a-8ad1-5986f08b28fc",Amountdecline.new(criteria))
|
135
135
|
end
|
136
136
|
|
137
137
|
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'59460de1-9c35-4de0-bfec-83d22aa181c9' => OperationConfig.new("/issuer/spendcontrols/v1/controls/batch", "create", [], []),
|
41
|
+
'e8c5c08f-1ea8-41e0-b65a-b2828f9c4d7c' => OperationConfig.new("/issuer/spendcontrols/v1/controls/batch/{batchId}", "read", [], []),
|
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 [Batch] of the response of created instance.
|
67
67
|
#@raise [APIException] an exception from the response status
|
68
|
-
return self.execute("
|
68
|
+
return self.execute("59460de1-9c35-4de0-bfec-83d22aa181c9", Batch.new(mapObj))
|
69
69
|
end
|
70
70
|
|
71
71
|
|
@@ -98,7 +98,7 @@ module MasterCard
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
-
return self.execute("
|
101
|
+
return self.execute("e8c5c08f-1ea8-41e0-b65a-b2828f9c4d7c",Batch.new(mapObj))
|
102
102
|
end
|
103
103
|
|
104
104
|
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'9201dbae-1503-4b1b-be2c-8c7807647478' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/budgets", "query", [], []),
|
41
|
+
'e00f560e-d7e7-4dfd-b9c3-5f34090a0bf7' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/budgets", "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("9201dbae-1503-4b1b-be2c-8c7807647478",Budgetalert.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 [Budgetalert] of the response of created instance.
|
84
84
|
#@raise [APIException] an exception from the response status
|
85
|
-
return self.execute("
|
85
|
+
return self.execute("e00f560e-d7e7-4dfd-b9c3-5f34090a0bf7", Budgetalert.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
|
+
'e691a084-a377-43b5-9676-bb8bbb3b998e' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/budgets/{budgetId}", "delete", [], []),
|
41
|
+
'f8cb600b-fe93-4345-9619-e4f208489d79' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/budgets/{budgetId}", "read", [], []),
|
42
|
+
'415cbead-b9e3-4674-8e04-b1586eb65412' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/budgets/{budgetId}", "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("e691a084-a377-43b5-9676-bb8bbb3b998e", 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("e691a084-a377-43b5-9676-bb8bbb3b998e", 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("f8cb600b-fe93-4345-9619-e4f208489d79",BudgetalertwithbudgetId.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 [BudgetalertwithbudgetId] of the response of created instance.
|
140
140
|
#@raise [APIException] an exception from the response status
|
141
|
-
return self.execute("
|
141
|
+
return self.execute("415cbead-b9e3-4674-8e04-b1586eb65412", BudgetalertwithbudgetId.new(mapObj))
|
142
142
|
end
|
143
143
|
|
144
144
|
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'c576d61c-266f-49e7-8bce-5942540a7c94' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/budgets", "query", [], []),
|
41
|
+
'c8d552c9-7a9d-4669-87cd-0b7203bb3ac8' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/budgets", "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("c576d61c-266f-49e7-8bce-5942540a7c94",Budgetdecline.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 [Budgetdecline] of the response of created instance.
|
84
84
|
#@raise [APIException] an exception from the response status
|
85
|
-
return self.execute("
|
85
|
+
return self.execute("c8d552c9-7a9d-4669-87cd-0b7203bb3ac8", Budgetdecline.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
|
+
'f55a2eaa-e569-4577-bb30-61643cf12cda' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/budgets/{budgetId}", "delete", [], []),
|
41
|
+
'2d9379d5-19c9-4953-ab73-1893c98d8ea4' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/budgets/{budgetId}", "read", [], []),
|
42
|
+
'bfadcc8f-6bf9-4dba-9ecf-637564fbe8e2' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/budgets/{budgetId}", "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("f55a2eaa-e569-4577-bb30-61643cf12cda", 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("f55a2eaa-e569-4577-bb30-61643cf12cda", 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("2d9379d5-19c9-4953-ab73-1893c98d8ea4",BudgetdeclinewithbudgetId.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 [BudgetdeclinewithbudgetId] of the response of created instance.
|
140
140
|
#@raise [APIException] an exception from the response status
|
141
|
-
return self.execute("
|
141
|
+
return self.execute("bfadcc8f-6bf9-4dba-9ecf-637564fbe8e2", BudgetdeclinewithbudgetId.new(mapObj))
|
142
142
|
end
|
143
143
|
|
144
144
|
|