mastercard_spendalerts 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dec5d8f2673f6a77e71c2a8e54e73c640dd1eb2a
4
- data.tar.gz: f8d29afcf101078f4db13e191f45e027fe23fd43
3
+ metadata.gz: a34a41f7ce0a09ec1df0a967c560b49fc3d47082
4
+ data.tar.gz: 65094aec5982b4ddbfd5d1e291b1a4a62bc668b6
5
5
  SHA512:
6
- metadata.gz: 4a7b8c828fc7605bbddbca4d3e2fb2c43ecb5b204d324b431f2c311597b9cac830d80ba3c0a0ab08aacc43965a6cc8f1bf466f3b39696adeaad07901d2ec2f87
7
- data.tar.gz: 0b538a66f0e5580da8fcd2e79f2dc85b82d92ddea188abb2e8c6d2ddc9608ca0519215d100bf03da5d9994639ca405d885f4876cb726ea0a0a2e6a1b63792d7e
6
+ metadata.gz: 2fcb99859466501665d898fecf6dd68661f63b7f4bf46b6c7eba9b5905660d10bab7ffb70cd32b9f5042cb7e80dfbceb96000867bd3dedf0777453277e510bfb
7
+ data.tar.gz: 02fea30040149a6c92cf65233b2606cd6fb98269b0fb5ca33787008454f3b92c2e36003474b95fdbeaf2093adea797c574a4e9b06ff5b5d0d4bc9ea28186fbe0
@@ -37,23 +37,23 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'b3233a53-80e2-4523-93f5-a6ee75952f4c' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts", "delete", [], []),
41
- 'b608eda9-1f1a-4068-a747-2325799ade0b' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts", "query", [], []),
42
- 'a42ce6c7-4ad2-4bfc-8106-e64707c0ab73' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts", "create", [], []),
40
+ 'f736b85f-af1e-4e22-9ab5-292064103cd3' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts", "delete", [], []),
41
+ '50b2535e-90d9-4cc1-a934-7a23209556ab' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts", "query", [], []),
42
+ '898b144e-d37b-46de-a023-291dfdc5fb8f' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts", "create", [], []),
43
43
 
44
44
  }
45
45
 
46
46
  protected
47
47
 
48
- def self.getOperationConfig(uuid)
49
- if @__store.key?(uuid)
50
- return @__store[uuid]
48
+ def self.getOperationConfig(operationUUID)
49
+ if @__store.key?(operationUUID)
50
+ return @__store[operationUUID]
51
51
  end
52
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
52
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
53
53
  end
54
54
 
55
55
  def self.getOperationMetadata()
56
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
56
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
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("b3233a53-80e2-4523-93f5-a6ee75952f4c", mapObj)
86
+ return self.execute("f736b85f-af1e-4e22-9ab5-292064103cd3", 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("b3233a53-80e2-4523-93f5-a6ee75952f4c", self)
99
+ return self.class.execute("f736b85f-af1e-4e22-9ab5-292064103cd3", 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("b608eda9-1f1a-4068-a747-2325799ade0b",Alerts.new(criteria))
118
+ return self.execute("50b2535e-90d9-4cc1-a934-7a23209556ab",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("a42ce6c7-4ad2-4bfc-8106-e64707c0ab73", Alerts.new(mapObj))
129
+ return self.execute("898b144e-d37b-46de-a023-291dfdc5fb8f", Alerts.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,23 +37,23 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '9b245c27-f926-4f62-a706-9ea42a4eef22' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/transactionamount", "delete", [], []),
41
- 'edf6241c-46ed-4496-893d-98b69de39318' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/transactionamount", "query", [], []),
42
- 'b181a686-ecd2-4a0b-85b1-99beaede1e7f' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/transactionamount", "create", [], []),
40
+ '0a958926-e92f-414c-aa0f-2ecc07672eeb' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/transactionamount", "delete", [], []),
41
+ 'b55b9135-a9fe-4a9b-863f-fef686378fe6' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/transactionamount", "query", [], []),
42
+ '713f5d69-f226-4973-adb9-2f6368ac572a' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/transactionamount", "create", [], []),
43
43
 
44
44
  }
45
45
 
46
46
  protected
47
47
 
48
- def self.getOperationConfig(uuid)
49
- if @__store.key?(uuid)
50
- return @__store[uuid]
48
+ def self.getOperationConfig(operationUUID)
49
+ if @__store.key?(operationUUID)
50
+ return @__store[operationUUID]
51
51
  end
52
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
52
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
53
53
  end
54
54
 
55
55
  def self.getOperationMetadata()
56
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
56
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
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("9b245c27-f926-4f62-a706-9ea42a4eef22", mapObj)
86
+ return self.execute("0a958926-e92f-414c-aa0f-2ecc07672eeb", 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("9b245c27-f926-4f62-a706-9ea42a4eef22", self)
99
+ return self.class.execute("0a958926-e92f-414c-aa0f-2ecc07672eeb", 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("edf6241c-46ed-4496-893d-98b69de39318",Amount.new(criteria))
118
+ return self.execute("b55b9135-a9fe-4a9b-863f-fef686378fe6",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("b181a686-ecd2-4a0b-85b1-99beaede1e7f", Amount.new(mapObj))
129
+ return self.execute("713f5d69-f226-4973-adb9-2f6368ac572a", Amount.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -0,0 +1,116 @@
1
+ #
2
+ # Copyright (c) 2016 MasterCard International Incorporated
3
+ # All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without modification, are
6
+ # permitted provided that the following conditions are met:
7
+ #
8
+ # Redistributions of source code must retain the above copyright notice, this list of
9
+ # conditions and the following disclaimer.
10
+ # Redistributions in binary form must reproduce the above copyright notice, this list of
11
+ # conditions and the following disclaimer in the documentation and/or other materials
12
+ # provided with the distribution.
13
+ # Neither the name of the MasterCard International Incorporated nor the names of its
14
+ # contributors may be used to endorse or promote products derived from this software
15
+ # without specific prior written permission.
16
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
17
+ # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18
+ # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
19
+ # SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
21
+ # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22
+ # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
23
+ # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
24
+ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25
+ # SUCH DAMAGE.
26
+ #
27
+
28
+
29
+ require "mastercard/core/model"
30
+ require "mastercard/core/baseobject"
31
+
32
+ module MasterCard
33
+ module API
34
+ module Spendalerts
35
+ class Batch < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ 'a27449a6-a2c4-4a2b-86b2-d9effd355383' => OperationConfig.new("/issuer/v1/controls/batch", "create", [], []),
41
+ '37ff1413-51a6-4255-a019-835c3146b331' => OperationConfig.new("/issuer/v1/controls/batch/{batchId}", "read", [], []),
42
+
43
+ }
44
+
45
+ protected
46
+
47
+ def self.getOperationConfig(operationUUID)
48
+ if @__store.key?(operationUUID)
49
+ return @__store[operationUUID]
50
+ end
51
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
52
+ end
53
+
54
+ def self.getOperationMetadata()
55
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
56
+ end
57
+
58
+ public
59
+
60
+
61
+ def self.create(mapObj)
62
+ #
63
+ #Creates object of type Batch
64
+ #
65
+ #@param Dict mapObj, containing the required parameters to create a new object
66
+ #@return [Batch] of the response of created instance.
67
+ #@raise [APIException] an exception from the response status
68
+ return self.execute("a27449a6-a2c4-4a2b-86b2-d9effd355383", Batch.new(mapObj))
69
+ end
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+ def self.read(id, criteria = nil)
82
+ #
83
+ #Returns objects of type Batch by id and optional criteria
84
+ #@param [String] id
85
+ #@param [Dict] criteria
86
+ #@return [Batch] object representing the response
87
+ #@raise [APIException] an exception from the response status
88
+
89
+ mapObj = Batch.new
90
+ if !(id.nil? || id.to_s.empty?)
91
+ mapObj.set("id", id)
92
+ end
93
+ if !criteria.nil?
94
+ if criteria.instance_of? RequestMap
95
+ mapObj.setAll(criteria.getObject())
96
+ else
97
+ mapObj.setAll(criteria)
98
+ end
99
+ end
100
+
101
+ return self.execute("37ff1413-51a6-4255-a019-835c3146b331",Batch.new(mapObj))
102
+ end
103
+
104
+
105
+
106
+ end
107
+ end
108
+ end
109
+ end
110
+
111
+
112
+
113
+
114
+
115
+
116
+
@@ -37,24 +37,25 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '8e0e7c35-3311-48f1-9357-59d2a84339c0' => OperationConfig.new("/issuer/v1/card", "create", [], []),
41
- '236caeea-a2fd-461b-b1de-4f4527a5f81c' => OperationConfig.new("/issuer/v1/card/uuid", "create", [], []),
42
- 'f7245020-226a-4c9c-aa56-48d3f273e928' => OperationConfig.new("/issuer/v1/card/{uuid}", "delete", [], []),
43
- '26737bc6-218d-486c-8669-49442340858a' => OperationConfig.new("/issuer/v1/card/{uuid}", "create", [], []),
40
+ 'b903e38f-46a2-4cd2-89b0-2ee25949ba85' => OperationConfig.new("/issuer/v1/card", "create", [], []),
41
+ '6dd271cf-36f7-4d84-b0e2-8dbb1e1839e9' => OperationConfig.new("/issuer/v1/card/{uuid}", "read", [], []),
42
+ 'd3429227-cc95-4bb5-92db-1ce5881a2605' => OperationConfig.new("/issuer/v1/card/uuid", "create", [], []),
43
+ '3c6ac5c7-e623-4f60-9159-f786fbdaa136' => OperationConfig.new("/issuer/v1/card/{uuid}", "delete", [], []),
44
+ 'b616ddee-bb56-4bad-ad29-55753a0ab297' => OperationConfig.new("/issuer/v1/card/{uuid}", "create", [], []),
44
45
 
45
46
  }
46
47
 
47
48
  protected
48
49
 
49
- def self.getOperationConfig(uuid)
50
- if @__store.key?(uuid)
51
- return @__store[uuid]
50
+ def self.getOperationConfig(operationUUID)
51
+ if @__store.key?(operationUUID)
52
+ return @__store[operationUUID]
52
53
  end
53
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
54
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
54
55
  end
55
56
 
56
57
  def self.getOperationMetadata()
57
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
58
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
58
59
  end
59
60
 
60
61
  public
@@ -67,7 +68,7 @@ module MasterCard
67
68
  #@param Dict mapObj, containing the required parameters to create a new object
68
69
  #@return [Card] of the response of created instance.
69
70
  #@raise [APIException] an exception from the response status
70
- return self.execute("8e0e7c35-3311-48f1-9357-59d2a84339c0", Card.new(mapObj))
71
+ return self.execute("b903e38f-46a2-4cd2-89b0-2ee25949ba85", Card.new(mapObj))
71
72
  end
72
73
 
73
74
 
@@ -76,6 +77,35 @@ module MasterCard
76
77
 
77
78
 
78
79
 
80
+
81
+
82
+
83
+
84
+ def self.retrievePan(id, criteria = nil)
85
+ #
86
+ #Returns objects of type Card by id and optional criteria
87
+ #@param [String] id
88
+ #@param [Dict] criteria
89
+ #@return [Card] object representing the response
90
+ #@raise [APIException] an exception from the response status
91
+
92
+ mapObj = Card.new
93
+ if !(id.nil? || id.to_s.empty?)
94
+ mapObj.set("id", id)
95
+ end
96
+ if !criteria.nil?
97
+ if criteria.instance_of? RequestMap
98
+ mapObj.setAll(criteria.getObject())
99
+ else
100
+ mapObj.setAll(criteria)
101
+ end
102
+ end
103
+
104
+ return self.execute("6dd271cf-36f7-4d84-b0e2-8dbb1e1839e9",Card.new(mapObj))
105
+ end
106
+
107
+
108
+
79
109
  def self.read(mapObj)
80
110
  #
81
111
  #Creates object of type Card
@@ -83,7 +113,7 @@ module MasterCard
83
113
  #@param Dict mapObj, containing the required parameters to create a new object
84
114
  #@return [Card] of the response of created instance.
85
115
  #@raise [APIException] an exception from the response status
86
- return self.execute("236caeea-a2fd-461b-b1de-4f4527a5f81c", Card.new(mapObj))
116
+ return self.execute("d3429227-cc95-4bb5-92db-1ce5881a2605", Card.new(mapObj))
87
117
  end
88
118
 
89
119
 
@@ -116,7 +146,7 @@ module MasterCard
116
146
  end
117
147
  end
118
148
 
119
- return self.execute("f7245020-226a-4c9c-aa56-48d3f273e928", mapObj)
149
+ return self.execute("3c6ac5c7-e623-4f60-9159-f786fbdaa136", mapObj)
120
150
  end
121
151
 
122
152
 
@@ -129,7 +159,7 @@ module MasterCard
129
159
  #@raise [APIException] an exception from the response status
130
160
  #
131
161
 
132
- return self.class.execute("f7245020-226a-4c9c-aa56-48d3f273e928", self)
162
+ return self.class.execute("3c6ac5c7-e623-4f60-9159-f786fbdaa136", self)
133
163
  end
134
164
 
135
165
 
@@ -142,7 +172,7 @@ module MasterCard
142
172
  #@param Dict mapObj, containing the required parameters to create a new object
143
173
  #@return [Card] of the response of created instance.
144
174
  #@raise [APIException] an exception from the response status
145
- return self.execute("26737bc6-218d-486c-8669-49442340858a", Card.new(mapObj))
175
+ return self.execute("b616ddee-bb56-4bad-ad29-55753a0ab297", Card.new(mapObj))
146
176
  end
147
177
 
148
178
 
@@ -37,23 +37,23 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '22fbf9bc-c80b-40b0-b5d7-6e971619fb6a' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/channels", "delete", [], []),
41
- '127da697-16f9-4cd1-a4ee-5f48ce679172' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/channels", "query", [], []),
42
- '356e8dfa-81fd-46a4-b888-88508f25605d' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/channels", "create", [], []),
40
+ '4c831e2f-d88f-4b26-9a2c-c155ca318c70' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/channels", "delete", [], []),
41
+ '572169c7-cb74-4b6d-a17e-4fcb31a1e437' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/channels", "query", [], []),
42
+ 'cf320640-18d2-41c9-b50f-63395633a41c' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/channels", "create", [], []),
43
43
 
44
44
  }
45
45
 
46
46
  protected
47
47
 
48
- def self.getOperationConfig(uuid)
49
- if @__store.key?(uuid)
50
- return @__store[uuid]
48
+ def self.getOperationConfig(operationUUID)
49
+ if @__store.key?(operationUUID)
50
+ return @__store[operationUUID]
51
51
  end
52
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
52
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
53
53
  end
54
54
 
55
55
  def self.getOperationMetadata()
56
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
56
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
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("22fbf9bc-c80b-40b0-b5d7-6e971619fb6a", mapObj)
86
+ return self.execute("4c831e2f-d88f-4b26-9a2c-c155ca318c70", 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("22fbf9bc-c80b-40b0-b5d7-6e971619fb6a", self)
99
+ return self.class.execute("4c831e2f-d88f-4b26-9a2c-c155ca318c70", 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("127da697-16f9-4cd1-a4ee-5f48ce679172",Channel.new(criteria))
118
+ return self.execute("572169c7-cb74-4b6d-a17e-4fcb31a1e437",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("356e8dfa-81fd-46a4-b888-88508f25605d", Channel.new(mapObj))
129
+ return self.execute("cf320640-18d2-41c9-b50f-63395633a41c", Channel.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,23 +37,23 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '1b907f56-4d1c-4469-8a9a-63f3e3304fd4' => OperationConfig.new("/issuer/v1/card/{uuid}/controls", "delete", [], []),
41
- 'b13484c0-e58b-4292-91ae-d7141293f96c' => OperationConfig.new("/issuer/v1/card/{uuid}/controls", "query", [], []),
42
- '6fb3dc53-4b8d-448d-a00f-3f4174e5b2f5' => OperationConfig.new("/issuer/v1/card/{uuid}/controls", "create", [], []),
40
+ '65034ddd-d42a-491c-9826-444570608b0b' => OperationConfig.new("/issuer/v1/card/{uuid}/controls", "delete", [], []),
41
+ '24f2bca1-69c4-4185-a6d0-597c38f6b1f6' => OperationConfig.new("/issuer/v1/card/{uuid}/controls", "query", [], []),
42
+ '34f37753-bdff-4df5-9024-103b60598534' => OperationConfig.new("/issuer/v1/card/{uuid}/controls", "create", [], []),
43
43
 
44
44
  }
45
45
 
46
46
  protected
47
47
 
48
- def self.getOperationConfig(uuid)
49
- if @__store.key?(uuid)
50
- return @__store[uuid]
48
+ def self.getOperationConfig(operationUUID)
49
+ if @__store.key?(operationUUID)
50
+ return @__store[operationUUID]
51
51
  end
52
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
52
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
53
53
  end
54
54
 
55
55
  def self.getOperationMetadata()
56
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
56
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
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("1b907f56-4d1c-4469-8a9a-63f3e3304fd4", mapObj)
86
+ return self.execute("65034ddd-d42a-491c-9826-444570608b0b", 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("1b907f56-4d1c-4469-8a9a-63f3e3304fd4", self)
99
+ return self.class.execute("65034ddd-d42a-491c-9826-444570608b0b", 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("b13484c0-e58b-4292-91ae-d7141293f96c",Controls.new(criteria))
118
+ return self.execute("24f2bca1-69c4-4185-a6d0-597c38f6b1f6",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("6fb3dc53-4b8d-448d-a00f-3f4174e5b2f5", Controls.new(mapObj))
129
+ return self.execute("34f37753-bdff-4df5-9024-103b60598534", Controls.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,21 +37,21 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '811c9e6d-7d40-4c06-bac5-7e2b5a9b8d98' => OperationConfig.new("/issuer/v1/card/{uuid}/history/controls", "query", [], ["from","to","pageNumber","pageSize"]),
40
+ '5337cc7d-e41b-469b-8260-9f1705a33aa9' => OperationConfig.new("/issuer/v1/card/{uuid}/history/controls", "query", [], ["from","to","pageNumber","pageSize"]),
41
41
 
42
42
  }
43
43
 
44
44
  protected
45
45
 
46
- def self.getOperationConfig(uuid)
47
- if @__store.key?(uuid)
48
- return @__store[uuid]
46
+ def self.getOperationConfig(operationUUID)
47
+ if @__store.key?(operationUUID)
48
+ return @__store[operationUUID]
49
49
  end
50
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
50
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
51
51
  end
52
52
 
53
53
  def self.getOperationMetadata()
54
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
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("811c9e6d-7d40-4c06-bac5-7e2b5a9b8d98",Controlshistory.new(criteria))
73
+ return self.execute("5337cc7d-e41b-469b-8260-9f1705a33aa9",Controlshistory.new(criteria))
74
74
  end
75
75
 
76
76
 
@@ -37,23 +37,23 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '6b54c0e2-ae99-4376-9115-ff7cb88f39d2' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/crossborder", "delete", [], []),
41
- '3d2ce8fd-16e2-4528-a458-7eedd3db1e67' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/crossborder", "query", [], []),
42
- 'e3c18a26-21fa-48f6-bc5e-7de988db3327' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/crossborder", "create", [], []),
40
+ 'e9dba732-7500-49e6-b3fe-c97ce7b8f0b5' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/crossborder", "delete", [], []),
41
+ '3ae3218b-d0db-42d7-a61f-1b8b2975e771' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/crossborder", "query", [], []),
42
+ 'dbe32e2c-e74e-4730-bf60-93458deea412' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/crossborder", "create", [], []),
43
43
 
44
44
  }
45
45
 
46
46
  protected
47
47
 
48
- def self.getOperationConfig(uuid)
49
- if @__store.key?(uuid)
50
- return @__store[uuid]
48
+ def self.getOperationConfig(operationUUID)
49
+ if @__store.key?(operationUUID)
50
+ return @__store[operationUUID]
51
51
  end
52
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
52
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
53
53
  end
54
54
 
55
55
  def self.getOperationMetadata()
56
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
56
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
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("6b54c0e2-ae99-4376-9115-ff7cb88f39d2", mapObj)
86
+ return self.execute("e9dba732-7500-49e6-b3fe-c97ce7b8f0b5", 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("6b54c0e2-ae99-4376-9115-ff7cb88f39d2", self)
99
+ return self.class.execute("e9dba732-7500-49e6-b3fe-c97ce7b8f0b5", 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("3d2ce8fd-16e2-4528-a458-7eedd3db1e67",Crossborder.new(criteria))
118
+ return self.execute("3ae3218b-d0db-42d7-a61f-1b8b2975e771",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("e3c18a26-21fa-48f6-bc5e-7de988db3327", Crossborder.new(mapObj))
129
+ return self.execute("dbe32e2c-e74e-4730-bf60-93458deea412", Crossborder.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,23 +37,23 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '7e971e3f-286f-4f3f-8721-d16a2964865d' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines/all", "delete", [], []),
41
- '78c3a057-3ffb-4b5f-9ca5-6907fd4f32e3' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines/all", "query", [], []),
42
- 'f8433535-1b55-48de-89ca-6867056d2658' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines/all", "create", [], []),
40
+ '6e104aa9-be26-44cc-b2bc-3a5eb2f39bf6' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines/all", "delete", [], []),
41
+ '7bab6f9e-91c3-4370-a09b-2370c20d172d' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines/all", "query", [], []),
42
+ '7c5d7989-cf84-47e5-8803-c34f28719e6f' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines/all", "create", [], []),
43
43
 
44
44
  }
45
45
 
46
46
  protected
47
47
 
48
- def self.getOperationConfig(uuid)
49
- if @__store.key?(uuid)
50
- return @__store[uuid]
48
+ def self.getOperationConfig(operationUUID)
49
+ if @__store.key?(operationUUID)
50
+ return @__store[operationUUID]
51
51
  end
52
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
52
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
53
53
  end
54
54
 
55
55
  def self.getOperationMetadata()
56
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
56
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
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("7e971e3f-286f-4f3f-8721-d16a2964865d", mapObj)
86
+ return self.execute("6e104aa9-be26-44cc-b2bc-3a5eb2f39bf6", 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("7e971e3f-286f-4f3f-8721-d16a2964865d", self)
99
+ return self.class.execute("6e104aa9-be26-44cc-b2bc-3a5eb2f39bf6", 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("78c3a057-3ffb-4b5f-9ca5-6907fd4f32e3",Declineall.new(criteria))
118
+ return self.execute("7bab6f9e-91c3-4370-a09b-2370c20d172d",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("f8433535-1b55-48de-89ca-6867056d2658", Declineall.new(mapObj))
129
+ return self.execute("7c5d7989-cf84-47e5-8803-c34f28719e6f", Declineall.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,23 +37,23 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '75a57f0d-6cb9-4ca9-8d1e-4c28566d8a94' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines", "delete", [], []),
41
- 'b55e8086-622f-45ef-b2aa-e83a4f029e5e' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines", "query", [], []),
42
- 'a3c5557b-473d-41c4-bbff-ae6b2f60b4cf' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines", "create", [], []),
40
+ '8ba63984-0082-4241-81ab-8e900ca732c1' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines", "delete", [], []),
41
+ 'bfe300e6-7818-4843-bafc-b88181930fa5' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines", "query", [], []),
42
+ '6115c780-d9da-400c-a266-810578eac729' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines", "create", [], []),
43
43
 
44
44
  }
45
45
 
46
46
  protected
47
47
 
48
- def self.getOperationConfig(uuid)
49
- if @__store.key?(uuid)
50
- return @__store[uuid]
48
+ def self.getOperationConfig(operationUUID)
49
+ if @__store.key?(operationUUID)
50
+ return @__store[operationUUID]
51
51
  end
52
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
52
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
53
53
  end
54
54
 
55
55
  def self.getOperationMetadata()
56
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
56
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
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("75a57f0d-6cb9-4ca9-8d1e-4c28566d8a94", mapObj)
86
+ return self.execute("8ba63984-0082-4241-81ab-8e900ca732c1", 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("75a57f0d-6cb9-4ca9-8d1e-4c28566d8a94", self)
99
+ return self.class.execute("8ba63984-0082-4241-81ab-8e900ca732c1", 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("b55e8086-622f-45ef-b2aa-e83a4f029e5e",Declines.new(criteria))
118
+ return self.execute("bfe300e6-7818-4843-bafc-b88181930fa5",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("a3c5557b-473d-41c4-bbff-ae6b2f60b4cf", Declines.new(mapObj))
129
+ return self.execute("6115c780-d9da-400c-a266-810578eac729", Declines.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,21 +37,21 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'd39b2405-e025-4815-912e-3be6c39f2d06' => OperationConfig.new("/issuer/v1/test/notificationUrl", "create", ["x-request-endpoint-uri"], []),
40
+ '6e52bda2-3f6c-4c76-9162-78d90aae9c79' => OperationConfig.new("/issuer/v1/test/notificationUrl", "create", ["x-request-endpoint-uri"], []),
41
41
 
42
42
  }
43
43
 
44
44
  protected
45
45
 
46
- def self.getOperationConfig(uuid)
47
- if @__store.key?(uuid)
48
- return @__store[uuid]
46
+ def self.getOperationConfig(operationUUID)
47
+ if @__store.key?(operationUUID)
48
+ return @__store[operationUUID]
49
49
  end
50
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
50
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
51
51
  end
52
52
 
53
53
  def self.getOperationMetadata()
54
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
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("d39b2405-e025-4815-912e-3be6c39f2d06", Notification.new(mapObj))
67
+ return self.execute("6e52bda2-3f6c-4c76-9162-78d90aae9c79", Notification.new(mapObj))
68
68
  end
69
69
 
70
70
 
@@ -41,7 +41,8 @@ module MasterCard
41
41
  @override = nil
42
42
  @host = nil
43
43
  @context = nil
44
- @version = "1.0.3"
44
+ @version = "spendalerts:1.0.4"
45
+ @jsonNative = false
45
46
 
46
47
  Config.registerResourceConfig(self)
47
48
  currentEnvironment = Config.getEnvironment()
@@ -76,6 +77,10 @@ module MasterCard
76
77
  return @version
77
78
  end
78
79
 
80
+ def getJsonNative
81
+ return @jsonNative
82
+ end
83
+
79
84
  def setEnvironment(environmet)
80
85
  if Environment::MAPPING.key?(environmet)
81
86
  tuple = Environment::MAPPING[environmet]
@@ -37,21 +37,21 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'a8b6988c-98e8-49ed-b567-465b36df8177' => OperationConfig.new("/issuer/v1/card/{uuid}/transactions", "query", [], ["from","to","pageNumber","pageSize"]),
40
+ 'afb1565b-7ceb-4ae8-bda7-b6d34e4c1d44' => OperationConfig.new("/issuer/v1/card/{uuid}/transactions", "query", [], ["from","to","pageNumber","pageSize"]),
41
41
 
42
42
  }
43
43
 
44
44
  protected
45
45
 
46
- def self.getOperationConfig(uuid)
47
- if @__store.key?(uuid)
48
- return @__store[uuid]
46
+ def self.getOperationConfig(operationUUID)
47
+ if @__store.key?(operationUUID)
48
+ return @__store[operationUUID]
49
49
  end
50
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
50
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
51
51
  end
52
52
 
53
53
  def self.getOperationMetadata()
54
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
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("a8b6988c-98e8-49ed-b567-465b36df8177",Txnhistory.new(criteria))
73
+ return self.execute("afb1565b-7ceb-4ae8-bda7-b6d34e4c1d44",Txnhistory.new(criteria))
74
74
  end
75
75
 
76
76
 
@@ -37,21 +37,21 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '40be4201-6504-44d0-9bf9-c64602232deb' => OperationConfig.new("/issuer/v1/card/verify/{uuid}", "create", [], []),
40
+ '38597d8a-4bc9-4d2c-8867-ff0437d2adea' => OperationConfig.new("/issuer/v1/card/verify/{uuid}", "create", [], []),
41
41
 
42
42
  }
43
43
 
44
44
  protected
45
45
 
46
- def self.getOperationConfig(uuid)
47
- if @__store.key?(uuid)
48
- return @__store[uuid]
46
+ def self.getOperationConfig(operationUUID)
47
+ if @__store.key?(operationUUID)
48
+ return @__store[operationUUID]
49
49
  end
50
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
50
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
51
51
  end
52
52
 
53
53
  def self.getOperationMetadata()
54
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
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("40be4201-6504-44d0-9bf9-c64602232deb", Verify.new(mapObj))
67
+ return self.execute("38597d8a-4bc9-4d2c-8867-ff0437d2adea", Verify.new(mapObj))
68
68
  end
69
69
 
70
70
 
@@ -4,6 +4,7 @@ require 'mastercard/api/spendalerts/resourceconfig'
4
4
 
5
5
  require 'mastercard/api/spendalerts/alerts'
6
6
  require 'mastercard/api/spendalerts/amount'
7
+ require 'mastercard/api/spendalerts/batch'
7
8
  require 'mastercard/api/spendalerts/card'
8
9
  require 'mastercard/api/spendalerts/channel'
9
10
  require 'mastercard/api/spendalerts/controls'
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.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - MasterCard Worldwide
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-22 00:00:00.000000000 Z
11
+ date: 2017-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mastercard_api_core
@@ -53,6 +53,7 @@ extra_rdoc_files: []
53
53
  files:
54
54
  - lib/mastercard/api/spendalerts/alerts.rb
55
55
  - lib/mastercard/api/spendalerts/amount.rb
56
+ - lib/mastercard/api/spendalerts/batch.rb
56
57
  - lib/mastercard/api/spendalerts/card.rb
57
58
  - lib/mastercard/api/spendalerts/channel.rb
58
59
  - lib/mastercard/api/spendalerts/controls.rb