mastercard_disbursements 1.0.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1daa3dd149ba984f937c0025e327d3c509b9818e
4
+ data.tar.gz: 8c8bdba89a0073e23c68a2da65ab22f7952e03f2
5
+ SHA512:
6
+ metadata.gz: 488894b451f57bbd00ae0d645fdde7f7e2d4b554f27f93a6ef6aaaf1a42b373fa809744c2ab17a3f77b414441103deda91a71f495a1f497274b76ceeb14e0a17
7
+ data.tar.gz: 54fa382f25cc815af26af7caf602d112bc245d0b13694dd0250ac6444d00bc01bb0cb9acb470025d54be09d6c010bfed9ee7e4af31b71be8cfd8542162c7fa1f
@@ -0,0 +1,83 @@
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
+
31
+ module MasterCard
32
+ module API
33
+ module Disbursements
34
+ class AccountInfo < MasterCard::Core::Model::BaseObject
35
+ include MasterCard::Core::Model
36
+ #
37
+
38
+ @__store = {
39
+ '1a2a144d-e8a6-402e-b867-ca2be09e3a13' => OperationConfig.new("/send/v1/partners/{partnerId}/accounts/account-info", "update", [], ["fields"]),
40
+
41
+ }
42
+
43
+ protected
44
+
45
+ def self.getOperationConfig(uuid)
46
+ if @__store.key?(uuid)
47
+ return @__store[uuid]
48
+ end
49
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
50
+ end
51
+
52
+ def self.getOperationMetadata()
53
+ return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
54
+ end
55
+
56
+ public
57
+
58
+
59
+ def read
60
+ #
61
+ #Updates an object of type AccountInfo
62
+ #
63
+ #@return AccountInfo object representing the response.
64
+ #
65
+ return self.class.execute("1a2a144d-e8a6-402e-b867-ca2be09e3a13",self)
66
+ end
67
+
68
+
69
+
70
+
71
+
72
+
73
+ end
74
+ end
75
+ end
76
+ end
77
+
78
+
79
+
80
+
81
+
82
+
83
+
@@ -0,0 +1,83 @@
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
+
31
+ module MasterCard
32
+ module API
33
+ module Disbursements
34
+ class AccountVerification < MasterCard::Core::Model::BaseObject
35
+ include MasterCard::Core::Model
36
+ #
37
+
38
+ @__store = {
39
+ '92b1d2c3-4f86-4cc7-99a1-893f1e69de9d' => OperationConfig.new("/send/v1/partners/{partnerId}/accounts/account-verification", "create", [], []),
40
+
41
+ }
42
+
43
+ protected
44
+
45
+ def self.getOperationConfig(uuid)
46
+ if @__store.key?(uuid)
47
+ return @__store[uuid]
48
+ end
49
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
50
+ end
51
+
52
+ def self.getOperationMetadata()
53
+ return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
54
+ end
55
+
56
+ public
57
+
58
+ def self.read(mapObj)
59
+ #
60
+ #Creates object of type AccountVerification
61
+ #
62
+ #@param Dict mapObj, containing the required parameters to create a new object
63
+ #@return AccountVerification of the response of created instance.
64
+ #
65
+ return self.execute("92b1d2c3-4f86-4cc7-99a1-893f1e69de9d", AccountVerification.new(mapObj))
66
+ end
67
+
68
+
69
+
70
+
71
+
72
+
73
+ end
74
+ end
75
+ end
76
+ end
77
+
78
+
79
+
80
+
81
+
82
+
83
+
@@ -0,0 +1,200 @@
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
+
31
+ module MasterCard
32
+ module API
33
+ module Disbursements
34
+ class Consumer < MasterCard::Core::Model::BaseObject
35
+ include MasterCard::Core::Model
36
+ #
37
+
38
+ @__store = {
39
+ '560eab18-865e-4066-b8c5-445f71ebf2f5' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers", "query", [], ["ref","contact_id_uri"]),
40
+ 'af046838-40a5-44e1-a38a-50519fe5c8ee' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers", "create", [], []),
41
+ 'f4b0c676-318e-462c-a563-b16bea5d2d91' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/search", "create", [], []),
42
+ 'ac9615c7-fb44-4f51-8257-b2ec6737507d' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}", "read", [], []),
43
+ '0330276d-2910-4985-bdd9-b158b0fdc8cf' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}", "update", [], []),
44
+ '0a2b21d8-1838-454a-9273-1c9aad0bda12' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}", "delete", [], []),
45
+
46
+ }
47
+
48
+ protected
49
+
50
+ def self.getOperationConfig(uuid)
51
+ if @__store.key?(uuid)
52
+ return @__store[uuid]
53
+ end
54
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
55
+ end
56
+
57
+ def self.getOperationMetadata()
58
+ return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
59
+ end
60
+
61
+ public
62
+
63
+
64
+
65
+
66
+
67
+
68
+ def self.listByReferenceOrContactID(criteria)
69
+ #
70
+ #Query objects of type Consumer by id and optional criteria
71
+ #@param type criteria
72
+ #@return Consumer object representing the response.
73
+ #
74
+
75
+ return self.execute("560eab18-865e-4066-b8c5-445f71ebf2f5",Consumer.new(criteria))
76
+ end
77
+
78
+ def self.create(mapObj)
79
+ #
80
+ #Creates object of type Consumer
81
+ #
82
+ #@param Dict mapObj, containing the required parameters to create a new object
83
+ #@return Consumer of the response of created instance.
84
+ #
85
+ return self.execute("af046838-40a5-44e1-a38a-50519fe5c8ee", Consumer.new(mapObj))
86
+ end
87
+
88
+
89
+
90
+
91
+
92
+
93
+ def self.listByReferenceContactIDOrGovernmentID(mapObj)
94
+ #
95
+ #Creates object of type Consumer
96
+ #
97
+ #@param Dict mapObj, containing the required parameters to create a new object
98
+ #@return Consumer of the response of created instance.
99
+ #
100
+ return self.execute("f4b0c676-318e-462c-a563-b16bea5d2d91", Consumer.new(mapObj))
101
+ end
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+ def self.readByID(id, criteria = nil)
113
+ #
114
+ #Returns objects of type Consumer by id and optional criteria
115
+ #@param str id
116
+ #@param dict criteria
117
+ #@return instance of Consumer
118
+
119
+ mapObj = Consumer.new
120
+ if !(id.nil? || id.to_s.empty?)
121
+ mapObj.set("id", id)
122
+ end
123
+ if !criteria.nil?
124
+ if criteria.instance_of? RequestMap
125
+ mapObj.setAll(criteria.getObject())
126
+ else
127
+ mapObj.setAll(criteria)
128
+ end
129
+ end
130
+
131
+ return self.execute("ac9615c7-fb44-4f51-8257-b2ec6737507d",Consumer.new(mapObj))
132
+ end
133
+
134
+
135
+
136
+ def update
137
+ #
138
+ #Updates an object of type Consumer
139
+ #
140
+ #@return Consumer object representing the response.
141
+ #
142
+ return self.class.execute("0330276d-2910-4985-bdd9-b158b0fdc8cf",self)
143
+ end
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+ def self.deleteById(id, map = nil)
154
+ #Delete object of type Consumer by id
155
+
156
+ #@param str id
157
+ #@param Dict map, containing additional parameters
158
+ #@return Consumer of the response of the deleted instance.
159
+
160
+
161
+ mapObj = Consumer.new
162
+ if !(id.nil? || id.to_s.empty?)
163
+ mapObj.set("id", id)
164
+ end
165
+ if !map.nil?
166
+ if map.instance_of? RequestMap
167
+ mapObj.setAll(map.getObject())
168
+ else
169
+ mapObj.setAll(map)
170
+ end
171
+ end
172
+
173
+ return self.execute("0a2b21d8-1838-454a-9273-1c9aad0bda12", mapObj)
174
+ end
175
+
176
+
177
+ def delete
178
+ #
179
+ #Delete object of type Consumer
180
+
181
+ #@param str id
182
+ #@return Consumer of the response of the deleted instance.
183
+ #
184
+
185
+ return self.class.execute("0a2b21d8-1838-454a-9273-1c9aad0bda12", self)
186
+ end
187
+
188
+
189
+
190
+ end
191
+ end
192
+ end
193
+ end
194
+
195
+
196
+
197
+
198
+
199
+
200
+
@@ -0,0 +1,184 @@
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
+
31
+ module MasterCard
32
+ module API
33
+ module Disbursements
34
+ class ConsumerAccount < MasterCard::Core::Model::BaseObject
35
+ include MasterCard::Core::Model
36
+ #
37
+
38
+ @__store = {
39
+ 'af202426-accc-4464-a9d7-407b78febb5c' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}/accounts", "query", [], ["ref"]),
40
+ 'd8605479-6d22-47e2-b627-7c414e5d3f8f' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}/accounts", "create", [], []),
41
+ 'fa3ae16e-1b83-4476-852d-015f06b5fc49' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}/accounts/{accountId}", "read", [], []),
42
+ '52110807-e8e7-4ea3-b426-b5f788b67da4' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}/accounts/{accountId}", "update", [], []),
43
+ 'c44432ea-31ce-4805-bfef-1b876a35e94b' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}/accounts/{accountId}", "delete", [], []),
44
+
45
+ }
46
+
47
+ protected
48
+
49
+ def self.getOperationConfig(uuid)
50
+ if @__store.key?(uuid)
51
+ return @__store[uuid]
52
+ end
53
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
54
+ end
55
+
56
+ def self.getOperationMetadata()
57
+ return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
58
+ end
59
+
60
+ public
61
+
62
+
63
+
64
+
65
+
66
+
67
+ def self.listAll(criteria)
68
+ #
69
+ #Query objects of type ConsumerAccount by id and optional criteria
70
+ #@param type criteria
71
+ #@return ConsumerAccount object representing the response.
72
+ #
73
+
74
+ return self.execute("af202426-accc-4464-a9d7-407b78febb5c",ConsumerAccount.new(criteria))
75
+ end
76
+
77
+ def self.create(mapObj)
78
+ #
79
+ #Creates object of type ConsumerAccount
80
+ #
81
+ #@param Dict mapObj, containing the required parameters to create a new object
82
+ #@return ConsumerAccount of the response of created instance.
83
+ #
84
+ return self.execute("d8605479-6d22-47e2-b627-7c414e5d3f8f", ConsumerAccount.new(mapObj))
85
+ end
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+ def self.readByID(id, criteria = nil)
97
+ #
98
+ #Returns objects of type ConsumerAccount by id and optional criteria
99
+ #@param str id
100
+ #@param dict criteria
101
+ #@return instance of ConsumerAccount
102
+
103
+ mapObj = ConsumerAccount.new
104
+ if !(id.nil? || id.to_s.empty?)
105
+ mapObj.set("id", id)
106
+ end
107
+ if !criteria.nil?
108
+ if criteria.instance_of? RequestMap
109
+ mapObj.setAll(criteria.getObject())
110
+ else
111
+ mapObj.setAll(criteria)
112
+ end
113
+ end
114
+
115
+ return self.execute("fa3ae16e-1b83-4476-852d-015f06b5fc49",ConsumerAccount.new(mapObj))
116
+ end
117
+
118
+
119
+
120
+ def update
121
+ #
122
+ #Updates an object of type ConsumerAccount
123
+ #
124
+ #@return ConsumerAccount object representing the response.
125
+ #
126
+ return self.class.execute("52110807-e8e7-4ea3-b426-b5f788b67da4",self)
127
+ end
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+ def self.deleteById(id, map = nil)
138
+ #Delete object of type ConsumerAccount by id
139
+
140
+ #@param str id
141
+ #@param Dict map, containing additional parameters
142
+ #@return ConsumerAccount of the response of the deleted instance.
143
+
144
+
145
+ mapObj = ConsumerAccount.new
146
+ if !(id.nil? || id.to_s.empty?)
147
+ mapObj.set("id", id)
148
+ end
149
+ if !map.nil?
150
+ if map.instance_of? RequestMap
151
+ mapObj.setAll(map.getObject())
152
+ else
153
+ mapObj.setAll(map)
154
+ end
155
+ end
156
+
157
+ return self.execute("c44432ea-31ce-4805-bfef-1b876a35e94b", mapObj)
158
+ end
159
+
160
+
161
+ def delete
162
+ #
163
+ #Delete object of type ConsumerAccount
164
+
165
+ #@param str id
166
+ #@return ConsumerAccount of the response of the deleted instance.
167
+ #
168
+
169
+ return self.class.execute("c44432ea-31ce-4805-bfef-1b876a35e94b", self)
170
+ end
171
+
172
+
173
+
174
+ end
175
+ end
176
+ end
177
+ end
178
+
179
+
180
+
181
+
182
+
183
+
184
+
@@ -0,0 +1,184 @@
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
+
31
+ module MasterCard
32
+ module API
33
+ module Disbursements
34
+ class ConsumerContactID < MasterCard::Core::Model::BaseObject
35
+ include MasterCard::Core::Model
36
+ #
37
+
38
+ @__store = {
39
+ 'f938bb7a-30f2-48a8-8db1-57e8f9b4cc86' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}/contact_ids", "query", [], []),
40
+ 'a4e95dbf-20f1-4abe-9f63-ac49cf213db5' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}/contact_ids", "create", [], []),
41
+ '7d20c9f7-032e-4544-aa2d-fcf5f309dc10' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}/contact_ids/{contactId}", "read", [], []),
42
+ '23c91eec-7002-484b-b80b-b4927ad7e4f3' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}/contact_ids/{contactId}", "update", [], []),
43
+ '205356a7-5e50-480c-a6f4-384c078648eb' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}/contact_ids/{contactId}", "delete", [], []),
44
+
45
+ }
46
+
47
+ protected
48
+
49
+ def self.getOperationConfig(uuid)
50
+ if @__store.key?(uuid)
51
+ return @__store[uuid]
52
+ end
53
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
54
+ end
55
+
56
+ def self.getOperationMetadata()
57
+ return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
58
+ end
59
+
60
+ public
61
+
62
+
63
+
64
+
65
+
66
+
67
+ def self.listAll(criteria)
68
+ #
69
+ #Query objects of type ConsumerContactID by id and optional criteria
70
+ #@param type criteria
71
+ #@return ConsumerContactID object representing the response.
72
+ #
73
+
74
+ return self.execute("f938bb7a-30f2-48a8-8db1-57e8f9b4cc86",ConsumerContactID.new(criteria))
75
+ end
76
+
77
+ def self.create(mapObj)
78
+ #
79
+ #Creates object of type ConsumerContactID
80
+ #
81
+ #@param Dict mapObj, containing the required parameters to create a new object
82
+ #@return ConsumerContactID of the response of created instance.
83
+ #
84
+ return self.execute("a4e95dbf-20f1-4abe-9f63-ac49cf213db5", ConsumerContactID.new(mapObj))
85
+ end
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+ def self.read(id, criteria = nil)
97
+ #
98
+ #Returns objects of type ConsumerContactID by id and optional criteria
99
+ #@param str id
100
+ #@param dict criteria
101
+ #@return instance of ConsumerContactID
102
+
103
+ mapObj = ConsumerContactID.new
104
+ if !(id.nil? || id.to_s.empty?)
105
+ mapObj.set("id", id)
106
+ end
107
+ if !criteria.nil?
108
+ if criteria.instance_of? RequestMap
109
+ mapObj.setAll(criteria.getObject())
110
+ else
111
+ mapObj.setAll(criteria)
112
+ end
113
+ end
114
+
115
+ return self.execute("7d20c9f7-032e-4544-aa2d-fcf5f309dc10",ConsumerContactID.new(mapObj))
116
+ end
117
+
118
+
119
+
120
+ def update
121
+ #
122
+ #Updates an object of type ConsumerContactID
123
+ #
124
+ #@return ConsumerContactID object representing the response.
125
+ #
126
+ return self.class.execute("23c91eec-7002-484b-b80b-b4927ad7e4f3",self)
127
+ end
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+ def self.deleteById(id, map = nil)
138
+ #Delete object of type ConsumerContactID by id
139
+
140
+ #@param str id
141
+ #@param Dict map, containing additional parameters
142
+ #@return ConsumerContactID of the response of the deleted instance.
143
+
144
+
145
+ mapObj = ConsumerContactID.new
146
+ if !(id.nil? || id.to_s.empty?)
147
+ mapObj.set("id", id)
148
+ end
149
+ if !map.nil?
150
+ if map.instance_of? RequestMap
151
+ mapObj.setAll(map.getObject())
152
+ else
153
+ mapObj.setAll(map)
154
+ end
155
+ end
156
+
157
+ return self.execute("205356a7-5e50-480c-a6f4-384c078648eb", mapObj)
158
+ end
159
+
160
+
161
+ def delete
162
+ #
163
+ #Delete object of type ConsumerContactID
164
+
165
+ #@param str id
166
+ #@return ConsumerContactID of the response of the deleted instance.
167
+ #
168
+
169
+ return self.class.execute("205356a7-5e50-480c-a6f4-384c078648eb", self)
170
+ end
171
+
172
+
173
+
174
+ end
175
+ end
176
+ end
177
+ end
178
+
179
+
180
+
181
+
182
+
183
+
184
+
@@ -0,0 +1,184 @@
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
+
31
+ module MasterCard
32
+ module API
33
+ module Disbursements
34
+ class ConsumerGovernmentID < MasterCard::Core::Model::BaseObject
35
+ include MasterCard::Core::Model
36
+ #
37
+
38
+ @__store = {
39
+ 'bb429b81-75c8-438f-b45f-1e2520e08f1c' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}/government_ids", "query", [], []),
40
+ '0e289fcc-76ae-42b1-bfa6-6fabfe841dfe' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}/government_ids", "create", [], []),
41
+ 'c6cc2c63-1574-436c-84c3-d8aecaacd39a' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}/government_ids/{governmentId}", "read", [], []),
42
+ '4049d150-3155-47bc-986b-f303b46b6a7d' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}/government_ids/{governmentId}", "update", [], []),
43
+ '615abf47-e3d7-4d40-badf-1f1849a58936' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/{consumerId}/government_ids/{governmentId}", "delete", [], []),
44
+
45
+ }
46
+
47
+ protected
48
+
49
+ def self.getOperationConfig(uuid)
50
+ if @__store.key?(uuid)
51
+ return @__store[uuid]
52
+ end
53
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
54
+ end
55
+
56
+ def self.getOperationMetadata()
57
+ return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
58
+ end
59
+
60
+ public
61
+
62
+
63
+
64
+
65
+
66
+
67
+ def self.listAll(criteria)
68
+ #
69
+ #Query objects of type ConsumerGovernmentID by id and optional criteria
70
+ #@param type criteria
71
+ #@return ConsumerGovernmentID object representing the response.
72
+ #
73
+
74
+ return self.execute("bb429b81-75c8-438f-b45f-1e2520e08f1c",ConsumerGovernmentID.new(criteria))
75
+ end
76
+
77
+ def self.create(mapObj)
78
+ #
79
+ #Creates object of type ConsumerGovernmentID
80
+ #
81
+ #@param Dict mapObj, containing the required parameters to create a new object
82
+ #@return ConsumerGovernmentID of the response of created instance.
83
+ #
84
+ return self.execute("0e289fcc-76ae-42b1-bfa6-6fabfe841dfe", ConsumerGovernmentID.new(mapObj))
85
+ end
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+ def self.read(id, criteria = nil)
97
+ #
98
+ #Returns objects of type ConsumerGovernmentID by id and optional criteria
99
+ #@param str id
100
+ #@param dict criteria
101
+ #@return instance of ConsumerGovernmentID
102
+
103
+ mapObj = ConsumerGovernmentID.new
104
+ if !(id.nil? || id.to_s.empty?)
105
+ mapObj.set("id", id)
106
+ end
107
+ if !criteria.nil?
108
+ if criteria.instance_of? RequestMap
109
+ mapObj.setAll(criteria.getObject())
110
+ else
111
+ mapObj.setAll(criteria)
112
+ end
113
+ end
114
+
115
+ return self.execute("c6cc2c63-1574-436c-84c3-d8aecaacd39a",ConsumerGovernmentID.new(mapObj))
116
+ end
117
+
118
+
119
+
120
+ def update
121
+ #
122
+ #Updates an object of type ConsumerGovernmentID
123
+ #
124
+ #@return ConsumerGovernmentID object representing the response.
125
+ #
126
+ return self.class.execute("4049d150-3155-47bc-986b-f303b46b6a7d",self)
127
+ end
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+ def self.deleteById(id, map = nil)
138
+ #Delete object of type ConsumerGovernmentID by id
139
+
140
+ #@param str id
141
+ #@param Dict map, containing additional parameters
142
+ #@return ConsumerGovernmentID of the response of the deleted instance.
143
+
144
+
145
+ mapObj = ConsumerGovernmentID.new
146
+ if !(id.nil? || id.to_s.empty?)
147
+ mapObj.set("id", id)
148
+ end
149
+ if !map.nil?
150
+ if map.instance_of? RequestMap
151
+ mapObj.setAll(map.getObject())
152
+ else
153
+ mapObj.setAll(map)
154
+ end
155
+ end
156
+
157
+ return self.execute("615abf47-e3d7-4d40-badf-1f1849a58936", mapObj)
158
+ end
159
+
160
+
161
+ def delete
162
+ #
163
+ #Delete object of type ConsumerGovernmentID
164
+
165
+ #@param str id
166
+ #@return ConsumerGovernmentID of the response of the deleted instance.
167
+ #
168
+
169
+ return self.class.execute("615abf47-e3d7-4d40-badf-1f1849a58936", self)
170
+ end
171
+
172
+
173
+
174
+ end
175
+ end
176
+ end
177
+ end
178
+
179
+
180
+
181
+
182
+
183
+
184
+
@@ -0,0 +1,127 @@
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
+
31
+ module MasterCard
32
+ module API
33
+ module Disbursements
34
+ class Disbursement < MasterCard::Core::Model::BaseObject
35
+ include MasterCard::Core::Model
36
+ #
37
+
38
+ @__store = {
39
+ '1474c79c-be5d-480d-87aa-915b1d99fc57' => OperationConfig.new("/send/v1/partners/{partnerId}/disbursements", "query", [], ["ref"]),
40
+ '4aa6a67c-e845-411f-8ce0-6938caf4714e' => OperationConfig.new("/send/v1/partners/{partnerId}/disbursements/payment", "create", [], []),
41
+ '995f5d67-90b2-4509-b8d0-8d65d69d1e0d' => OperationConfig.new("/send/v1/partners/{partnerId}/disbursements/{disbursementId}", "read", [], []),
42
+
43
+ }
44
+
45
+ protected
46
+
47
+ def self.getOperationConfig(uuid)
48
+ if @__store.key?(uuid)
49
+ return @__store[uuid]
50
+ end
51
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
52
+ end
53
+
54
+ def self.getOperationMetadata()
55
+ return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
56
+ end
57
+
58
+ public
59
+
60
+
61
+
62
+
63
+
64
+
65
+ def self.readByReference(criteria)
66
+ #
67
+ #Query objects of type Disbursement by id and optional criteria
68
+ #@param type criteria
69
+ #@return Disbursement object representing the response.
70
+ #
71
+
72
+ return self.execute("1474c79c-be5d-480d-87aa-915b1d99fc57",Disbursement.new(criteria))
73
+ end
74
+
75
+ def self.create(mapObj)
76
+ #
77
+ #Creates object of type Disbursement
78
+ #
79
+ #@param Dict mapObj, containing the required parameters to create a new object
80
+ #@return Disbursement of the response of created instance.
81
+ #
82
+ return self.execute("4aa6a67c-e845-411f-8ce0-6938caf4714e", Disbursement.new(mapObj))
83
+ end
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+ def self.readByID(id, criteria = nil)
95
+ #
96
+ #Returns objects of type Disbursement by id and optional criteria
97
+ #@param str id
98
+ #@param dict criteria
99
+ #@return instance of Disbursement
100
+
101
+ mapObj = Disbursement.new
102
+ if !(id.nil? || id.to_s.empty?)
103
+ mapObj.set("id", id)
104
+ end
105
+ if !criteria.nil?
106
+ if criteria.instance_of? RequestMap
107
+ mapObj.setAll(criteria.getObject())
108
+ else
109
+ mapObj.setAll(criteria)
110
+ end
111
+ end
112
+
113
+ return self.execute("995f5d67-90b2-4509-b8d0-8d65d69d1e0d",Disbursement.new(mapObj))
114
+ end
115
+
116
+
117
+ end
118
+ end
119
+ end
120
+ end
121
+
122
+
123
+
124
+
125
+
126
+
127
+
@@ -0,0 +1,83 @@
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
+
31
+ module MasterCard
32
+ module API
33
+ module Disbursements
34
+ class SanctionScreening < MasterCard::Core::Model::BaseObject
35
+ include MasterCard::Core::Model
36
+ #
37
+
38
+ @__store = {
39
+ '8f63053a-d75c-4aae-8942-fa1c105e7a95' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/sanction_screening", "update", [], []),
40
+
41
+ }
42
+
43
+ protected
44
+
45
+ def self.getOperationConfig(uuid)
46
+ if @__store.key?(uuid)
47
+ return @__store[uuid]
48
+ end
49
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
50
+ end
51
+
52
+ def self.getOperationMetadata()
53
+ return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
54
+ end
55
+
56
+ public
57
+
58
+
59
+ def read
60
+ #
61
+ #Updates an object of type SanctionScreening
62
+ #
63
+ #@return SanctionScreening object representing the response.
64
+ #
65
+ return self.class.execute("8f63053a-d75c-4aae-8942-fa1c105e7a95",self)
66
+ end
67
+
68
+
69
+
70
+
71
+
72
+
73
+ end
74
+ end
75
+ end
76
+ end
77
+
78
+
79
+
80
+
81
+
82
+
83
+
@@ -0,0 +1,50 @@
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
+ module MasterCard
28
+ module API
29
+ module Disbursements
30
+ class SDKConfig
31
+
32
+ private
33
+ @@host = nil
34
+
35
+ public
36
+ def self.setHost(host)
37
+ @@host = host
38
+ end
39
+
40
+ def self.getHost()
41
+ return @@host
42
+ end
43
+
44
+ def self.getVersion()
45
+ return "1.0.1"
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,10 @@
1
+ require 'mastercard_api_core'
2
+ require 'mastercard/api/disbursements/skdconfig'
3
+ require 'mastercard/api/disbursements/consumergovernmentid'
4
+ require 'mastercard/api/disbursements/consumeraccount'
5
+ require 'mastercard/api/disbursements/consumer'
6
+ require 'mastercard/api/disbursements/disbursement'
7
+ require 'mastercard/api/disbursements/sanctionscreening'
8
+ require 'mastercard/api/disbursements/accountinfo'
9
+ require 'mastercard/api/disbursements/consumercontactid'
10
+ require 'mastercard/api/disbursements/accountverification'
metadata ADDED
@@ -0,0 +1,88 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mastercard_disbursements
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
5
+ platform: ruby
6
+ authors:
7
+ - MasterCard Worldwide
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-11-15 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: mastercard_api_core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.2.0
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.2.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: 1.2.0
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.2.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: ci_reporter_minitest
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ description: MasterCard Disbursements Description
48
+ email:
49
+ - APISupport@mastercard.com
50
+ executables: []
51
+ extensions: []
52
+ extra_rdoc_files: []
53
+ files:
54
+ - lib/mastercard/api/disbursements/accountinfo.rb
55
+ - lib/mastercard/api/disbursements/accountverification.rb
56
+ - lib/mastercard/api/disbursements/consumer.rb
57
+ - lib/mastercard/api/disbursements/consumeraccount.rb
58
+ - lib/mastercard/api/disbursements/consumercontactid.rb
59
+ - lib/mastercard/api/disbursements/consumergovernmentid.rb
60
+ - lib/mastercard/api/disbursements/disbursement.rb
61
+ - lib/mastercard/api/disbursements/sanctionscreening.rb
62
+ - lib/mastercard/api/disbursements/skdconfig.rb
63
+ - lib/mastercard_disbursements.rb
64
+ homepage: https://developer.mastercard.com
65
+ licenses:
66
+ - BSD-2-Clause
67
+ metadata: {}
68
+ post_install_message:
69
+ rdoc_options: []
70
+ require_paths:
71
+ - lib
72
+ required_ruby_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ required_rubygems_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ requirements: []
83
+ rubyforge_project:
84
+ rubygems_version: 2.5.1
85
+ signing_key:
86
+ specification_version: 4
87
+ summary: MasterCard Disbursements SDK
88
+ test_files: []