mastercard_remittance 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mastercard/api/remittance/cancelremittance.rb +35 -32
- data/lib/mastercard/api/remittance/quotes.rb +35 -32
- data/lib/mastercard/api/remittance/remittancefundingandpayment.rb +35 -32
- data/lib/mastercard/api/remittance/remittancepayment.rb +35 -32
- data/lib/mastercard/api/remittance/{skdconfig.rb → resourceconfig.rb} +70 -22
- data/lib/mastercard/api/remittance/retrieveremittance.rb +57 -51
- data/lib/mastercard/api/remittance/sanctionscreening.rb +35 -31
- data/lib/mastercard_remittance.rb +6 -4
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf96e09c615036c14e3a8775de91675ba65a9cda
|
4
|
+
data.tar.gz: 477bb874ca9f1dc9cfaf86e44f560b734c76d2b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6a9cee489f068cf0c79ce9269d7294ba9034e22c14b2b937950b9bd36c658e7ab2d78002ec04930f08ba50ca34950ece9d3b714f190c7f2833cc2c301c21344
|
7
|
+
data.tar.gz: 237e640b94de50a9b6cceffbaa612c8a60f5bb4654a80ac793783288afcc3d314077c8bf85bfeec8b5b8444134f5e7f064f9f81430e48634acc79fdff738120d
|
@@ -27,52 +27,55 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
require "mastercard/core/model"
|
30
|
+
require "mastercard/core/baseobject"
|
30
31
|
|
31
32
|
module MasterCard
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
33
|
+
module API
|
34
|
+
module Remittance
|
35
|
+
class CancelRemittance < MasterCard::Core::Model::BaseObject
|
36
|
+
include MasterCard::Core::Model
|
37
|
+
#
|
37
38
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
39
|
+
@__store = {
|
40
|
+
'c7ccf26e-e001-4263-9e28-ba5a05817b8e' => OperationConfig.new("/send/v1/partners/{id}/remittances/{remittance-id}/cancel", "create", [], []),
|
41
|
+
|
42
|
+
}
|
42
43
|
|
43
|
-
|
44
|
+
protected
|
44
45
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
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
|
51
52
|
|
52
|
-
|
53
|
-
|
54
|
-
|
53
|
+
def self.getOperationMetadata()
|
54
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
|
55
|
+
end
|
55
56
|
|
56
|
-
|
57
|
+
public
|
57
58
|
|
58
|
-
def self.create(mapObj)
|
59
|
-
#
|
60
|
-
#Creates object of type CancelRemittance
|
61
|
-
#
|
62
|
-
#@param Dict mapObj, containing the required parameters to create a new object
|
63
|
-
#@return CancelRemittance of the response of created instance.
|
64
|
-
#
|
65
|
-
return self.execute("e6596674-6074-46fe-bf29-872c00f52328", CancelRemittance.new(mapObj))
|
66
|
-
end
|
67
59
|
|
60
|
+
def self.create(mapObj)
|
61
|
+
#
|
62
|
+
#Creates object of type CancelRemittance
|
63
|
+
#
|
64
|
+
#@param Dict mapObj, containing the required parameters to create a new object
|
65
|
+
#@return [CancelRemittance] of the response of created instance.
|
66
|
+
#@raise [APIException] an exception from the response status
|
67
|
+
return self.execute("c7ccf26e-e001-4263-9e28-ba5a05817b8e", CancelRemittance.new(mapObj))
|
68
|
+
end
|
68
69
|
|
69
70
|
|
70
71
|
|
71
72
|
|
72
73
|
|
73
|
-
|
74
|
-
|
75
|
-
|
74
|
+
|
75
|
+
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
76
79
|
end
|
77
80
|
|
78
81
|
|
@@ -27,52 +27,55 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
require "mastercard/core/model"
|
30
|
+
require "mastercard/core/baseobject"
|
30
31
|
|
31
32
|
module MasterCard
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
33
|
+
module API
|
34
|
+
module Remittance
|
35
|
+
class Quotes < MasterCard::Core::Model::BaseObject
|
36
|
+
include MasterCard::Core::Model
|
37
|
+
#
|
37
38
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
39
|
+
@__store = {
|
40
|
+
'068a9ac5-fa7e-4115-b763-240736adef11' => OperationConfig.new("/send/v1/partners/{id}/quotes", "create", [], []),
|
41
|
+
|
42
|
+
}
|
42
43
|
|
43
|
-
|
44
|
+
protected
|
44
45
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
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
|
51
52
|
|
52
|
-
|
53
|
-
|
54
|
-
|
53
|
+
def self.getOperationMetadata()
|
54
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
|
55
|
+
end
|
55
56
|
|
56
|
-
|
57
|
+
public
|
57
58
|
|
58
|
-
def self.create(mapObj)
|
59
|
-
#
|
60
|
-
#Creates object of type Quotes
|
61
|
-
#
|
62
|
-
#@param Dict mapObj, containing the required parameters to create a new object
|
63
|
-
#@return Quotes of the response of created instance.
|
64
|
-
#
|
65
|
-
return self.execute("4abc8ba2-b651-4103-9aaf-ac9022bf37a7", Quotes.new(mapObj))
|
66
|
-
end
|
67
59
|
|
60
|
+
def self.create(mapObj)
|
61
|
+
#
|
62
|
+
#Creates object of type Quotes
|
63
|
+
#
|
64
|
+
#@param Dict mapObj, containing the required parameters to create a new object
|
65
|
+
#@return [Quotes] of the response of created instance.
|
66
|
+
#@raise [APIException] an exception from the response status
|
67
|
+
return self.execute("068a9ac5-fa7e-4115-b763-240736adef11", Quotes.new(mapObj))
|
68
|
+
end
|
68
69
|
|
69
70
|
|
70
71
|
|
71
72
|
|
72
73
|
|
73
|
-
|
74
|
-
|
75
|
-
|
74
|
+
|
75
|
+
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
76
79
|
end
|
77
80
|
|
78
81
|
|
@@ -27,52 +27,55 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
require "mastercard/core/model"
|
30
|
+
require "mastercard/core/baseobject"
|
30
31
|
|
31
32
|
module MasterCard
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
33
|
+
module API
|
34
|
+
module Remittance
|
35
|
+
class RemittanceFundingAndPayment < MasterCard::Core::Model::BaseObject
|
36
|
+
include MasterCard::Core::Model
|
37
|
+
#
|
37
38
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
39
|
+
@__store = {
|
40
|
+
'82dc1588-7553-4411-9adf-eb8b3064a93f' => OperationConfig.new("/send/v1/partners/{id}/remittances", "create", [], []),
|
41
|
+
|
42
|
+
}
|
42
43
|
|
43
|
-
|
44
|
+
protected
|
44
45
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
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
|
51
52
|
|
52
|
-
|
53
|
-
|
54
|
-
|
53
|
+
def self.getOperationMetadata()
|
54
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
|
55
|
+
end
|
55
56
|
|
56
|
-
|
57
|
+
public
|
57
58
|
|
58
|
-
def self.create(mapObj)
|
59
|
-
#
|
60
|
-
#Creates object of type RemittanceFundingAndPayment
|
61
|
-
#
|
62
|
-
#@param Dict mapObj, containing the required parameters to create a new object
|
63
|
-
#@return RemittanceFundingAndPayment of the response of created instance.
|
64
|
-
#
|
65
|
-
return self.execute("846f61b9-697b-4ef1-9733-dbeabc624143", RemittanceFundingAndPayment.new(mapObj))
|
66
|
-
end
|
67
59
|
|
60
|
+
def self.create(mapObj)
|
61
|
+
#
|
62
|
+
#Creates object of type RemittanceFundingAndPayment
|
63
|
+
#
|
64
|
+
#@param Dict mapObj, containing the required parameters to create a new object
|
65
|
+
#@return [RemittanceFundingAndPayment] of the response of created instance.
|
66
|
+
#@raise [APIException] an exception from the response status
|
67
|
+
return self.execute("82dc1588-7553-4411-9adf-eb8b3064a93f", RemittanceFundingAndPayment.new(mapObj))
|
68
|
+
end
|
68
69
|
|
69
70
|
|
70
71
|
|
71
72
|
|
72
73
|
|
73
|
-
|
74
|
-
|
75
|
-
|
74
|
+
|
75
|
+
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
76
79
|
end
|
77
80
|
|
78
81
|
|
@@ -27,52 +27,55 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
require "mastercard/core/model"
|
30
|
+
require "mastercard/core/baseobject"
|
30
31
|
|
31
32
|
module MasterCard
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
33
|
+
module API
|
34
|
+
module Remittance
|
35
|
+
class RemittancePayment < MasterCard::Core::Model::BaseObject
|
36
|
+
include MasterCard::Core::Model
|
37
|
+
#
|
37
38
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
39
|
+
@__store = {
|
40
|
+
'83878237-96d5-4923-8329-ae95d6b6b1ce' => OperationConfig.new("/send/v1/partners/{id}/remittances/payment", "create", [], []),
|
41
|
+
|
42
|
+
}
|
42
43
|
|
43
|
-
|
44
|
+
protected
|
44
45
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
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
|
51
52
|
|
52
|
-
|
53
|
-
|
54
|
-
|
53
|
+
def self.getOperationMetadata()
|
54
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
|
55
|
+
end
|
55
56
|
|
56
|
-
|
57
|
+
public
|
57
58
|
|
58
|
-
def self.create(mapObj)
|
59
|
-
#
|
60
|
-
#Creates object of type RemittancePayment
|
61
|
-
#
|
62
|
-
#@param Dict mapObj, containing the required parameters to create a new object
|
63
|
-
#@return RemittancePayment of the response of created instance.
|
64
|
-
#
|
65
|
-
return self.execute("7669fbe3-c941-4d11-aada-2b27c38224a2", RemittancePayment.new(mapObj))
|
66
|
-
end
|
67
59
|
|
60
|
+
def self.create(mapObj)
|
61
|
+
#
|
62
|
+
#Creates object of type RemittancePayment
|
63
|
+
#
|
64
|
+
#@param Dict mapObj, containing the required parameters to create a new object
|
65
|
+
#@return [RemittancePayment] of the response of created instance.
|
66
|
+
#@raise [APIException] an exception from the response status
|
67
|
+
return self.execute("83878237-96d5-4923-8329-ae95d6b6b1ce", RemittancePayment.new(mapObj))
|
68
|
+
end
|
68
69
|
|
69
70
|
|
70
71
|
|
71
72
|
|
72
73
|
|
73
|
-
|
74
|
-
|
75
|
-
|
74
|
+
|
75
|
+
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
76
79
|
end
|
77
80
|
|
78
81
|
|
@@ -24,27 +24,75 @@
|
|
24
24
|
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
25
25
|
# SUCH DAMAGE.
|
26
26
|
#
|
27
|
+
|
28
|
+
require "mastercard/core/constants"
|
29
|
+
require "mastercard/core/config"
|
30
|
+
|
27
31
|
module MasterCard
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
32
|
+
module API
|
33
|
+
module Remittance
|
34
|
+
class ResourceConfig
|
35
|
+
include MasterCard::Core
|
36
|
+
|
37
|
+
@@instance = nil
|
38
|
+
|
39
|
+
def initialize
|
40
|
+
@name = "remittance"
|
41
|
+
@override = nil
|
42
|
+
@host = nil
|
43
|
+
@context = nil
|
44
|
+
@version = "1.0.2"
|
45
|
+
|
46
|
+
Config.registerResourceConfig(self)
|
47
|
+
currentEnvironment = Config.getEnvironment()
|
48
|
+
self.setEnvironment(currentEnvironment)
|
49
|
+
|
50
|
+
end
|
51
|
+
|
52
|
+
|
53
|
+
def self.instance
|
54
|
+
return @@instance
|
55
|
+
end
|
56
|
+
|
57
|
+
|
58
|
+
def getName
|
59
|
+
return @name
|
60
|
+
end
|
61
|
+
|
62
|
+
|
63
|
+
def getHost
|
64
|
+
unless @override.nil? || @override == 0
|
65
|
+
return @override
|
66
|
+
else
|
67
|
+
return @host
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
def getContext
|
72
|
+
return @context
|
73
|
+
end
|
74
|
+
|
75
|
+
def getVersion
|
76
|
+
return @version
|
77
|
+
end
|
78
|
+
|
79
|
+
def setEnvironment(environmet)
|
80
|
+
if Environment::MAPPING.key?(environmet)
|
81
|
+
tuple = Environment::MAPPING[environmet]
|
82
|
+
@host = tuple[0]
|
83
|
+
@context = tuple[1]
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
def setCustomEnvironment(host,context)
|
88
|
+
@host = host
|
89
|
+
@context = context
|
90
|
+
end
|
91
|
+
|
92
|
+
@@instance = ResourceConfig.new
|
93
|
+
|
94
|
+
private_class_method :new
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
50
98
|
end
|
@@ -27,80 +27,86 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
require "mastercard/core/model"
|
30
|
+
require "mastercard/core/baseobject"
|
30
31
|
|
31
32
|
module MasterCard
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
33
|
+
module API
|
34
|
+
module Remittance
|
35
|
+
class RetrieveRemittance < MasterCard::Core::Model::BaseObject
|
36
|
+
include MasterCard::Core::Model
|
37
|
+
#
|
37
38
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
39
|
+
@__store = {
|
40
|
+
'456148d2-8471-47fc-a782-7ba53c1b796e' => OperationConfig.new("/send/v1/partners/{id}/remittances/{remittance-id}", "read", [], []),
|
41
|
+
'22d72517-b03b-4dcd-bbe0-92bfb639e790' => OperationConfig.new("/send/v1/partners/{id}/remittances", "query", [], ["remittance-reference"]),
|
42
|
+
|
43
|
+
}
|
43
44
|
|
44
|
-
|
45
|
+
protected
|
45
46
|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
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
|
52
53
|
|
53
|
-
|
54
|
-
|
55
|
-
|
54
|
+
def self.getOperationMetadata()
|
55
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
|
56
|
+
end
|
56
57
|
|
57
|
-
|
58
|
+
public
|
58
59
|
|
59
60
|
|
60
61
|
|
61
62
|
|
62
63
|
|
63
64
|
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
65
|
+
def self.readByID(id, criteria = nil)
|
66
|
+
#
|
67
|
+
#Returns objects of type RetrieveRemittance by id and optional criteria
|
68
|
+
#@param [String] id
|
69
|
+
#@param [Dict] criteria
|
70
|
+
#@return [RetrieveRemittance] object representing the response
|
71
|
+
#@raise [APIException] an exception from the response status
|
70
72
|
|
71
|
-
|
72
|
-
|
73
|
+
mapObj = RetrieveRemittance.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
|
73
84
|
|
85
|
+
return self.execute("456148d2-8471-47fc-a782-7ba53c1b796e",RetrieveRemittance.new(mapObj))
|
86
|
+
end
|
74
87
|
|
75
88
|
|
76
89
|
|
77
90
|
|
78
|
-
def self.readByID(id, criteria = nil)
|
79
|
-
#
|
80
|
-
#Returns objects of type RetrieveRemittance by id and optional criteria
|
81
|
-
#@param str id
|
82
|
-
#@param dict criteria
|
83
|
-
#@return instance of RetrieveRemittance
|
84
91
|
|
85
|
-
mapObj = RetrieveRemittance.new
|
86
|
-
if !(id.nil? || id.to_s.empty?)
|
87
|
-
mapObj.set("id", id)
|
88
|
-
end
|
89
|
-
if !criteria.nil?
|
90
|
-
if criteria.instance_of? RequestMap
|
91
|
-
mapObj.setAll(criteria.getObject())
|
92
|
-
else
|
93
|
-
mapObj.setAll(criteria)
|
94
|
-
end
|
95
|
-
end
|
96
92
|
|
97
|
-
return self.execute("ee2d3ec1-2ab7-4fe8-9788-613c6d98824b",RetrieveRemittance.new(mapObj))
|
98
|
-
end
|
99
93
|
|
100
94
|
|
101
|
-
|
102
|
-
|
103
|
-
|
95
|
+
def self.readByReference(criteria)
|
96
|
+
#
|
97
|
+
#Query objects of type RetrieveRemittance by id and optional criteria
|
98
|
+
#@param [Dict] criteria
|
99
|
+
#@return [RetrieveRemittance] object representing the response.
|
100
|
+
#@raise [APIException] an exception from the response status
|
101
|
+
#
|
102
|
+
|
103
|
+
return self.execute("22d72517-b03b-4dcd-bbe0-92bfb639e790",RetrieveRemittance.new(criteria))
|
104
|
+
end
|
105
|
+
|
106
|
+
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
104
110
|
end
|
105
111
|
|
106
112
|
|
@@ -27,52 +27,56 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
require "mastercard/core/model"
|
30
|
+
require "mastercard/core/baseobject"
|
30
31
|
|
31
32
|
module MasterCard
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
33
|
+
module API
|
34
|
+
module Remittance
|
35
|
+
class SanctionScreening < MasterCard::Core::Model::BaseObject
|
36
|
+
include MasterCard::Core::Model
|
37
|
+
#
|
37
38
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
39
|
+
@__store = {
|
40
|
+
'0847720b-2e87-46e7-a13c-0a690a5215ef' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/sanction_screening", "update", [], []),
|
41
|
+
|
42
|
+
}
|
42
43
|
|
43
|
-
|
44
|
+
protected
|
44
45
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
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
|
51
52
|
|
52
|
-
|
53
|
-
|
54
|
-
|
53
|
+
def self.getOperationMetadata()
|
54
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
|
55
|
+
end
|
55
56
|
|
56
|
-
|
57
|
+
public
|
57
58
|
|
58
59
|
|
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("861d5142-5c17-4f84-9f8b-4814a2f4348b",self)
|
66
|
-
end
|
67
60
|
|
61
|
+
def read
|
62
|
+
#
|
63
|
+
#Updates an object of type SanctionScreening
|
64
|
+
#
|
65
|
+
#@return [SanctionScreening] object representing the response.
|
66
|
+
#@raise [APIException] an exception from the response status
|
67
|
+
#
|
68
|
+
return self.class.execute("0847720b-2e87-46e7-a13c-0a690a5215ef",self)
|
69
|
+
end
|
68
70
|
|
69
71
|
|
70
72
|
|
71
73
|
|
72
74
|
|
73
|
-
|
74
|
-
|
75
|
-
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
76
80
|
end
|
77
81
|
|
78
82
|
|
@@ -1,8 +1,10 @@
|
|
1
1
|
require 'mastercard_api_core'
|
2
|
-
|
3
|
-
require 'mastercard/api/remittance/
|
2
|
+
|
3
|
+
require 'mastercard/api/remittance/resourceconfig'
|
4
|
+
|
5
|
+
require 'mastercard/api/remittance/cancelremittance'
|
6
|
+
require 'mastercard/api/remittance/quotes'
|
4
7
|
require 'mastercard/api/remittance/remittancefundingandpayment'
|
8
|
+
require 'mastercard/api/remittance/remittancepayment'
|
5
9
|
require 'mastercard/api/remittance/retrieveremittance'
|
6
10
|
require 'mastercard/api/remittance/sanctionscreening'
|
7
|
-
require 'mastercard/api/remittance/cancelremittance'
|
8
|
-
require 'mastercard/api/remittance/quotes'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mastercard_remittance
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
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:
|
11
|
+
date: 2017-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mastercard_api_core
|
@@ -16,20 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.4.0
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.
|
22
|
+
version: 1.4.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.
|
29
|
+
version: 1.4.0
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 1.
|
32
|
+
version: 1.4.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: ci_reporter_minitest
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -55,9 +55,9 @@ files:
|
|
55
55
|
- lib/mastercard/api/remittance/quotes.rb
|
56
56
|
- lib/mastercard/api/remittance/remittancefundingandpayment.rb
|
57
57
|
- lib/mastercard/api/remittance/remittancepayment.rb
|
58
|
+
- lib/mastercard/api/remittance/resourceconfig.rb
|
58
59
|
- lib/mastercard/api/remittance/retrieveremittance.rb
|
59
60
|
- lib/mastercard/api/remittance/sanctionscreening.rb
|
60
|
-
- lib/mastercard/api/remittance/skdconfig.rb
|
61
61
|
- lib/mastercard_remittance.rb
|
62
62
|
homepage: https://developer.mastercard.com
|
63
63
|
licenses:
|