mastercard_spendalerts 1.0.4 → 1.0.5
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/spendalerts/alerts.rb +8 -8
- data/lib/mastercard/api/spendalerts/amount.rb +8 -8
- data/lib/mastercard/api/spendalerts/batch.rb +5 -5
- data/lib/mastercard/api/spendalerts/card.rb +12 -12
- data/lib/mastercard/api/spendalerts/channel.rb +8 -8
- data/lib/mastercard/api/spendalerts/controls.rb +8 -8
- data/lib/mastercard/api/spendalerts/controlshistory.rb +3 -3
- data/lib/mastercard/api/spendalerts/crossborder.rb +8 -8
- data/lib/mastercard/api/spendalerts/declineall.rb +8 -8
- data/lib/mastercard/api/spendalerts/declines.rb +8 -8
- data/lib/mastercard/api/spendalerts/notification.rb +3 -3
- data/lib/mastercard/api/spendalerts/resourceconfig.rb +7 -6
- data/lib/mastercard/api/spendalerts/txnhistory.rb +3 -3
- data/lib/mastercard/api/spendalerts/verify.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ccd754123a6fdf94e2853225142ee1c1fd52e3b
|
4
|
+
data.tar.gz: 20975cb5eb4084319ea1d7e511364edbe9cbbb45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91d9e3be508c1fb9c716dc6a1cefe67fbe8534a4c96260bcd87b2b68af8f4bd7519a3d98b9791de048449bab4ccecae1a4fbe670fa535c03839f6e3622782712
|
7
|
+
data.tar.gz: 14765c4909c668e2b5a3085e1815b0e93d0f6b348d3417b8224b60092b401590282a125670ce9b528bf337001004ed93c5edb388908f403c42dd859b2143aacc
|
@@ -37,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'2ce66cc2-f316-4c9c-942b-baf9a6e70bc0' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts", "delete", [], []),
|
41
|
+
'da8943bf-5579-4a3f-8803-9d35134675ec' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts", "query", [], []),
|
42
|
+
'ca359014-fec8-40bb-a44b-0510ca7fc434' => OperationConfig.new("/issuer/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("2ce66cc2-f316-4c9c-942b-baf9a6e70bc0", 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("2ce66cc2-f316-4c9c-942b-baf9a6e70bc0", 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("da8943bf-5579-4a3f-8803-9d35134675ec",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("ca359014-fec8-40bb-a44b-0510ca7fc434", 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
|
+
'818c7af3-237c-4e5a-9f6d-1201743b9ca3' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/transactionamount", "delete", [], []),
|
41
|
+
'8e1e4676-d0b7-4309-afa9-bcb18bed7950' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/transactionamount", "query", [], []),
|
42
|
+
'0ec5559c-ba8d-4aa8-8777-f9dfdf60f4e7' => OperationConfig.new("/issuer/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("818c7af3-237c-4e5a-9f6d-1201743b9ca3", 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("818c7af3-237c-4e5a-9f6d-1201743b9ca3", 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("8e1e4676-d0b7-4309-afa9-bcb18bed7950",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("0ec5559c-ba8d-4aa8-8777-f9dfdf60f4e7", Amount.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
|
+
'ebbc7405-add1-46ac-8ca9-a670a704936a' => OperationConfig.new("/issuer/v1/controls/batch", "create", [], []),
|
41
|
+
'ea657993-4941-4741-aad1-ad4a9360113d' => OperationConfig.new("/issuer/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("ebbc7405-add1-46ac-8ca9-a670a704936a", 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("ea657993-4941-4741-aad1-ad4a9360113d",Batch.new(mapObj))
|
102
102
|
end
|
103
103
|
|
104
104
|
|
@@ -37,11 +37,11 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'
|
40
|
+
'2b404797-1c49-454c-84c5-685ff356c407' => OperationConfig.new("/issuer/v1/card", "create", [], []),
|
41
|
+
'b4e11c2a-076c-420f-be39-eddc8106f4bb' => OperationConfig.new("/issuer/v1/card/{uuid}", "read", [], []),
|
42
|
+
'cf7c62bb-42e5-4278-8df1-353be4b73aca' => OperationConfig.new("/issuer/v1/card/uuid", "create", [], []),
|
43
|
+
'61f7941f-c48e-4190-8ccc-90873bb231d4' => OperationConfig.new("/issuer/v1/card/{uuid}", "delete", [], []),
|
44
|
+
'77b2ac15-cfc0-4b7e-8ae3-8d7ad464e691' => OperationConfig.new("/issuer/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("2b404797-1c49-454c-84c5-685ff356c407", 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("b4e11c2a-076c-420f-be39-eddc8106f4bb",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("cf7c62bb-42e5-4278-8df1-353be4b73aca", 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("61f7941f-c48e-4190-8ccc-90873bb231d4", 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("61f7941f-c48e-4190-8ccc-90873bb231d4", 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("77b2ac15-cfc0-4b7e-8ae3-8d7ad464e691", 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
|
+
'50145155-4931-4083-955b-81020478d7c6' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/channels", "delete", [], []),
|
41
|
+
'6ae66fd1-53a5-40c7-8487-5aa957d6a4ca' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/channels", "query", [], []),
|
42
|
+
'3d421b09-bc89-48c9-973e-85e6f806caec' => OperationConfig.new("/issuer/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("50145155-4931-4083-955b-81020478d7c6", 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("50145155-4931-4083-955b-81020478d7c6", 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("6ae66fd1-53a5-40c7-8487-5aa957d6a4ca",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("3d421b09-bc89-48c9-973e-85e6f806caec", 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
|
+
'a2fa3dd1-d155-4236-ae68-16281f194d6e' => OperationConfig.new("/issuer/v1/card/{uuid}/controls", "delete", [], []),
|
41
|
+
'cc41d5bd-0234-482f-9379-495567ce2d69' => OperationConfig.new("/issuer/v1/card/{uuid}/controls", "query", [], []),
|
42
|
+
'9b37b997-0fe3-4855-9964-2ea9c8833f83' => OperationConfig.new("/issuer/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("a2fa3dd1-d155-4236-ae68-16281f194d6e", 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("a2fa3dd1-d155-4236-ae68-16281f194d6e", 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("cc41d5bd-0234-482f-9379-495567ce2d69",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("9b37b997-0fe3-4855-9964-2ea9c8833f83", Controls.new(mapObj))
|
130
130
|
end
|
131
131
|
|
132
132
|
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'a329618a-9f96-4b75-93f6-24386aa8a230' => OperationConfig.new("/issuer/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("a329618a-9f96-4b75-93f6-24386aa8a230",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
|
+
'2a8abafc-a035-4f3d-84d3-37824ebb0d5a' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/crossborder", "delete", [], []),
|
41
|
+
'9d8557ad-e50e-4238-b0f7-3e6b5c4a8a6b' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/crossborder", "query", [], []),
|
42
|
+
'a75ff98f-6014-49d7-a787-707c81ce71ac' => OperationConfig.new("/issuer/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("2a8abafc-a035-4f3d-84d3-37824ebb0d5a", 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("2a8abafc-a035-4f3d-84d3-37824ebb0d5a", 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("9d8557ad-e50e-4238-b0f7-3e6b5c4a8a6b",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("a75ff98f-6014-49d7-a787-707c81ce71ac", 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
|
+
'f5580758-1176-4541-8fba-9d02ce214abf' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines/all", "delete", [], []),
|
41
|
+
'081c61a9-d889-4663-b876-b6fb2a221618' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines/all", "query", [], []),
|
42
|
+
'dcf37b8f-ea91-47a2-9d20-6a5d86c18f29' => OperationConfig.new("/issuer/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("f5580758-1176-4541-8fba-9d02ce214abf", 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("f5580758-1176-4541-8fba-9d02ce214abf", 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("081c61a9-d889-4663-b876-b6fb2a221618",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("dcf37b8f-ea91-47a2-9d20-6a5d86c18f29", 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
|
+
'be4609a8-8457-4f7b-b16a-99977946a103' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines", "delete", [], []),
|
41
|
+
'2e760936-8f97-4739-96f8-59209f1d8cf0' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines", "query", [], []),
|
42
|
+
'a80f5332-dac3-4e69-b781-58cdb66a3f8e' => OperationConfig.new("/issuer/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("be4609a8-8457-4f7b-b16a-99977946a103", 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("be4609a8-8457-4f7b-b16a-99977946a103", 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("2e760936-8f97-4739-96f8-59209f1d8cf0",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("a80f5332-dac3-4e69-b781-58cdb66a3f8e", Declines.new(mapObj))
|
130
130
|
end
|
131
131
|
|
132
132
|
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'aac5c5c5-d16a-4025-8cfa-f5659033ff11' => OperationConfig.new("/issuer/v1/test/notificationUrl", "create", ["x-request-endpoint-uri"], []),
|
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 [Notification] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("aac5c5c5-d16a-4025-8cfa-f5659033ff11", Notification.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|
@@ -37,12 +37,9 @@ module MasterCard
|
|
37
37
|
@@instance = nil
|
38
38
|
|
39
39
|
def initialize
|
40
|
-
@name = "spendalerts"
|
41
40
|
@override = nil
|
42
41
|
@host = nil
|
43
42
|
@context = nil
|
44
|
-
@version = "spendalerts:1.0.4"
|
45
|
-
@jsonNative = false
|
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
|
57
|
+
return "spendalerts"
|
61
58
|
end
|
62
59
|
|
63
60
|
|
@@ -74,11 +71,15 @@ module MasterCard
|
|
74
71
|
end
|
75
72
|
|
76
73
|
def getVersion
|
77
|
-
return
|
74
|
+
return "spendalerts:1.0.5"
|
78
75
|
end
|
79
76
|
|
80
77
|
def getJsonNative
|
81
|
-
return
|
78
|
+
return false
|
79
|
+
end
|
80
|
+
|
81
|
+
def getContentTypeOverride
|
82
|
+
return nil
|
82
83
|
end
|
83
84
|
|
84
85
|
def setEnvironment(environmet)
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'630484e4-fdc1-4d49-94b7-efcb9d092174' => OperationConfig.new("/issuer/v1/card/{uuid}/transactions", "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("630484e4-fdc1-4d49-94b7-efcb9d092174",Txnhistory.new(criteria))
|
74
74
|
end
|
75
75
|
|
76
76
|
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'e03bba59-f9c9-4d6b-be5c-7927817852a3' => OperationConfig.new("/issuer/v1/card/verify/{uuid}", "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 [Verify] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("e03bba59-f9c9-4d6b-be5c-7927817852a3", Verify.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mastercard_spendalerts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MasterCard Worldwide
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mastercard_api_core
|