mastercard_mastercom 0.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7e3a998e952637ed700aef8f1f99aea9a8af89b4
4
+ data.tar.gz: b44f77c8b2cbf40a3692d26584573ef95b2920b9
5
+ SHA512:
6
+ metadata.gz: 213864a529076ddcec03cd1fa582799caf037621c83bd32a52a60460498b6ff6898446eeeaee7478b93bd7f95cc5d44c664b4b03d7d23132d326933c28cb32e2
7
+ data.tar.gz: 367557011d25381a1b6c02685924101b9fb818498cb3673deeac7344db40f156314b5006cd2efdaa453501ee147400f1cb3e1c9f7c8d630c7134b7675175bafc
@@ -0,0 +1,122 @@
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 Mastercom
35
+ class CaseFiling < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ 'fd8d50c1-79e3-4d4d-93d2-476608b68ebf' => OperationConfig.new("/mastercom/v1/cases", "create", [], []),
41
+ '6c3a468a-c293-4996-946f-e7650a5b4a80' => OperationConfig.new("/mastercom/v1/cases/{case-id}/documents", "query", [], ["format"]),
42
+ 'c55c8ce8-227a-40f2-bd97-cdc3bdd2eb54' => OperationConfig.new("/mastercom/v1/cases/{case-id}", "update", [], []),
43
+
44
+ }
45
+
46
+ protected
47
+
48
+ def self.getOperationConfig(operationUUID)
49
+ if @__store.key?(operationUUID)
50
+ return @__store[operationUUID]
51
+ end
52
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
53
+ end
54
+
55
+ def self.getOperationMetadata()
56
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
57
+ end
58
+
59
+ public
60
+
61
+
62
+ def self.create(mapObj)
63
+ #
64
+ #Creates object of type CaseFiling
65
+ #
66
+ #@param Dict mapObj, containing the required parameters to create a new object
67
+ #@return [CaseFiling] of the response of created instance.
68
+ #@raise [APIException] an exception from the response status
69
+ return self.execute("fd8d50c1-79e3-4d4d-93d2-476608b68ebf", CaseFiling.new(mapObj))
70
+ end
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+ def self.retrieveDocumentation(criteria)
84
+ #
85
+ #Query objects of type CaseFiling by id and optional criteria
86
+ #@param [Dict] criteria
87
+ #@return [CaseFiling] object representing the response.
88
+ #@raise [APIException] an exception from the response status
89
+ #
90
+
91
+ return self.execute("6c3a468a-c293-4996-946f-e7650a5b4a80",CaseFiling.new(criteria))
92
+ end
93
+
94
+
95
+
96
+ def update
97
+ #
98
+ #Updates an object of type CaseFiling
99
+ #
100
+ #@return [CaseFiling] object representing the response.
101
+ #@raise [APIException] an exception from the response status
102
+ #
103
+ return self.class.execute("c55c8ce8-227a-40f2-bd97-cdc3bdd2eb54",self)
104
+ end
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+ end
113
+ end
114
+ end
115
+ end
116
+
117
+
118
+
119
+
120
+
121
+
122
+
@@ -0,0 +1,157 @@
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 Mastercom
35
+ class Chargebacks < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ '3599e7fc-bb22-424f-a310-beb39f7598eb' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/chargebacks", "create", [], []),
41
+ '9b86f645-9868-433f-9b03-4af1e2f2a9fb' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/chargebacks/{chargeback-id}/reversal", "create", [], []),
42
+ '833e3108-d43a-4001-9247-fbc64f657d4d' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/chargebacks/{chargeback-id}/documents", "query", [], ["chargeback-type","format"]),
43
+ 'ca9a61a9-043d-487e-935e-c2f52b8a949f' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/chargebacks/loaddataforchargebacks", "query", [], []),
44
+ '35e67f00-00b3-4b20-976b-7e96486f93a8' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/chargebacks/{chargeback-id}", "update", [], []),
45
+
46
+ }
47
+
48
+ protected
49
+
50
+ def self.getOperationConfig(operationUUID)
51
+ if @__store.key?(operationUUID)
52
+ return @__store[operationUUID]
53
+ end
54
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
55
+ end
56
+
57
+ def self.getOperationMetadata()
58
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
59
+ end
60
+
61
+ public
62
+
63
+
64
+ def self.create(mapObj)
65
+ #
66
+ #Creates object of type Chargebacks
67
+ #
68
+ #@param Dict mapObj, containing the required parameters to create a new object
69
+ #@return [Chargebacks] of the response of created instance.
70
+ #@raise [APIException] an exception from the response status
71
+ return self.execute("3599e7fc-bb22-424f-a310-beb39f7598eb", Chargebacks.new(mapObj))
72
+ end
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+ def self.createReversal(mapObj)
81
+ #
82
+ #Creates object of type Chargebacks
83
+ #
84
+ #@param Dict mapObj, containing the required parameters to create a new object
85
+ #@return [Chargebacks] of the response of created instance.
86
+ #@raise [APIException] an exception from the response status
87
+ return self.execute("9b86f645-9868-433f-9b03-4af1e2f2a9fb", Chargebacks.new(mapObj))
88
+ end
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+ def self.retrieveDocumentation(criteria)
102
+ #
103
+ #Query objects of type Chargebacks by id and optional criteria
104
+ #@param [Dict] criteria
105
+ #@return [Chargebacks] object representing the response.
106
+ #@raise [APIException] an exception from the response status
107
+ #
108
+
109
+ return self.execute("833e3108-d43a-4001-9247-fbc64f657d4d",Chargebacks.new(criteria))
110
+ end
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+ def self.getPossibleValueListsForCreate(criteria)
119
+ #
120
+ #Query objects of type Chargebacks by id and optional criteria
121
+ #@param [Dict] criteria
122
+ #@return [Chargebacks] object representing the response.
123
+ #@raise [APIException] an exception from the response status
124
+ #
125
+
126
+ return self.execute("ca9a61a9-043d-487e-935e-c2f52b8a949f",Chargebacks.new(criteria))
127
+ end
128
+
129
+
130
+
131
+ def update
132
+ #
133
+ #Updates an object of type Chargebacks
134
+ #
135
+ #@return [Chargebacks] object representing the response.
136
+ #@raise [APIException] an exception from the response status
137
+ #
138
+ return self.class.execute("35e67f00-00b3-4b20-976b-7e96486f93a8",self)
139
+ end
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+ end
148
+ end
149
+ end
150
+ end
151
+
152
+
153
+
154
+
155
+
156
+
157
+
@@ -0,0 +1,134 @@
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 Mastercom
35
+ class Claims < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ 'b18446b8-74f6-4ac3-bd6d-a52c5ef6842a' => OperationConfig.new("/mastercom/v1/claims", "create", [], []),
41
+ '047c65e5-4488-4ed6-b6cf-5edeaad32d51' => OperationConfig.new("/mastercom/v1/claims/{claim-id}", "read", [], []),
42
+ '19249b67-da29-4974-843d-12f11bf76bc3' => OperationConfig.new("/mastercom/v1/claims/{claim-id}", "update", [], []),
43
+
44
+ }
45
+
46
+ protected
47
+
48
+ def self.getOperationConfig(operationUUID)
49
+ if @__store.key?(operationUUID)
50
+ return @__store[operationUUID]
51
+ end
52
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
53
+ end
54
+
55
+ def self.getOperationMetadata()
56
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
57
+ end
58
+
59
+ public
60
+
61
+
62
+ def self.create(mapObj)
63
+ #
64
+ #Creates object of type Claims
65
+ #
66
+ #@param Dict mapObj, containing the required parameters to create a new object
67
+ #@return [Claims] of the response of created instance.
68
+ #@raise [APIException] an exception from the response status
69
+ return self.execute("b18446b8-74f6-4ac3-bd6d-a52c5ef6842a", Claims.new(mapObj))
70
+ end
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+ def self.retrieve(id, criteria = nil)
83
+ #
84
+ #Returns objects of type Claims by id and optional criteria
85
+ #@param [String] id
86
+ #@param [Dict] criteria
87
+ #@return [Claims] object representing the response
88
+ #@raise [APIException] an exception from the response status
89
+
90
+ mapObj = Claims.new
91
+ if !(id.nil? || id.to_s.empty?)
92
+ mapObj.set("id", id)
93
+ end
94
+ if !criteria.nil?
95
+ if criteria.instance_of? RequestMap
96
+ mapObj.setAll(criteria.getObject())
97
+ else
98
+ mapObj.setAll(criteria)
99
+ end
100
+ end
101
+
102
+ return self.execute("047c65e5-4488-4ed6-b6cf-5edeaad32d51",Claims.new(mapObj))
103
+ end
104
+
105
+
106
+
107
+
108
+ def update
109
+ #
110
+ #Updates an object of type Claims
111
+ #
112
+ #@return [Claims] object representing the response.
113
+ #@raise [APIException] an exception from the response status
114
+ #
115
+ return self.class.execute("19249b67-da29-4974-843d-12f11bf76bc3",self)
116
+ end
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+ end
125
+ end
126
+ end
127
+ end
128
+
129
+
130
+
131
+
132
+
133
+
134
+
@@ -0,0 +1,104 @@
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 Mastercom
35
+ class Fees < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ 'ccf86960-d140-47bd-ab1f-1e05c93ce380' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/fee", "create", [], []),
41
+ '7d5eb775-8ea7-467c-9559-ef61ee1b9ddd' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/fees/loaddataforfees", "query", [], []),
42
+
43
+ }
44
+
45
+ protected
46
+
47
+ def self.getOperationConfig(operationUUID)
48
+ if @__store.key?(operationUUID)
49
+ return @__store[operationUUID]
50
+ end
51
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
52
+ end
53
+
54
+ def self.getOperationMetadata()
55
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
56
+ end
57
+
58
+ public
59
+
60
+
61
+ def self.create(mapObj)
62
+ #
63
+ #Creates object of type Fees
64
+ #
65
+ #@param Dict mapObj, containing the required parameters to create a new object
66
+ #@return [Fees] of the response of created instance.
67
+ #@raise [APIException] an exception from the response status
68
+ return self.execute("ccf86960-d140-47bd-ab1f-1e05c93ce380", Fees.new(mapObj))
69
+ end
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+ def self.getPossibleValueListsForCreate(criteria)
83
+ #
84
+ #Query objects of type Fees by id and optional criteria
85
+ #@param [Dict] criteria
86
+ #@return [Fees] object representing the response.
87
+ #@raise [APIException] an exception from the response status
88
+ #
89
+
90
+ return self.execute("7d5eb775-8ea7-467c-9559-ef61ee1b9ddd",Fees.new(criteria))
91
+ end
92
+
93
+
94
+ end
95
+ end
96
+ end
97
+ end
98
+
99
+
100
+
101
+
102
+
103
+
104
+
@@ -0,0 +1,104 @@
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 Mastercom
35
+ class Fraud < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ '912bc7a7-ec9c-48bc-a6ed-c6b3b5d35681' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/fraud/mastercard", "create", [], []),
41
+ '23d06267-6f79-46df-993d-fb44514ce345' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/fraud/loaddataforfraud", "query", [], []),
42
+
43
+ }
44
+
45
+ protected
46
+
47
+ def self.getOperationConfig(operationUUID)
48
+ if @__store.key?(operationUUID)
49
+ return @__store[operationUUID]
50
+ end
51
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
52
+ end
53
+
54
+ def self.getOperationMetadata()
55
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
56
+ end
57
+
58
+ public
59
+
60
+
61
+ def self.createForMasterCard(mapObj)
62
+ #
63
+ #Creates object of type Fraud
64
+ #
65
+ #@param Dict mapObj, containing the required parameters to create a new object
66
+ #@return [Fraud] of the response of created instance.
67
+ #@raise [APIException] an exception from the response status
68
+ return self.execute("912bc7a7-ec9c-48bc-a6ed-c6b3b5d35681", Fraud.new(mapObj))
69
+ end
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+ def self.getPossibleValueListsForCreate(criteria)
83
+ #
84
+ #Query objects of type Fraud by id and optional criteria
85
+ #@param [Dict] criteria
86
+ #@return [Fraud] object representing the response.
87
+ #@raise [APIException] an exception from the response status
88
+ #
89
+
90
+ return self.execute("23d06267-6f79-46df-993d-fb44514ce345",Fraud.new(criteria))
91
+ end
92
+
93
+
94
+ end
95
+ end
96
+ end
97
+ end
98
+
99
+
100
+
101
+
102
+
103
+
104
+
@@ -0,0 +1,120 @@
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 Mastercom
35
+ class Queues < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ 'be506ce9-ed02-463e-a6a6-b6056fcc0e40' => OperationConfig.new("/mastercom/v1/queues/{queue-name}", "read", [], []),
41
+ '37b0dd1b-f102-4faa-83a5-fd6eb3c20ff3' => OperationConfig.new("/mastercom/v1/queues/names", "list", [], []),
42
+
43
+ }
44
+
45
+ protected
46
+
47
+ def self.getOperationConfig(operationUUID)
48
+ if @__store.key?(operationUUID)
49
+ return @__store[operationUUID]
50
+ end
51
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
52
+ end
53
+
54
+ def self.getOperationMetadata()
55
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
56
+ end
57
+
58
+ public
59
+
60
+
61
+
62
+
63
+
64
+
65
+ def self.retrieveClaimsFromQueue(id, criteria = nil)
66
+ #
67
+ #Returns objects of type Queues by id and optional criteria
68
+ #@param [String] id
69
+ #@param [Dict] criteria
70
+ #@return [Queues] object representing the response
71
+ #@raise [APIException] an exception from the response status
72
+
73
+ mapObj = Queues.new
74
+ if !(id.nil? || id.to_s.empty?)
75
+ mapObj.set("id", id)
76
+ end
77
+ if !criteria.nil?
78
+ if criteria.instance_of? RequestMap
79
+ mapObj.setAll(criteria.getObject())
80
+ else
81
+ mapObj.setAll(criteria)
82
+ end
83
+ end
84
+
85
+ return self.execute("be506ce9-ed02-463e-a6a6-b6056fcc0e40",Queues.new(mapObj))
86
+ end
87
+
88
+
89
+
90
+
91
+
92
+ def self.retrieveQueueNames(criteria = nil)
93
+ #
94
+ #List objects of type Queues
95
+ #
96
+ #@param [Dict] criteria
97
+ #@return Array [Queues] object matching the criteria.
98
+ #@raise [APIException] an exception from the response status
99
+
100
+ if criteria.nil?
101
+ return self.execute("37b0dd1b-f102-4faa-83a5-fd6eb3c20ff3",Queues.new)
102
+ else
103
+ return self.execute("37b0dd1b-f102-4faa-83a5-fd6eb3c20ff3",Queues.new(criteria))
104
+ end
105
+ end
106
+
107
+
108
+
109
+
110
+ end
111
+ end
112
+ end
113
+ end
114
+
115
+
116
+
117
+
118
+
119
+
120
+
@@ -0,0 +1,103 @@
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
+ require "mastercard/core/constants"
29
+ require "mastercard/core/config"
30
+
31
+ module MasterCard
32
+ module API
33
+ module Mastercom
34
+ class ResourceConfig
35
+ include MasterCard::Core
36
+
37
+ @@instance = nil
38
+
39
+ def initialize
40
+ @name = "mastercom"
41
+ @override = nil
42
+ @host = nil
43
+ @context = nil
44
+ @version = "mastercom:0.0.2"
45
+ @jsonNative = true
46
+
47
+ Config.registerResourceConfig(self)
48
+ currentEnvironment = Config.getEnvironment()
49
+ self.setEnvironment(currentEnvironment)
50
+
51
+ end
52
+
53
+
54
+ def self.instance
55
+ return @@instance
56
+ end
57
+
58
+
59
+ def getName
60
+ return @name
61
+ end
62
+
63
+
64
+ def getHost
65
+ unless @override.nil? || @override == 0
66
+ return @override
67
+ else
68
+ return @host
69
+ end
70
+ end
71
+
72
+ def getContext
73
+ return @context
74
+ end
75
+
76
+ def getVersion
77
+ return @version
78
+ end
79
+
80
+ def getJsonNative
81
+ return @jsonNative
82
+ end
83
+
84
+ def setEnvironment(environmet)
85
+ if Environment::MAPPING.key?(environmet)
86
+ tuple = Environment::MAPPING[environmet]
87
+ @host = tuple[0]
88
+ @context = tuple[1]
89
+ end
90
+ end
91
+
92
+ def setCustomEnvironment(host,context)
93
+ @host = host
94
+ @context = context
95
+ end
96
+
97
+ @@instance = ResourceConfig.new
98
+
99
+ private_class_method :new
100
+ end
101
+ end
102
+ end
103
+ end
@@ -0,0 +1,156 @@
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 Mastercom
35
+ class Retrievals < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ '9a20747a-8d09-48f8-b8a7-af51715187c9' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/retrievalrequests/{request-id}/fulfillments", "create", [], []),
41
+ '60bf9970-1aeb-4e65-8e64-8a9d7f7e9818' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/retrievalrequests", "create", [], []),
42
+ '77000b47-d95c-4192-9299-47f91fef7544' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/retrievalrequests/loaddataforretrievalrequests", "query", [], []),
43
+ '7634df7d-12ca-4abf-a9bd-736ba3a13afe' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/retrievalrequests/{request-id}/documents", "query", [], ["format"]),
44
+ '49230f0e-1fd8-443c-8404-b58337677fa1' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/retrievalrequests/{request-id}/fulfillments/response", "create", [], []),
45
+
46
+ }
47
+
48
+ protected
49
+
50
+ def self.getOperationConfig(operationUUID)
51
+ if @__store.key?(operationUUID)
52
+ return @__store[operationUUID]
53
+ end
54
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
55
+ end
56
+
57
+ def self.getOperationMetadata()
58
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
59
+ end
60
+
61
+ public
62
+
63
+
64
+ def self.acquirerFulfillARequest(mapObj)
65
+ #
66
+ #Creates object of type Retrievals
67
+ #
68
+ #@param Dict mapObj, containing the required parameters to create a new object
69
+ #@return [Retrievals] of the response of created instance.
70
+ #@raise [APIException] an exception from the response status
71
+ return self.execute("9a20747a-8d09-48f8-b8a7-af51715187c9", Retrievals.new(mapObj))
72
+ end
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+ def self.create(mapObj)
81
+ #
82
+ #Creates object of type Retrievals
83
+ #
84
+ #@param Dict mapObj, containing the required parameters to create a new object
85
+ #@return [Retrievals] of the response of created instance.
86
+ #@raise [APIException] an exception from the response status
87
+ return self.execute("60bf9970-1aeb-4e65-8e64-8a9d7f7e9818", Retrievals.new(mapObj))
88
+ end
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+ def self.getPossibleValueListsForCreate(criteria)
102
+ #
103
+ #Query objects of type Retrievals by id and optional criteria
104
+ #@param [Dict] criteria
105
+ #@return [Retrievals] object representing the response.
106
+ #@raise [APIException] an exception from the response status
107
+ #
108
+
109
+ return self.execute("77000b47-d95c-4192-9299-47f91fef7544",Retrievals.new(criteria))
110
+ end
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+ def self.getDocumentation(criteria)
119
+ #
120
+ #Query objects of type Retrievals by id and optional criteria
121
+ #@param [Dict] criteria
122
+ #@return [Retrievals] object representing the response.
123
+ #@raise [APIException] an exception from the response status
124
+ #
125
+
126
+ return self.execute("7634df7d-12ca-4abf-a9bd-736ba3a13afe",Retrievals.new(criteria))
127
+ end
128
+
129
+
130
+ def self.issuerRespondToFulfillment(mapObj)
131
+ #
132
+ #Creates object of type Retrievals
133
+ #
134
+ #@param Dict mapObj, containing the required parameters to create a new object
135
+ #@return [Retrievals] of the response of created instance.
136
+ #@raise [APIException] an exception from the response status
137
+ return self.execute("49230f0e-1fd8-443c-8404-b58337677fa1", Retrievals.new(mapObj))
138
+ end
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+ end
147
+ end
148
+ end
149
+ end
150
+
151
+
152
+
153
+
154
+
155
+
156
+
@@ -0,0 +1,146 @@
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 Mastercom
35
+ class Transactions < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ '12eb4dd7-35b9-4cb1-ba5f-3c83c993e8c1' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/transactions/clearing/{transaction-id}", "read", [], []),
41
+ '115ed36b-33d8-4e98-a1e2-a2193fd3256f' => OperationConfig.new("/mastercom/v1/claims/{claim-id}/transactions/authorization/{transaction-id}", "read", [], []),
42
+ '1e695da9-172c-429c-b009-b1d7c1c3f05e' => OperationConfig.new("/mastercom/v1/transactions/search", "create", [], []),
43
+
44
+ }
45
+
46
+ protected
47
+
48
+ def self.getOperationConfig(operationUUID)
49
+ if @__store.key?(operationUUID)
50
+ return @__store[operationUUID]
51
+ end
52
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
53
+ end
54
+
55
+ def self.getOperationMetadata()
56
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
57
+ end
58
+
59
+ public
60
+
61
+
62
+
63
+
64
+
65
+
66
+ def self.retrieveClearingDetail(id, criteria = nil)
67
+ #
68
+ #Returns objects of type Transactions by id and optional criteria
69
+ #@param [String] id
70
+ #@param [Dict] criteria
71
+ #@return [Transactions] object representing the response
72
+ #@raise [APIException] an exception from the response status
73
+
74
+ mapObj = Transactions.new
75
+ if !(id.nil? || id.to_s.empty?)
76
+ mapObj.set("id", id)
77
+ end
78
+ if !criteria.nil?
79
+ if criteria.instance_of? RequestMap
80
+ mapObj.setAll(criteria.getObject())
81
+ else
82
+ mapObj.setAll(criteria)
83
+ end
84
+ end
85
+
86
+ return self.execute("12eb4dd7-35b9-4cb1-ba5f-3c83c993e8c1",Transactions.new(mapObj))
87
+ end
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ def self.retrieveAuthorizationDetail(id, criteria = nil)
96
+ #
97
+ #Returns objects of type Transactions by id and optional criteria
98
+ #@param [String] id
99
+ #@param [Dict] criteria
100
+ #@return [Transactions] object representing the response
101
+ #@raise [APIException] an exception from the response status
102
+
103
+ mapObj = Transactions.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("115ed36b-33d8-4e98-a1e2-a2193fd3256f",Transactions.new(mapObj))
116
+ end
117
+
118
+
119
+
120
+ def self.searchForTransaction(mapObj)
121
+ #
122
+ #Creates object of type Transactions
123
+ #
124
+ #@param Dict mapObj, containing the required parameters to create a new object
125
+ #@return [Transactions] of the response of created instance.
126
+ #@raise [APIException] an exception from the response status
127
+ return self.execute("1e695da9-172c-429c-b009-b1d7c1c3f05e", Transactions.new(mapObj))
128
+ end
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+ end
137
+ end
138
+ end
139
+ end
140
+
141
+
142
+
143
+
144
+
145
+
146
+
@@ -0,0 +1,12 @@
1
+ require 'mastercard_api_core'
2
+
3
+ require 'mastercard/api/mastercom/resourceconfig'
4
+
5
+ require 'mastercard/api/mastercom/casefiling'
6
+ require 'mastercard/api/mastercom/chargebacks'
7
+ require 'mastercard/api/mastercom/claims'
8
+ require 'mastercard/api/mastercom/fees'
9
+ require 'mastercard/api/mastercom/fraud'
10
+ require 'mastercard/api/mastercom/queues'
11
+ require 'mastercard/api/mastercom/retrievals'
12
+ require 'mastercard/api/mastercom/transactions'
metadata ADDED
@@ -0,0 +1,88 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mastercard_mastercom
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - MasterCard Worldwide
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-02-09 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.4.0
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.4.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.4.0
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.4.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 Mastercom Description
48
+ email:
49
+ - APISupport@mastercard.com
50
+ executables: []
51
+ extensions: []
52
+ extra_rdoc_files: []
53
+ files:
54
+ - lib/mastercard/api/mastercom/casefiling.rb
55
+ - lib/mastercard/api/mastercom/chargebacks.rb
56
+ - lib/mastercard/api/mastercom/claims.rb
57
+ - lib/mastercard/api/mastercom/fees.rb
58
+ - lib/mastercard/api/mastercom/fraud.rb
59
+ - lib/mastercard/api/mastercom/queues.rb
60
+ - lib/mastercard/api/mastercom/resourceconfig.rb
61
+ - lib/mastercard/api/mastercom/retrievals.rb
62
+ - lib/mastercard/api/mastercom/transactions.rb
63
+ - lib/mastercard_mastercom.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 Mastercom SDK
88
+ test_files: []