mastercard_spendalerts 1.0.1 → 1.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0814c77148322af1c86337a5c0d6c30f7bdb255
4
- data.tar.gz: 73638d31e96256ebeac41aad5673ea6f8be2daad
3
+ metadata.gz: bda3310785588a4b2cd4d458056833d2340b0e34
4
+ data.tar.gz: d0a01fcf1159663186a51500652af07b6c622770
5
5
  SHA512:
6
- metadata.gz: 693a7ee779ff82d05be3305bda0c9023dbeeb226bd9d3a1960ef1e2ae115b5f9242e3de84c6d669bfe9c06dc661dbbc9237dc81d00f69c16dd9e7893a5731af9
7
- data.tar.gz: 861b23bf4f60e51166111d2756a22ffa26143494fe5eaa4a546bca35c40a6dd85f49439d412b17887491a2837a9a15f142e7136d211fe527e1e21a977239c8aa
6
+ metadata.gz: 5a77bac7e9d7c8fa9f1474230734c551a0bddf794cbf1e8ae1702cbd66d3c447886c9b0513b71eef38c5ace7b9e6a6390e1f90f5c7071d95ecffb7c9869035e2
7
+ data.tar.gz: 21bfd9b5e74f51c42a9b86a70803cc29744958f5c26c15d18b1e004d8c77a1d932119e84e116daf7384f6f16611218c8f64961d4310024ad4752f3641ef2e8a3
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '377f4be1-43aa-4450-97cd-feb541b9faa8' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts", "delete", [], []),
41
- 'ab21542c-4d27-4785-87cb-26f37dd8c349' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts", "query", [], []),
42
- 'dce4fa8c-6aef-402d-a52e-4fc9857180b9' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts", "create", [], []),
40
+ '5f7b292e-491f-4b9a-a7ef-e10142791b1b' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts", "delete", [], []),
41
+ '0006ff75-d453-4bfc-834d-2abf2cd7f61d' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts", "query", [], []),
42
+ 'fce45809-cbb9-43cf-ac1c-31f51bbe09ba' => OperationConfig.new("/issuer/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("377f4be1-43aa-4450-97cd-feb541b9faa8", mapObj)
86
+ return self.execute("5f7b292e-491f-4b9a-a7ef-e10142791b1b", 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("377f4be1-43aa-4450-97cd-feb541b9faa8", self)
99
+ return self.class.execute("5f7b292e-491f-4b9a-a7ef-e10142791b1b", 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("ab21542c-4d27-4785-87cb-26f37dd8c349",Alerts.new(criteria))
118
+ return self.execute("0006ff75-d453-4bfc-834d-2abf2cd7f61d",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("dce4fa8c-6aef-402d-a52e-4fc9857180b9", Alerts.new(mapObj))
129
+ return self.execute("fce45809-cbb9-43cf-ac1c-31f51bbe09ba", Alerts.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '51296ea5-1918-4887-a8ad-1cf19ce1a827' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/transactionamount", "delete", [], []),
41
- '2b91695f-8375-4331-9f5c-8c2edb4eff85' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/transactionamount", "query", [], []),
42
- 'd8cc903d-0493-4127-bef0-4df0c6999839' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/transactionamount", "create", [], []),
40
+ 'a5c9a827-c514-4bf3-ac0c-a2ff161466fc' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/transactionamount", "delete", [], []),
41
+ '88ff1fb5-3e98-43af-9428-e76afebeb144' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/transactionamount", "query", [], []),
42
+ 'cb10f18f-0c63-4576-a361-f815604fcc20' => OperationConfig.new("/issuer/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("51296ea5-1918-4887-a8ad-1cf19ce1a827", mapObj)
86
+ return self.execute("a5c9a827-c514-4bf3-ac0c-a2ff161466fc", 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("51296ea5-1918-4887-a8ad-1cf19ce1a827", self)
99
+ return self.class.execute("a5c9a827-c514-4bf3-ac0c-a2ff161466fc", 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("2b91695f-8375-4331-9f5c-8c2edb4eff85",Amount.new(criteria))
118
+ return self.execute("88ff1fb5-3e98-43af-9428-e76afebeb144",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("d8cc903d-0493-4127-bef0-4df0c6999839", Amount.new(mapObj))
129
+ return self.execute("cb10f18f-0c63-4576-a361-f815604fcc20", Amount.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '93c7001b-8973-45fe-b202-10a472a7c7cf' => OperationConfig.new("/issuer/v1/card", "create", [], []),
41
- 'a781c829-b018-4759-8dc0-67f2a73a1db0' => OperationConfig.new("/issuer/v1/card/{uuid}", "delete", [], []),
42
- '04621994-24c9-458e-844e-5269549b9a07' => OperationConfig.new("/issuer/v1/card/{uuid}", "create", [], []),
40
+ '35f7e126-bf08-468b-9b60-3421f31bb3ed' => OperationConfig.new("/issuer/v1/card", "create", [], []),
41
+ '61fe408d-ca42-467a-a51f-ae92377bfdfc' => OperationConfig.new("/issuer/v1/card/{uuid}", "delete", [], []),
42
+ '0f1e097f-f374-4b73-8275-a0fe2d59082a' => OperationConfig.new("/issuer/v1/card/{uuid}", "create", [], []),
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 [Card] of the response of created instance.
68
68
  #@raise [APIException] an exception from the response status
69
- return self.execute("93c7001b-8973-45fe-b202-10a472a7c7cf", Card.new(mapObj))
69
+ return self.execute("35f7e126-bf08-468b-9b60-3421f31bb3ed", Card.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("a781c829-b018-4759-8dc0-67f2a73a1db0", mapObj)
102
+ return self.execute("61fe408d-ca42-467a-a51f-ae92377bfdfc", 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("a781c829-b018-4759-8dc0-67f2a73a1db0", self)
115
+ return self.class.execute("61fe408d-ca42-467a-a51f-ae92377bfdfc", self)
116
116
  end
117
117
 
118
118
 
@@ -125,7 +125,7 @@ module MasterCard
125
125
  #@param Dict mapObj, containing the required parameters to create a new object
126
126
  #@return [Card] of the response of created instance.
127
127
  #@raise [APIException] an exception from the response status
128
- return self.execute("04621994-24c9-458e-844e-5269549b9a07", Card.new(mapObj))
128
+ return self.execute("0f1e097f-f374-4b73-8275-a0fe2d59082a", Card.new(mapObj))
129
129
  end
130
130
 
131
131
 
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'fc0ae0de-00b2-4d3b-af96-77d30ab4419b' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines/carddisable", "delete", [], []),
41
- 'a8b6c9c2-8b9e-459a-bf7a-8cda8ad857f9' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines/carddisable", "query", [], []),
42
- 'd6b9f891-31e9-4851-8f8d-c9ee9fc1b202' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines/carddisable", "create", [], []),
40
+ '11a0da60-2960-4955-bf17-535e42cdb621' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines/carddisable", "delete", [], []),
41
+ '4bf11d4d-a2b4-4d26-90b7-e66a7390bd65' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines/carddisable", "query", [], []),
42
+ '0f14f81d-bc29-40e5-9445-fb7d28c4d1de' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines/carddisable", "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("fc0ae0de-00b2-4d3b-af96-77d30ab4419b", mapObj)
86
+ return self.execute("11a0da60-2960-4955-bf17-535e42cdb621", 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("fc0ae0de-00b2-4d3b-af96-77d30ab4419b", self)
99
+ return self.class.execute("11a0da60-2960-4955-bf17-535e42cdb621", 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("a8b6c9c2-8b9e-459a-bf7a-8cda8ad857f9",Carddisable.new(criteria))
118
+ return self.execute("4bf11d4d-a2b4-4d26-90b7-e66a7390bd65",Carddisable.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 [Carddisable] of the response of created instance.
128
128
  #@raise [APIException] an exception from the response status
129
- return self.execute("d6b9f891-31e9-4851-8f8d-c9ee9fc1b202", Carddisable.new(mapObj))
129
+ return self.execute("0f14f81d-bc29-40e5-9445-fb7d28c4d1de", Carddisable.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '1f43f42b-1e4d-423c-8d73-65cb8105900c' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/channels", "delete", [], []),
41
- '182a078d-69eb-42c3-ab7b-5e9bc0d851b6' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/channels", "query", [], []),
42
- '642c2e62-942d-4e7a-9dcb-7448118f0bd0' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/channels", "create", [], []),
40
+ '4007bf29-ccee-4af3-9da8-cee51ae22eb7' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/channels", "delete", [], []),
41
+ 'ec11e8eb-bd5a-4a1a-bf94-cc176235ca8f' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/channels", "query", [], []),
42
+ '45a0cfeb-56b7-4906-b7a7-db66c372aa6c' => OperationConfig.new("/issuer/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("1f43f42b-1e4d-423c-8d73-65cb8105900c", mapObj)
86
+ return self.execute("4007bf29-ccee-4af3-9da8-cee51ae22eb7", 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("1f43f42b-1e4d-423c-8d73-65cb8105900c", self)
99
+ return self.class.execute("4007bf29-ccee-4af3-9da8-cee51ae22eb7", 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("182a078d-69eb-42c3-ab7b-5e9bc0d851b6",Channel.new(criteria))
118
+ return self.execute("ec11e8eb-bd5a-4a1a-bf94-cc176235ca8f",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("642c2e62-942d-4e7a-9dcb-7448118f0bd0", Channel.new(mapObj))
129
+ return self.execute("45a0cfeb-56b7-4906-b7a7-db66c372aa6c", Channel.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'fcb153d8-01d6-459e-be46-c2743014b7a2' => OperationConfig.new("/issuer/v1/card/{uuid}/controls", "delete", [], []),
41
- 'a4e86a07-d16f-4235-8fdb-f70967ded96f' => OperationConfig.new("/issuer/v1/card/{uuid}/controls", "query", [], []),
42
- 'f29f175d-25ca-4f3d-9813-c43c1e21e730' => OperationConfig.new("/issuer/v1/card/{uuid}/controls", "create", [], []),
40
+ '688aaeb6-cc72-4fdc-b926-76c89af49080' => OperationConfig.new("/issuer/v1/card/{uuid}/controls", "delete", [], []),
41
+ '655d611a-69f4-49ca-856a-1aa5d7a7b79c' => OperationConfig.new("/issuer/v1/card/{uuid}/controls", "query", [], []),
42
+ '5d0d5500-8856-4faf-8753-2ea793b627c6' => OperationConfig.new("/issuer/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("fcb153d8-01d6-459e-be46-c2743014b7a2", mapObj)
86
+ return self.execute("688aaeb6-cc72-4fdc-b926-76c89af49080", 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("fcb153d8-01d6-459e-be46-c2743014b7a2", self)
99
+ return self.class.execute("688aaeb6-cc72-4fdc-b926-76c89af49080", 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("a4e86a07-d16f-4235-8fdb-f70967ded96f",Controls.new(criteria))
118
+ return self.execute("655d611a-69f4-49ca-856a-1aa5d7a7b79c",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("f29f175d-25ca-4f3d-9813-c43c1e21e730", Controls.new(mapObj))
129
+ return self.execute("5d0d5500-8856-4faf-8753-2ea793b627c6", Controls.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'cf438386-2de4-46d4-a6a1-78bf6a12bfe0' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/crossborder", "delete", [], []),
41
- '541a8a8a-a1c7-4d41-afb8-9c00842cab75' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/crossborder", "query", [], []),
42
- 'ee5fcb58-607e-4d5b-ad2d-0ffc7f968fb0' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/crossborder", "create", [], []),
40
+ '9e08979e-b5fc-4b58-b58d-10c91fc9bda9' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/crossborder", "delete", [], []),
41
+ '04e75575-b816-44bb-85bc-7824bb98da68' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/alerts/crossborder", "query", [], []),
42
+ '23d527b5-2a09-441d-8ba4-4dfe7a36113c' => OperationConfig.new("/issuer/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("cf438386-2de4-46d4-a6a1-78bf6a12bfe0", mapObj)
86
+ return self.execute("9e08979e-b5fc-4b58-b58d-10c91fc9bda9", 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("cf438386-2de4-46d4-a6a1-78bf6a12bfe0", self)
99
+ return self.class.execute("9e08979e-b5fc-4b58-b58d-10c91fc9bda9", 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("541a8a8a-a1c7-4d41-afb8-9c00842cab75",Crossborder.new(criteria))
118
+ return self.execute("04e75575-b816-44bb-85bc-7824bb98da68",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("ee5fcb58-607e-4d5b-ad2d-0ffc7f968fb0", Crossborder.new(mapObj))
129
+ return self.execute("23d527b5-2a09-441d-8ba4-4dfe7a36113c", Crossborder.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -37,9 +37,9 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '7b4086ce-58a6-4b21-b87d-5c8e04bc52cd' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines", "delete", [], []),
41
- '0f6586cf-36d4-4174-b5b9-436b1801e9e1' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines", "query", [], []),
42
- 'a7ab0b38-94b2-49b9-853f-3fbaccc79cd8' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines", "create", [], []),
40
+ '743a2509-54af-427b-85a4-9c3f4f122e3f' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines", "delete", [], []),
41
+ '6b0d4472-7721-4dde-a835-a686b31a3388' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines", "query", [], []),
42
+ 'a5833eeb-ddb0-43e4-9d2f-43625bfef654' => OperationConfig.new("/issuer/v1/card/{uuid}/controls/declines", "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("7b4086ce-58a6-4b21-b87d-5c8e04bc52cd", mapObj)
86
+ return self.execute("743a2509-54af-427b-85a4-9c3f4f122e3f", 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("7b4086ce-58a6-4b21-b87d-5c8e04bc52cd", self)
99
+ return self.class.execute("743a2509-54af-427b-85a4-9c3f4f122e3f", 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("0f6586cf-36d4-4174-b5b9-436b1801e9e1",Declines.new(criteria))
118
+ return self.execute("6b0d4472-7721-4dde-a835-a686b31a3388",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("a7ab0b38-94b2-49b9-853f-3fbaccc79cd8", Declines.new(mapObj))
129
+ return self.execute("a5833eeb-ddb0-43e4-9d2f-43625bfef654", Declines.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -0,0 +1,86 @@
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 Notification < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ '9b710b6c-f803-4c91-a626-5313d07eb0a6' => OperationConfig.new("/issuer/v1/test/notificationUrl", "create", ["x-request-endpoint-uri"], []),
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
+ def self.create(mapObj)
61
+ #
62
+ #Creates object of type Notification
63
+ #
64
+ #@param Dict mapObj, containing the required parameters to create a new object
65
+ #@return [Notification] of the response of created instance.
66
+ #@raise [APIException] an exception from the response status
67
+ return self.execute("9b710b6c-f803-4c91-a626-5313d07eb0a6", Notification.new(mapObj))
68
+ end
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+ end
77
+ end
78
+ end
79
+ end
80
+
81
+
82
+
83
+
84
+
85
+
86
+
@@ -41,7 +41,7 @@ module MasterCard
41
41
  @override = nil
42
42
  @host = nil
43
43
  @context = nil
44
- @version = "1.0.1"
44
+ @version = "1.0.2"
45
45
 
46
46
  Config.registerResourceConfig(self)
47
47
  currentEnvironment = Config.getEnvironment()
@@ -37,7 +37,7 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '885568b9-094b-4594-b74b-62bc0cf9fa6e' => OperationConfig.new("/issuer/v1/card/verify/{uuid}", "create", [], []),
40
+ 'ba067d72-27fe-4850-a069-14016df4ef4a' => OperationConfig.new("/issuer/v1/card/verify/{uuid}", "create", [], []),
41
41
 
42
42
  }
43
43
 
@@ -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("885568b9-094b-4594-b74b-62bc0cf9fa6e", Verify.new(mapObj))
67
+ return self.execute("ba067d72-27fe-4850-a069-14016df4ef4a", Verify.new(mapObj))
68
68
  end
69
69
 
70
70
 
@@ -10,4 +10,5 @@ require 'mastercard/api/spendalerts/channel'
10
10
  require 'mastercard/api/spendalerts/controls'
11
11
  require 'mastercard/api/spendalerts/crossborder'
12
12
  require 'mastercard/api/spendalerts/declines'
13
+ require 'mastercard/api/spendalerts/notification'
13
14
  require 'mastercard/api/spendalerts/verify'
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.1
4
+ version: 1.0.2
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-02-03 00:00:00.000000000 Z
11
+ date: 2017-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mastercard_api_core
@@ -59,6 +59,7 @@ files:
59
59
  - lib/mastercard/api/spendalerts/controls.rb
60
60
  - lib/mastercard/api/spendalerts/crossborder.rb
61
61
  - lib/mastercard/api/spendalerts/declines.rb
62
+ - lib/mastercard/api/spendalerts/notification.rb
62
63
  - lib/mastercard/api/spendalerts/resourceconfig.rb
63
64
  - lib/mastercard/api/spendalerts/verify.rb
64
65
  - lib/mastercard_spendalerts.rb