mastercard_mdescustomerservice 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mastercard/api/mdescustomerservice/search.rb +19 -46
- data/lib/mastercard/api/mdescustomerservice/skdconfig.rb +50 -0
- data/lib/mastercard/api/mdescustomerservice/systemstatus.rb +20 -48
- data/lib/mastercard/api/mdescustomerservice/tokenactivate.rb +19 -46
- data/lib/mastercard/api/mdescustomerservice/tokenactivationmethods.rb +19 -46
- data/lib/mastercard/api/mdescustomerservice/tokencomments.rb +19 -46
- data/lib/mastercard/api/mdescustomerservice/tokendelete.rb +19 -46
- data/lib/mastercard/api/mdescustomerservice/{tokenresendactivationmethods.rb → tokenresendactivationcode.rb} +21 -48
- data/lib/mastercard/api/mdescustomerservice/tokenresetmobilepin.rb +19 -46
- data/lib/mastercard/api/mdescustomerservice/tokenstatushistory.rb +19 -46
- data/lib/mastercard/api/mdescustomerservice/tokensuspend.rb +19 -46
- data/lib/mastercard/api/mdescustomerservice/tokenunsuspend.rb +19 -46
- data/lib/mastercard/api/mdescustomerservice/tokenupdate.rb +19 -46
- data/lib/mastercard/api/mdescustomerservice/transactions.rb +19 -46
- data/lib/mastercard_mdescustomerservice.rb +2 -1
- metadata +8 -7
@@ -31,55 +31,30 @@ require "mastercard/core/model"
|
|
31
31
|
module MasterCard
|
32
32
|
module API
|
33
33
|
module MdesCustomerService
|
34
|
-
|
35
|
-
|
34
|
+
class TokenDelete < MasterCard::Core::Model::BaseObject
|
35
|
+
include MasterCard::Core::Model
|
36
36
|
#
|
37
37
|
|
38
|
-
|
39
|
-
|
40
|
-
#@return str
|
41
|
-
|
42
|
-
action = action.upcase
|
43
|
-
|
44
|
-
if action == "CREATE"
|
45
|
-
return "/mdes/csapi/v2/token/delete"
|
46
|
-
end
|
38
|
+
@__store = {
|
39
|
+
'280fc815-81ba-4197-a143-b38633fde0d7' => OperationConfig.new("/mdes/csapi/v2/token/delete", "create", [], []),
|
47
40
|
|
48
|
-
|
41
|
+
}
|
49
42
|
|
50
|
-
|
43
|
+
protected
|
51
44
|
|
52
|
-
def
|
53
|
-
|
54
|
-
|
55
|
-
action = action.upcase
|
56
|
-
|
57
|
-
if action == "CREATE"
|
58
|
-
return []
|
45
|
+
def self.getOperationConfig(uuid)
|
46
|
+
if @__store.key?(uuid)
|
47
|
+
return @__store[uuid]
|
59
48
|
end
|
60
|
-
|
61
|
-
raise StandardError.new("Invalid action supplied: #{action.to_s}")
|
49
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
|
62
50
|
end
|
63
51
|
|
64
|
-
def
|
65
|
-
|
66
|
-
#@return list
|
67
|
-
action = action.upcase
|
68
|
-
|
69
|
-
if action == "CREATE"
|
70
|
-
return []
|
71
|
-
end
|
72
|
-
|
73
|
-
raise StandardError.new("Invalid action supplied: #{action.to_s}")
|
52
|
+
def self.getOperationMetadata()
|
53
|
+
return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
|
74
54
|
end
|
75
55
|
|
76
|
-
|
77
|
-
return "1.0.0"
|
78
|
-
end
|
56
|
+
public
|
79
57
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
58
|
def self.create(mapObj)
|
84
59
|
#
|
85
60
|
#Creates object of type TokenDelete
|
@@ -87,16 +62,14 @@ module MasterCard
|
|
87
62
|
#@param Dict mapObj, containing the required parameters to create a new object
|
88
63
|
#@return TokenDelete of the response of created instance.
|
89
64
|
#
|
90
|
-
return self.
|
65
|
+
return self.execute("280fc815-81ba-4197-a143-b38633fde0d7", TokenDelete.new(mapObj))
|
91
66
|
end
|
92
67
|
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
100
73
|
end
|
101
74
|
end
|
102
75
|
end
|
@@ -31,72 +31,45 @@ require "mastercard/core/model"
|
|
31
31
|
module MasterCard
|
32
32
|
module API
|
33
33
|
module MdesCustomerService
|
34
|
-
|
35
|
-
|
34
|
+
class TokenResendActivationCode < MasterCard::Core::Model::BaseObject
|
35
|
+
include MasterCard::Core::Model
|
36
36
|
#
|
37
37
|
|
38
|
-
|
39
|
-
|
40
|
-
#@return str
|
41
|
-
|
42
|
-
action = action.upcase
|
43
|
-
|
44
|
-
if action == "CREATE"
|
45
|
-
return "/mdes/csapi/v2/token/resendactivationcode"
|
46
|
-
end
|
38
|
+
@__store = {
|
39
|
+
'55eeee14-9a7c-44d9-b74e-ee0b7a8b03a9' => OperationConfig.new("/mdes/csapi/v2/token/resendactivationcode", "create", [], []),
|
47
40
|
|
48
|
-
|
41
|
+
}
|
49
42
|
|
50
|
-
|
43
|
+
protected
|
51
44
|
|
52
|
-
def
|
53
|
-
|
54
|
-
|
55
|
-
action = action.upcase
|
56
|
-
|
57
|
-
if action == "CREATE"
|
58
|
-
return []
|
45
|
+
def self.getOperationConfig(uuid)
|
46
|
+
if @__store.key?(uuid)
|
47
|
+
return @__store[uuid]
|
59
48
|
end
|
60
|
-
|
61
|
-
raise StandardError.new("Invalid action supplied: #{action.to_s}")
|
49
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
|
62
50
|
end
|
63
51
|
|
64
|
-
def
|
65
|
-
|
66
|
-
#@return list
|
67
|
-
action = action.upcase
|
68
|
-
|
69
|
-
if action == "CREATE"
|
70
|
-
return []
|
71
|
-
end
|
72
|
-
|
73
|
-
raise StandardError.new("Invalid action supplied: #{action.to_s}")
|
52
|
+
def self.getOperationMetadata()
|
53
|
+
return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
|
74
54
|
end
|
75
55
|
|
76
|
-
|
77
|
-
return "1.0.0"
|
78
|
-
end
|
56
|
+
public
|
79
57
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
58
|
def self.create(mapObj)
|
84
59
|
#
|
85
|
-
#Creates object of type
|
60
|
+
#Creates object of type TokenResendActivationCode
|
86
61
|
#
|
87
62
|
#@param Dict mapObj, containing the required parameters to create a new object
|
88
|
-
#@return
|
63
|
+
#@return TokenResendActivationCode of the response of created instance.
|
89
64
|
#
|
90
|
-
return self.
|
65
|
+
return self.execute("55eeee14-9a7c-44d9-b74e-ee0b7a8b03a9", TokenResendActivationCode.new(mapObj))
|
91
66
|
end
|
92
67
|
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
100
73
|
end
|
101
74
|
end
|
102
75
|
end
|
@@ -31,55 +31,30 @@ require "mastercard/core/model"
|
|
31
31
|
module MasterCard
|
32
32
|
module API
|
33
33
|
module MdesCustomerService
|
34
|
-
|
35
|
-
|
34
|
+
class TokenResetMobilePIN < MasterCard::Core::Model::BaseObject
|
35
|
+
include MasterCard::Core::Model
|
36
36
|
#
|
37
37
|
|
38
|
-
|
39
|
-
|
40
|
-
#@return str
|
41
|
-
|
42
|
-
action = action.upcase
|
43
|
-
|
44
|
-
if action == "CREATE"
|
45
|
-
return "/mdes/csapi/v2/token/resetmobilepin"
|
46
|
-
end
|
38
|
+
@__store = {
|
39
|
+
'e27401e3-8550-426a-9c03-458c4958623e' => OperationConfig.new("/mdes/csapi/v2/token/resetmobilepin", "create", [], []),
|
47
40
|
|
48
|
-
|
41
|
+
}
|
49
42
|
|
50
|
-
|
43
|
+
protected
|
51
44
|
|
52
|
-
def
|
53
|
-
|
54
|
-
|
55
|
-
action = action.upcase
|
56
|
-
|
57
|
-
if action == "CREATE"
|
58
|
-
return []
|
45
|
+
def self.getOperationConfig(uuid)
|
46
|
+
if @__store.key?(uuid)
|
47
|
+
return @__store[uuid]
|
59
48
|
end
|
60
|
-
|
61
|
-
raise StandardError.new("Invalid action supplied: #{action.to_s}")
|
49
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
|
62
50
|
end
|
63
51
|
|
64
|
-
def
|
65
|
-
|
66
|
-
#@return list
|
67
|
-
action = action.upcase
|
68
|
-
|
69
|
-
if action == "CREATE"
|
70
|
-
return []
|
71
|
-
end
|
72
|
-
|
73
|
-
raise StandardError.new("Invalid action supplied: #{action.to_s}")
|
52
|
+
def self.getOperationMetadata()
|
53
|
+
return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
|
74
54
|
end
|
75
55
|
|
76
|
-
|
77
|
-
return "1.0.0"
|
78
|
-
end
|
56
|
+
public
|
79
57
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
58
|
def self.create(mapObj)
|
84
59
|
#
|
85
60
|
#Creates object of type TokenResetMobilePIN
|
@@ -87,16 +62,14 @@ module MasterCard
|
|
87
62
|
#@param Dict mapObj, containing the required parameters to create a new object
|
88
63
|
#@return TokenResetMobilePIN of the response of created instance.
|
89
64
|
#
|
90
|
-
return self.
|
65
|
+
return self.execute("e27401e3-8550-426a-9c03-458c4958623e", TokenResetMobilePIN.new(mapObj))
|
91
66
|
end
|
92
67
|
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
100
73
|
end
|
101
74
|
end
|
102
75
|
end
|
@@ -31,55 +31,30 @@ require "mastercard/core/model"
|
|
31
31
|
module MasterCard
|
32
32
|
module API
|
33
33
|
module MdesCustomerService
|
34
|
-
|
35
|
-
|
34
|
+
class TokenStatusHistory < MasterCard::Core::Model::BaseObject
|
35
|
+
include MasterCard::Core::Model
|
36
36
|
#
|
37
37
|
|
38
|
-
|
39
|
-
|
40
|
-
#@return str
|
41
|
-
|
42
|
-
action = action.upcase
|
43
|
-
|
44
|
-
if action == "CREATE"
|
45
|
-
return "/mdes/csapi/v2/token/statushistory"
|
46
|
-
end
|
38
|
+
@__store = {
|
39
|
+
'558bd5ad-e649-4251-a6af-1b6a9f36e04f' => OperationConfig.new("/mdes/csapi/v2/token/statushistory", "create", [], []),
|
47
40
|
|
48
|
-
|
41
|
+
}
|
49
42
|
|
50
|
-
|
43
|
+
protected
|
51
44
|
|
52
|
-
def
|
53
|
-
|
54
|
-
|
55
|
-
action = action.upcase
|
56
|
-
|
57
|
-
if action == "CREATE"
|
58
|
-
return []
|
45
|
+
def self.getOperationConfig(uuid)
|
46
|
+
if @__store.key?(uuid)
|
47
|
+
return @__store[uuid]
|
59
48
|
end
|
60
|
-
|
61
|
-
raise StandardError.new("Invalid action supplied: #{action.to_s}")
|
49
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
|
62
50
|
end
|
63
51
|
|
64
|
-
def
|
65
|
-
|
66
|
-
#@return list
|
67
|
-
action = action.upcase
|
68
|
-
|
69
|
-
if action == "CREATE"
|
70
|
-
return []
|
71
|
-
end
|
72
|
-
|
73
|
-
raise StandardError.new("Invalid action supplied: #{action.to_s}")
|
52
|
+
def self.getOperationMetadata()
|
53
|
+
return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
|
74
54
|
end
|
75
55
|
|
76
|
-
|
77
|
-
return "1.0.0"
|
78
|
-
end
|
56
|
+
public
|
79
57
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
58
|
def self.create(mapObj)
|
84
59
|
#
|
85
60
|
#Creates object of type TokenStatusHistory
|
@@ -87,16 +62,14 @@ module MasterCard
|
|
87
62
|
#@param Dict mapObj, containing the required parameters to create a new object
|
88
63
|
#@return TokenStatusHistory of the response of created instance.
|
89
64
|
#
|
90
|
-
return self.
|
65
|
+
return self.execute("558bd5ad-e649-4251-a6af-1b6a9f36e04f", TokenStatusHistory.new(mapObj))
|
91
66
|
end
|
92
67
|
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
100
73
|
end
|
101
74
|
end
|
102
75
|
end
|
@@ -31,55 +31,30 @@ require "mastercard/core/model"
|
|
31
31
|
module MasterCard
|
32
32
|
module API
|
33
33
|
module MdesCustomerService
|
34
|
-
|
35
|
-
|
34
|
+
class TokenSuspend < MasterCard::Core::Model::BaseObject
|
35
|
+
include MasterCard::Core::Model
|
36
36
|
#
|
37
37
|
|
38
|
-
|
39
|
-
|
40
|
-
#@return str
|
41
|
-
|
42
|
-
action = action.upcase
|
43
|
-
|
44
|
-
if action == "CREATE"
|
45
|
-
return "/mdes/csapi/v2/token/suspend"
|
46
|
-
end
|
38
|
+
@__store = {
|
39
|
+
'62e28c7e-7d3a-4a54-8e96-67c7c7d806a2' => OperationConfig.new("/mdes/csapi/v2/token/suspend", "create", [], []),
|
47
40
|
|
48
|
-
|
41
|
+
}
|
49
42
|
|
50
|
-
|
43
|
+
protected
|
51
44
|
|
52
|
-
def
|
53
|
-
|
54
|
-
|
55
|
-
action = action.upcase
|
56
|
-
|
57
|
-
if action == "CREATE"
|
58
|
-
return []
|
45
|
+
def self.getOperationConfig(uuid)
|
46
|
+
if @__store.key?(uuid)
|
47
|
+
return @__store[uuid]
|
59
48
|
end
|
60
|
-
|
61
|
-
raise StandardError.new("Invalid action supplied: #{action.to_s}")
|
49
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
|
62
50
|
end
|
63
51
|
|
64
|
-
def
|
65
|
-
|
66
|
-
#@return list
|
67
|
-
action = action.upcase
|
68
|
-
|
69
|
-
if action == "CREATE"
|
70
|
-
return []
|
71
|
-
end
|
72
|
-
|
73
|
-
raise StandardError.new("Invalid action supplied: #{action.to_s}")
|
52
|
+
def self.getOperationMetadata()
|
53
|
+
return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
|
74
54
|
end
|
75
55
|
|
76
|
-
|
77
|
-
return "1.0.0"
|
78
|
-
end
|
56
|
+
public
|
79
57
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
58
|
def self.create(mapObj)
|
84
59
|
#
|
85
60
|
#Creates object of type TokenSuspend
|
@@ -87,16 +62,14 @@ module MasterCard
|
|
87
62
|
#@param Dict mapObj, containing the required parameters to create a new object
|
88
63
|
#@return TokenSuspend of the response of created instance.
|
89
64
|
#
|
90
|
-
return self.
|
65
|
+
return self.execute("62e28c7e-7d3a-4a54-8e96-67c7c7d806a2", TokenSuspend.new(mapObj))
|
91
66
|
end
|
92
67
|
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
100
73
|
end
|
101
74
|
end
|
102
75
|
end
|