mastercard_mdescustomerservice 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- module API
33
- module MdesCustomerService
34
- class TokenComments < MasterCard::Core::Model::BaseObject
35
- include MasterCard::Core::Model
36
- #
33
+ module API
34
+ module MdesCustomerService
35
+ class TokenComments < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
37
38
 
38
- @__store = {
39
- 'f4c726e0-d4ed-4c33-bfbe-bab15c284820' => OperationConfig.new("/mdes/csapi/v2/token/comments", "create", [], []),
40
-
41
- }
39
+ @__store = {
40
+ '221c5477-4838-4126-b58a-c47ccadeffb3' => OperationConfig.new("/mdes/csapi/v2/token/comments", "create", [], []),
41
+
42
+ }
42
43
 
43
- protected
44
+ protected
44
45
 
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
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
- def self.getOperationMetadata()
53
- return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
54
- end
53
+ def self.getOperationMetadata()
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
55
+ end
55
56
 
56
- public
57
+ public
57
58
 
58
- def self.create(mapObj)
59
- #
60
- #Creates object of type TokenComments
61
- #
62
- #@param Dict mapObj, containing the required parameters to create a new object
63
- #@return TokenComments of the response of created instance.
64
- #
65
- return self.execute("f4c726e0-d4ed-4c33-bfbe-bab15c284820", TokenComments.new(mapObj))
66
- end
67
59
 
60
+ def self.create(mapObj)
61
+ #
62
+ #Creates object of type TokenComments
63
+ #
64
+ #@param Dict mapObj, containing the required parameters to create a new object
65
+ #@return [TokenComments] of the response of created instance.
66
+ #@raise [APIException] an exception from the response status
67
+ return self.execute("221c5477-4838-4126-b58a-c47ccadeffb3", TokenComments.new(mapObj))
68
+ end
68
69
 
69
70
 
70
71
 
71
72
 
72
73
 
73
- end
74
- end
75
- end
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
- module API
33
- module MdesCustomerService
34
- class TokenDelete < MasterCard::Core::Model::BaseObject
35
- include MasterCard::Core::Model
36
- #
33
+ module API
34
+ module MdesCustomerService
35
+ class TokenDelete < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
37
38
 
38
- @__store = {
39
- '280fc815-81ba-4197-a143-b38633fde0d7' => OperationConfig.new("/mdes/csapi/v2/token/delete", "create", [], []),
40
-
41
- }
39
+ @__store = {
40
+ '8ae30129-18c8-48eb-bde8-2b88212ff726' => OperationConfig.new("/mdes/csapi/v2/token/delete", "create", [], []),
41
+
42
+ }
42
43
 
43
- protected
44
+ protected
44
45
 
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
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
- def self.getOperationMetadata()
53
- return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
54
- end
53
+ def self.getOperationMetadata()
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
55
+ end
55
56
 
56
- public
57
+ public
57
58
 
58
- def self.create(mapObj)
59
- #
60
- #Creates object of type TokenDelete
61
- #
62
- #@param Dict mapObj, containing the required parameters to create a new object
63
- #@return TokenDelete of the response of created instance.
64
- #
65
- return self.execute("280fc815-81ba-4197-a143-b38633fde0d7", TokenDelete.new(mapObj))
66
- end
67
59
 
60
+ def self.create(mapObj)
61
+ #
62
+ #Creates object of type TokenDelete
63
+ #
64
+ #@param Dict mapObj, containing the required parameters to create a new object
65
+ #@return [TokenDelete] of the response of created instance.
66
+ #@raise [APIException] an exception from the response status
67
+ return self.execute("8ae30129-18c8-48eb-bde8-2b88212ff726", TokenDelete.new(mapObj))
68
+ end
68
69
 
69
70
 
70
71
 
71
72
 
72
73
 
73
- end
74
- end
75
- end
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
- module API
33
- module MdesCustomerService
34
- class TokenResendActivationCode < MasterCard::Core::Model::BaseObject
35
- include MasterCard::Core::Model
36
- #
33
+ module API
34
+ module MdesCustomerService
35
+ class TokenResendActivationCode < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
37
38
 
38
- @__store = {
39
- '55eeee14-9a7c-44d9-b74e-ee0b7a8b03a9' => OperationConfig.new("/mdes/csapi/v2/token/resendactivationcode", "create", [], []),
40
-
41
- }
39
+ @__store = {
40
+ 'f4136330-c547-4a59-ba0c-84fece3963fd' => OperationConfig.new("/mdes/csapi/v2/token/resendactivationcode", "create", [], []),
41
+
42
+ }
42
43
 
43
- protected
44
+ protected
44
45
 
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
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
- def self.getOperationMetadata()
53
- return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
54
- end
53
+ def self.getOperationMetadata()
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
55
+ end
55
56
 
56
- public
57
+ public
57
58
 
58
- def self.create(mapObj)
59
- #
60
- #Creates object of type TokenResendActivationCode
61
- #
62
- #@param Dict mapObj, containing the required parameters to create a new object
63
- #@return TokenResendActivationCode of the response of created instance.
64
- #
65
- return self.execute("55eeee14-9a7c-44d9-b74e-ee0b7a8b03a9", TokenResendActivationCode.new(mapObj))
66
- end
67
59
 
60
+ def self.create(mapObj)
61
+ #
62
+ #Creates object of type TokenResendActivationCode
63
+ #
64
+ #@param Dict mapObj, containing the required parameters to create a new object
65
+ #@return [TokenResendActivationCode] of the response of created instance.
66
+ #@raise [APIException] an exception from the response status
67
+ return self.execute("f4136330-c547-4a59-ba0c-84fece3963fd", TokenResendActivationCode.new(mapObj))
68
+ end
68
69
 
69
70
 
70
71
 
71
72
 
72
73
 
73
- end
74
- end
75
- end
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
- module API
33
- module MdesCustomerService
34
- class TokenResetMobilePIN < MasterCard::Core::Model::BaseObject
35
- include MasterCard::Core::Model
36
- #
33
+ module API
34
+ module MdesCustomerService
35
+ class TokenResetMobilePIN < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
37
38
 
38
- @__store = {
39
- 'e27401e3-8550-426a-9c03-458c4958623e' => OperationConfig.new("/mdes/csapi/v2/token/resetmobilepin", "create", [], []),
40
-
41
- }
39
+ @__store = {
40
+ 'c3688946-d967-4736-9dab-b4f125dc9999' => OperationConfig.new("/mdes/csapi/v2/token/resetmobilepin", "create", [], []),
41
+
42
+ }
42
43
 
43
- protected
44
+ protected
44
45
 
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
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
- def self.getOperationMetadata()
53
- return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
54
- end
53
+ def self.getOperationMetadata()
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
55
+ end
55
56
 
56
- public
57
+ public
57
58
 
58
- def self.create(mapObj)
59
- #
60
- #Creates object of type TokenResetMobilePIN
61
- #
62
- #@param Dict mapObj, containing the required parameters to create a new object
63
- #@return TokenResetMobilePIN of the response of created instance.
64
- #
65
- return self.execute("e27401e3-8550-426a-9c03-458c4958623e", TokenResetMobilePIN.new(mapObj))
66
- end
67
59
 
60
+ def self.create(mapObj)
61
+ #
62
+ #Creates object of type TokenResetMobilePIN
63
+ #
64
+ #@param Dict mapObj, containing the required parameters to create a new object
65
+ #@return [TokenResetMobilePIN] of the response of created instance.
66
+ #@raise [APIException] an exception from the response status
67
+ return self.execute("c3688946-d967-4736-9dab-b4f125dc9999", TokenResetMobilePIN.new(mapObj))
68
+ end
68
69
 
69
70
 
70
71
 
71
72
 
72
73
 
73
- end
74
- end
75
- end
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
- module API
33
- module MdesCustomerService
34
- class TokenStatusHistory < MasterCard::Core::Model::BaseObject
35
- include MasterCard::Core::Model
36
- #
33
+ module API
34
+ module MdesCustomerService
35
+ class TokenStatusHistory < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
37
38
 
38
- @__store = {
39
- '558bd5ad-e649-4251-a6af-1b6a9f36e04f' => OperationConfig.new("/mdes/csapi/v2/token/statushistory", "create", [], []),
40
-
41
- }
39
+ @__store = {
40
+ '9d74a691-9c3a-431d-a07d-1ec2b9759c7a' => OperationConfig.new("/mdes/csapi/v2/token/statushistory", "create", [], []),
41
+
42
+ }
42
43
 
43
- protected
44
+ protected
44
45
 
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
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
- def self.getOperationMetadata()
53
- return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
54
- end
53
+ def self.getOperationMetadata()
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
55
+ end
55
56
 
56
- public
57
+ public
57
58
 
58
- def self.create(mapObj)
59
- #
60
- #Creates object of type TokenStatusHistory
61
- #
62
- #@param Dict mapObj, containing the required parameters to create a new object
63
- #@return TokenStatusHistory of the response of created instance.
64
- #
65
- return self.execute("558bd5ad-e649-4251-a6af-1b6a9f36e04f", TokenStatusHistory.new(mapObj))
66
- end
67
59
 
60
+ def self.create(mapObj)
61
+ #
62
+ #Creates object of type TokenStatusHistory
63
+ #
64
+ #@param Dict mapObj, containing the required parameters to create a new object
65
+ #@return [TokenStatusHistory] of the response of created instance.
66
+ #@raise [APIException] an exception from the response status
67
+ return self.execute("9d74a691-9c3a-431d-a07d-1ec2b9759c7a", TokenStatusHistory.new(mapObj))
68
+ end
68
69
 
69
70
 
70
71
 
71
72
 
72
73
 
73
- end
74
- end
75
- end
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
- module API
33
- module MdesCustomerService
34
- class TokenSuspend < MasterCard::Core::Model::BaseObject
35
- include MasterCard::Core::Model
36
- #
33
+ module API
34
+ module MdesCustomerService
35
+ class TokenSuspend < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
37
38
 
38
- @__store = {
39
- '62e28c7e-7d3a-4a54-8e96-67c7c7d806a2' => OperationConfig.new("/mdes/csapi/v2/token/suspend", "create", [], []),
40
-
41
- }
39
+ @__store = {
40
+ '626e7aff-8416-422c-aa5e-64fd93a0ba03' => OperationConfig.new("/mdes/csapi/v2/token/suspend", "create", [], []),
41
+
42
+ }
42
43
 
43
- protected
44
+ protected
44
45
 
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
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
- def self.getOperationMetadata()
53
- return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
54
- end
53
+ def self.getOperationMetadata()
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
55
+ end
55
56
 
56
- public
57
+ public
57
58
 
58
- def self.create(mapObj)
59
- #
60
- #Creates object of type TokenSuspend
61
- #
62
- #@param Dict mapObj, containing the required parameters to create a new object
63
- #@return TokenSuspend of the response of created instance.
64
- #
65
- return self.execute("62e28c7e-7d3a-4a54-8e96-67c7c7d806a2", TokenSuspend.new(mapObj))
66
- end
67
59
 
60
+ def self.create(mapObj)
61
+ #
62
+ #Creates object of type TokenSuspend
63
+ #
64
+ #@param Dict mapObj, containing the required parameters to create a new object
65
+ #@return [TokenSuspend] of the response of created instance.
66
+ #@raise [APIException] an exception from the response status
67
+ return self.execute("626e7aff-8416-422c-aa5e-64fd93a0ba03", TokenSuspend.new(mapObj))
68
+ end
68
69
 
69
70
 
70
71
 
71
72
 
72
73
 
73
- end
74
- end
75
- end
74
+
75
+
76
+ end
77
+ end
78
+ end
76
79
  end
77
80
 
78
81