mastercard_spendcontrols 1.0.1 → 1.0.2

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: 730a15be031b32fc89d87834721d2c69ef6f03b3
4
- data.tar.gz: e6bd10acd326af65ad005c1448091052992950e5
3
+ metadata.gz: a8b815923ff6baf02f73e5bf6ada892da034f30d
4
+ data.tar.gz: b6152ac3f1a529363157e94c2c349d459675d4c7
5
5
  SHA512:
6
- metadata.gz: 4b32a53bb0924863bf1d7596b313a9e992cc1b3a5bedb8bc44475aec225aeb2a8982e30160cbb214dd51b65136ac32927418cc6402432b0f2c820fadd3930984
7
- data.tar.gz: 0593ae8bc78b3542da66b0d21184dbfc32de18cd25baf13cdf7b4989a60d614eb2e268dca02e0ff8e4288e4d7671c0f2f6566ce72688ad8f06bf08698f542871
6
+ metadata.gz: f57fabbb428a5c784e27b39c667ab660487f6256b545c91f3108feb3d9b211601c87dad36d3e4f4969b345701b6859b9c483d95542ec53be082b2c557746864a
7
+ data.tar.gz: 7b660c3f6d02543bdca649b7f55018f1dbd6811108fdb962f17e416367c8ad2091cb51462f20ea20315d63aea56b969d66b339ead1adc9f50a0d966eada4f1af
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'd1c80cc4-a26e-44ec-9a0e-421c3c42ae77' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/all", "delete", [], []),
41
- 'bab20ad8-b760-4d58-9c5c-9737ee475ea1' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/all", "query", [], []),
42
- 'd0118db3-9974-4764-b565-625b3b150a59' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/all", "create", [], []),
40
+ '53c55052-5808-4b77-ac52-454f154fbf81' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/all", "delete", [], []),
41
+ '35fc8968-a349-4b2f-935c-77a7a3f7b4bd' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/all", "query", [], []),
42
+ '6da66199-ce40-4b76-a0da-c0d25d26d86a' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/all", "create", [], []),
43
43
 
44
44
  }
45
45
 
@@ -83,7 +83,7 @@ module MasterCard
83
83
  end
84
84
  end
85
85
 
86
- return self.execute("d1c80cc4-a26e-44ec-9a0e-421c3c42ae77", mapObj)
86
+ return self.execute("53c55052-5808-4b77-ac52-454f154fbf81", 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("d1c80cc4-a26e-44ec-9a0e-421c3c42ae77", self)
99
+ return self.class.execute("53c55052-5808-4b77-ac52-454f154fbf81", 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("bab20ad8-b760-4d58-9c5c-9737ee475ea1",Alertall.new(criteria))
118
+ return self.execute("35fc8968-a349-4b2f-935c-77a7a3f7b4bd",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("d0118db3-9974-4764-b565-625b3b150a59", Alertall.new(mapObj))
129
+ return self.execute("6da66199-ce40-4b76-a0da-c0d25d26d86a", Alertall.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '210cf436-426e-4b41-b797-813667992cb6' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts", "delete", [], []),
41
- '07cab31f-7309-4ec5-9c05-a7aefe479bbb' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts", "query", [], []),
42
- '8c412c5b-3fcf-498f-960e-3bad9cd8b5ad' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts", "create", [], []),
40
+ '8307f215-af2d-4bbf-a12d-69e4e0b02067' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts", "delete", [], []),
41
+ 'eb3d8f9f-085a-4002-98e7-0fda9f52f5ff' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts", "query", [], []),
42
+ '209ab3d3-c9da-44f5-9d7a-c0eb22d53fb9' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts", "create", [], []),
43
43
 
44
44
  }
45
45
 
@@ -83,7 +83,7 @@ module MasterCard
83
83
  end
84
84
  end
85
85
 
86
- return self.execute("210cf436-426e-4b41-b797-813667992cb6", mapObj)
86
+ return self.execute("8307f215-af2d-4bbf-a12d-69e4e0b02067", 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("210cf436-426e-4b41-b797-813667992cb6", self)
99
+ return self.class.execute("8307f215-af2d-4bbf-a12d-69e4e0b02067", 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("07cab31f-7309-4ec5-9c05-a7aefe479bbb",Alerts.new(criteria))
118
+ return self.execute("eb3d8f9f-085a-4002-98e7-0fda9f52f5ff",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("8c412c5b-3fcf-498f-960e-3bad9cd8b5ad", Alerts.new(mapObj))
129
+ return self.execute("209ab3d3-c9da-44f5-9d7a-c0eb22d53fb9", Alerts.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'f2a55e52-d604-4385-bd96-82556d7eba94' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/transactionamount", "delete", [], []),
41
- '242d8a2c-95da-48f0-81fa-e3fb242b532b' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/transactionamount", "query", [], []),
42
- '7ada161f-da82-4640-9cb5-792d46ec47b8' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/transactionamount", "create", [], []),
40
+ '27e3b26a-7818-4153-aff9-a3d5b66f591a' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/transactionamount", "delete", [], []),
41
+ '3eacb232-5fbc-4130-bd9f-f5ec70414980' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/transactionamount", "query", [], []),
42
+ '540b1cf7-e6b2-48c4-9ffa-353d9913d000' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/transactionamount", "create", [], []),
43
43
 
44
44
  }
45
45
 
@@ -83,7 +83,7 @@ module MasterCard
83
83
  end
84
84
  end
85
85
 
86
- return self.execute("f2a55e52-d604-4385-bd96-82556d7eba94", mapObj)
86
+ return self.execute("27e3b26a-7818-4153-aff9-a3d5b66f591a", 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("f2a55e52-d604-4385-bd96-82556d7eba94", self)
99
+ return self.class.execute("27e3b26a-7818-4153-aff9-a3d5b66f591a", 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("242d8a2c-95da-48f0-81fa-e3fb242b532b",Amount.new(criteria))
118
+ return self.execute("3eacb232-5fbc-4130-bd9f-f5ec70414980",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("7ada161f-da82-4640-9cb5-792d46ec47b8", Amount.new(mapObj))
129
+ return self.execute("540b1cf7-e6b2-48c4-9ffa-353d9913d000", Amount.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '1c0bb42d-bc22-40e2-a8a7-77d1da152315' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/transactionamount", "create", [], []),
41
- '2be2ab31-4947-40ba-8694-badea99c0032' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/transactionamount", "delete", [], []),
42
- '372f6f25-a3b7-4d45-b72d-27c4fd352b06' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/transactionamount", "query", [], []),
40
+ '00cff725-21c0-4f34-8d18-cead0722a7df' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/transactionamount", "create", [], []),
41
+ '0900e30d-ed5b-4d72-bc12-9fbbcaad3976' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/transactionamount", "delete", [], []),
42
+ '969fe2b1-fcfb-491f-953c-81b19789f69b' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/transactionamount", "query", [], []),
43
43
 
44
44
  }
45
45
 
@@ -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("1c0bb42d-bc22-40e2-a8a7-77d1da152315", Amountdecline.new(mapObj))
69
+ return self.execute("00cff725-21c0-4f34-8d18-cead0722a7df", 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("2be2ab31-4947-40ba-8694-badea99c0032", mapObj)
102
+ return self.execute("0900e30d-ed5b-4d72-bc12-9fbbcaad3976", 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("2be2ab31-4947-40ba-8694-badea99c0032", self)
115
+ return self.class.execute("0900e30d-ed5b-4d72-bc12-9fbbcaad3976", 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("372f6f25-a3b7-4d45-b72d-27c4fd352b06",Amountdecline.new(criteria))
134
+ return self.execute("969fe2b1-fcfb-491f-953c-81b19789f69b",Amountdecline.new(criteria))
135
135
  end
136
136
 
137
137
 
@@ -37,9 +37,10 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '4fdbff2b-135f-4919-a6b7-e558590f851a' => OperationConfig.new("/issuer/spendcontrols/v1/card", "create", [], []),
41
- '8e395139-d6da-4b46-9330-45c141c6ef35' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}", "delete", [], []),
42
- 'a0d1e30d-9fb1-4060-90d1-9d935cf57c84' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}", "create", [], []),
40
+ '8766533b-a891-40ce-ac0b-286976ec9a9f' => OperationConfig.new("/issuer/spendcontrols/v1/card", "create", [], []),
41
+ '89f6737a-642a-4705-9d15-3c8285fac3c5' => OperationConfig.new("/issuer/spendcontrols/v1/card/uuid", "create", [], []),
42
+ '40223e8b-346b-4797-83ca-31e0c16ae6b6' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}", "delete", [], []),
43
+ 'd0fb3550-785f-4222-869f-1b83f2318772' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}", "create", [], []),
43
44
 
44
45
  }
45
46
 
@@ -66,7 +67,23 @@ module MasterCard
66
67
  #@param Dict mapObj, containing the required parameters to create a new object
67
68
  #@return [Card] of the response of created instance.
68
69
  #@raise [APIException] an exception from the response status
69
- return self.execute("4fdbff2b-135f-4919-a6b7-e558590f851a", Card.new(mapObj))
70
+ return self.execute("8766533b-a891-40ce-ac0b-286976ec9a9f", Card.new(mapObj))
71
+ end
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+ def self.read(mapObj)
80
+ #
81
+ #Creates object of type Card
82
+ #
83
+ #@param Dict mapObj, containing the required parameters to create a new object
84
+ #@return [Card] of the response of created instance.
85
+ #@raise [APIException] an exception from the response status
86
+ return self.execute("89f6737a-642a-4705-9d15-3c8285fac3c5", Card.new(mapObj))
70
87
  end
71
88
 
72
89
 
@@ -99,7 +116,7 @@ module MasterCard
99
116
  end
100
117
  end
101
118
 
102
- return self.execute("8e395139-d6da-4b46-9330-45c141c6ef35", mapObj)
119
+ return self.execute("40223e8b-346b-4797-83ca-31e0c16ae6b6", mapObj)
103
120
  end
104
121
 
105
122
 
@@ -112,7 +129,7 @@ module MasterCard
112
129
  #@raise [APIException] an exception from the response status
113
130
  #
114
131
 
115
- return self.class.execute("8e395139-d6da-4b46-9330-45c141c6ef35", self)
132
+ return self.class.execute("40223e8b-346b-4797-83ca-31e0c16ae6b6", self)
116
133
  end
117
134
 
118
135
 
@@ -125,7 +142,7 @@ module MasterCard
125
142
  #@param Dict mapObj, containing the required parameters to create a new object
126
143
  #@return [Card] of the response of created instance.
127
144
  #@raise [APIException] an exception from the response status
128
- return self.execute("a0d1e30d-9fb1-4060-90d1-9d935cf57c84", Card.new(mapObj))
145
+ return self.execute("d0fb3550-785f-4222-869f-1b83f2318772", Card.new(mapObj))
129
146
  end
130
147
 
131
148
 
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'a0b9cfef-42f4-4391-947b-c413074f6f04' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/channels", "delete", [], []),
41
- '92847ec8-4890-436e-9425-8b9d0c069692' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/channels", "query", [], []),
42
- '171d00c4-0dfd-49e6-b723-c5cf5cea0307' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/channels", "create", [], []),
40
+ '2128dfbd-be8f-4749-a260-cc486db575bc' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/channels", "delete", [], []),
41
+ '775f9397-ae3a-4b84-bdfc-16eccb3b6d6a' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/channels", "query", [], []),
42
+ 'f8c8c3b4-034f-4e9a-9b8b-5725260e6014' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/channels", "create", [], []),
43
43
 
44
44
  }
45
45
 
@@ -83,7 +83,7 @@ module MasterCard
83
83
  end
84
84
  end
85
85
 
86
- return self.execute("a0b9cfef-42f4-4391-947b-c413074f6f04", mapObj)
86
+ return self.execute("2128dfbd-be8f-4749-a260-cc486db575bc", 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("a0b9cfef-42f4-4391-947b-c413074f6f04", self)
99
+ return self.class.execute("2128dfbd-be8f-4749-a260-cc486db575bc", 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("92847ec8-4890-436e-9425-8b9d0c069692",Channel.new(criteria))
118
+ return self.execute("775f9397-ae3a-4b84-bdfc-16eccb3b6d6a",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("171d00c4-0dfd-49e6-b723-c5cf5cea0307", Channel.new(mapObj))
129
+ return self.execute("f8c8c3b4-034f-4e9a-9b8b-5725260e6014", Channel.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'c3bf3283-0417-4b55-87e5-3d37e2521c40' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/channels", "delete", [], []),
41
- 'ddef2c17-72b3-4dc2-a16d-4833003b6f73' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/channels", "query", [], []),
42
- 'b993e85b-de83-4d89-89d6-373c933c36e6' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/channels", "create", [], []),
40
+ 'dc0f34b0-ebef-4edb-8a52-bca2f0f24f7f' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/channels", "delete", [], []),
41
+ '219736b3-6fde-4581-a542-de7c9717680a' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/channels", "query", [], []),
42
+ '0af40579-daeb-4f3b-9cbc-c97876bda461' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/channels", "create", [], []),
43
43
 
44
44
  }
45
45
 
@@ -83,7 +83,7 @@ module MasterCard
83
83
  end
84
84
  end
85
85
 
86
- return self.execute("c3bf3283-0417-4b55-87e5-3d37e2521c40", mapObj)
86
+ return self.execute("dc0f34b0-ebef-4edb-8a52-bca2f0f24f7f", 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("c3bf3283-0417-4b55-87e5-3d37e2521c40", self)
99
+ return self.class.execute("dc0f34b0-ebef-4edb-8a52-bca2f0f24f7f", 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("ddef2c17-72b3-4dc2-a16d-4833003b6f73",Channeldecline.new(criteria))
118
+ return self.execute("219736b3-6fde-4581-a542-de7c9717680a",Channeldecline.new(criteria))
119
119
  end
120
120
 
121
121
 
@@ -126,7 +126,7 @@ module MasterCard
126
126
  #@param Dict mapObj, containing the required parameters to create a new object
127
127
  #@return [Channeldecline] of the response of created instance.
128
128
  #@raise [APIException] an exception from the response status
129
- return self.execute("b993e85b-de83-4d89-89d6-373c933c36e6", Channeldecline.new(mapObj))
129
+ return self.execute("0af40579-daeb-4f3b-9cbc-c97876bda461", Channeldecline.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'a0034821-3ecb-42dc-a16c-b7fe2d1bb3c0' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls", "delete", [], []),
41
- 'ce009ef9-3e02-45b6-8e75-179ddeb2ac7d' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls", "query", [], []),
42
- '92a90e2e-11d2-484a-a5c0-5e8540decc00' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls", "create", [], []),
40
+ '4d9aede9-6e73-40e3-a2f2-1002887a6cf3' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls", "delete", [], []),
41
+ '2914ab7f-411a-4153-b422-bc75e7740b9d' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls", "query", [], []),
42
+ 'b47956cd-c328-4e5a-a3e6-206252d1dc6e' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls", "create", [], []),
43
43
 
44
44
  }
45
45
 
@@ -83,7 +83,7 @@ module MasterCard
83
83
  end
84
84
  end
85
85
 
86
- return self.execute("a0034821-3ecb-42dc-a16c-b7fe2d1bb3c0", mapObj)
86
+ return self.execute("4d9aede9-6e73-40e3-a2f2-1002887a6cf3", 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("a0034821-3ecb-42dc-a16c-b7fe2d1bb3c0", self)
99
+ return self.class.execute("4d9aede9-6e73-40e3-a2f2-1002887a6cf3", 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("ce009ef9-3e02-45b6-8e75-179ddeb2ac7d",Controls.new(criteria))
118
+ return self.execute("2914ab7f-411a-4153-b422-bc75e7740b9d",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("92a90e2e-11d2-484a-a5c0-5e8540decc00", Controls.new(mapObj))
129
+ return self.execute("b47956cd-c328-4e5a-a3e6-206252d1dc6e", Controls.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -0,0 +1,87 @@
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 Spendcontrols
35
+ class Controlshistory < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ '9813fdff-7a94-4cdf-a49c-f62f86448d3c' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/history/controls", "query", [], ["from","to","pageNumber","pageSize"]),
41
+
42
+ }
43
+
44
+ protected
45
+
46
+ def self.getOperationConfig(uuid)
47
+ if @__store.key?(uuid)
48
+ return @__store[uuid]
49
+ end
50
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
51
+ end
52
+
53
+ def self.getOperationMetadata()
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
55
+ end
56
+
57
+ public
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+ def self.query(criteria)
66
+ #
67
+ #Query objects of type Controlshistory by id and optional criteria
68
+ #@param [Dict] criteria
69
+ #@return [Controlshistory] object representing the response.
70
+ #@raise [APIException] an exception from the response status
71
+ #
72
+
73
+ return self.execute("9813fdff-7a94-4cdf-a49c-f62f86448d3c",Controlshistory.new(criteria))
74
+ end
75
+
76
+
77
+ end
78
+ end
79
+ end
80
+ end
81
+
82
+
83
+
84
+
85
+
86
+
87
+
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '43c6cb9b-adc3-4a07-bd91-6b4acc7e1edd' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/crossborder", "delete", [], []),
41
- '02f27510-d10c-4ffe-bd9e-b2535986801c' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/crossborder", "query", [], []),
42
- 'ad69e49a-7c29-4fc2-8c8f-d4093d505188' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/crossborder", "create", [], []),
40
+ 'ccf87432-5234-46ab-805e-3ad66aacae7d' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/crossborder", "delete", [], []),
41
+ '5dd3a077-01ee-4557-b497-9e1ae4532d73' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/crossborder", "query", [], []),
42
+ 'a1288f20-6670-432b-9753-62c751ff3f49' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/alerts/crossborder", "create", [], []),
43
43
 
44
44
  }
45
45
 
@@ -83,7 +83,7 @@ module MasterCard
83
83
  end
84
84
  end
85
85
 
86
- return self.execute("43c6cb9b-adc3-4a07-bd91-6b4acc7e1edd", mapObj)
86
+ return self.execute("ccf87432-5234-46ab-805e-3ad66aacae7d", 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("43c6cb9b-adc3-4a07-bd91-6b4acc7e1edd", self)
99
+ return self.class.execute("ccf87432-5234-46ab-805e-3ad66aacae7d", 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("02f27510-d10c-4ffe-bd9e-b2535986801c",Crossborder.new(criteria))
118
+ return self.execute("5dd3a077-01ee-4557-b497-9e1ae4532d73",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("ad69e49a-7c29-4fc2-8c8f-d4093d505188", Crossborder.new(mapObj))
129
+ return self.execute("a1288f20-6670-432b-9753-62c751ff3f49", Crossborder.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '6392b8e1-c87a-4e57-9e03-995bf06f8e48' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/crossborder", "delete", [], []),
41
- 'b5a06ed8-b73f-4b91-907b-5be664a6e983' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/crossborder", "query", [], []),
42
- '27348454-54bb-4855-8cd3-505b70b3d025' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/crossborder", "create", [], []),
40
+ '84b4a218-6704-468e-838f-67cfbbeab4a1' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/crossborder", "delete", [], []),
41
+ 'ef7feba5-f4bf-4012-a032-18778a3cfc76' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/crossborder", "query", [], []),
42
+ '130e4ba6-759d-4b1d-94c1-bf560a20a568' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/controls/declines/crossborder", "create", [], []),
43
43
 
44
44
  }
45
45
 
@@ -83,7 +83,7 @@ module MasterCard
83
83
  end
84
84
  end
85
85
 
86
- return self.execute("6392b8e1-c87a-4e57-9e03-995bf06f8e48", mapObj)
86
+ return self.execute("84b4a218-6704-468e-838f-67cfbbeab4a1", 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("6392b8e1-c87a-4e57-9e03-995bf06f8e48", self)
99
+ return self.class.execute("84b4a218-6704-468e-838f-67cfbbeab4a1", 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("b5a06ed8-b73f-4b91-907b-5be664a6e983",Crossborderdecline.new(criteria))
118
+ return self.execute("ef7feba5-f4bf-4012-a032-18778a3cfc76",Crossborderdecline.new(criteria))
119
119
  end
120
120
 
121
121
 
@@ -126,7 +126,7 @@ module MasterCard
126
126
  #@param Dict mapObj, containing the required parameters to create a new object
127
127
  #@return [Crossborderdecline] of the response of created instance.
128
128
  #@raise [APIException] an exception from the response status
129
- return self.execute("27348454-54bb-4855-8cd3-505b70b3d025", Crossborderdecline.new(mapObj))
129
+ return self.execute("130e4ba6-759d-4b1d-94c1-bf560a20a568", Crossborderdecline.new(mapObj))
130
130
  end
131
131
 
132
132