mastercard_mdescustomerservice 1.0.3 → 1.0.4

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.
@@ -30,42 +30,42 @@ require "mastercard/core/model"
30
30
  require "mastercard/core/baseobject"
31
31
 
32
32
  module MasterCard
33
- module API
34
- module MdesCustomerService
35
- class TokenComments < MasterCard::Core::Model::BaseObject
36
- include MasterCard::Core::Model
37
- #
33
+ module API
34
+ module MdesCustomerService
35
+ class TokenComments < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
38
 
39
- @__store = {
40
- '221c5477-4838-4126-b58a-c47ccadeffb3' => OperationConfig.new("/mdes/csapi/v2/token/comments", "create", [], []),
41
-
42
- }
39
+ @__store = {
40
+ '08433b40-b4d4-4037-b3fc-26af80e3ac43' => OperationConfig.new("/mdes/csapi/v2/token/comments", "create", [], []),
41
+
42
+ }
43
43
 
44
- protected
44
+ protected
45
45
 
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
46
+ def self.getOperationConfig(operationUUID)
47
+ if @__store.key?(operationUUID)
48
+ return @__store[operationUUID]
49
+ end
50
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
51
+ end
52
52
 
53
- def self.getOperationMetadata()
54
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
55
- end
53
+ def self.getOperationMetadata()
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
55
+ end
56
56
 
57
- public
57
+ public
58
58
 
59
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
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("08433b40-b4d4-4037-b3fc-26af80e3ac43", TokenComments.new(mapObj))
68
+ end
69
69
 
70
70
 
71
71
 
@@ -73,9 +73,9 @@ module MasterCard
73
73
 
74
74
 
75
75
 
76
- end
77
- end
78
- end
76
+ end
77
+ end
78
+ end
79
79
  end
80
80
 
81
81
 
@@ -30,42 +30,42 @@ require "mastercard/core/model"
30
30
  require "mastercard/core/baseobject"
31
31
 
32
32
  module MasterCard
33
- module API
34
- module MdesCustomerService
35
- class TokenDelete < MasterCard::Core::Model::BaseObject
36
- include MasterCard::Core::Model
37
- #
33
+ module API
34
+ module MdesCustomerService
35
+ class TokenDelete < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
38
 
39
- @__store = {
40
- '8ae30129-18c8-48eb-bde8-2b88212ff726' => OperationConfig.new("/mdes/csapi/v2/token/delete", "create", [], []),
41
-
42
- }
39
+ @__store = {
40
+ '0cdaa9cd-3f42-4955-ba31-7a0ae07f33ab' => OperationConfig.new("/mdes/csapi/v2/token/delete", "create", [], []),
41
+
42
+ }
43
43
 
44
- protected
44
+ protected
45
45
 
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
46
+ def self.getOperationConfig(operationUUID)
47
+ if @__store.key?(operationUUID)
48
+ return @__store[operationUUID]
49
+ end
50
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
51
+ end
52
52
 
53
- def self.getOperationMetadata()
54
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
55
- end
53
+ def self.getOperationMetadata()
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
55
+ end
56
56
 
57
- public
57
+ public
58
58
 
59
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
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("0cdaa9cd-3f42-4955-ba31-7a0ae07f33ab", TokenDelete.new(mapObj))
68
+ end
69
69
 
70
70
 
71
71
 
@@ -73,9 +73,9 @@ module MasterCard
73
73
 
74
74
 
75
75
 
76
- end
77
- end
78
- end
76
+ end
77
+ end
78
+ end
79
79
  end
80
80
 
81
81
 
@@ -30,42 +30,42 @@ require "mastercard/core/model"
30
30
  require "mastercard/core/baseobject"
31
31
 
32
32
  module MasterCard
33
- module API
34
- module MdesCustomerService
35
- class TokenResendActivationCode < MasterCard::Core::Model::BaseObject
36
- include MasterCard::Core::Model
37
- #
33
+ module API
34
+ module MdesCustomerService
35
+ class TokenResendActivationCode < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
38
 
39
- @__store = {
40
- 'f4136330-c547-4a59-ba0c-84fece3963fd' => OperationConfig.new("/mdes/csapi/v2/token/resendactivationcode", "create", [], []),
41
-
42
- }
39
+ @__store = {
40
+ '40b17ada-c100-4ceb-956a-db1556c74a75' => OperationConfig.new("/mdes/csapi/v2/token/resendactivationcode", "create", [], []),
41
+
42
+ }
43
43
 
44
- protected
44
+ protected
45
45
 
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
46
+ def self.getOperationConfig(operationUUID)
47
+ if @__store.key?(operationUUID)
48
+ return @__store[operationUUID]
49
+ end
50
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
51
+ end
52
52
 
53
- def self.getOperationMetadata()
54
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
55
- end
53
+ def self.getOperationMetadata()
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
55
+ end
56
56
 
57
- public
57
+ public
58
58
 
59
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
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("40b17ada-c100-4ceb-956a-db1556c74a75", TokenResendActivationCode.new(mapObj))
68
+ end
69
69
 
70
70
 
71
71
 
@@ -73,9 +73,9 @@ module MasterCard
73
73
 
74
74
 
75
75
 
76
- end
77
- end
78
- end
76
+ end
77
+ end
78
+ end
79
79
  end
80
80
 
81
81
 
@@ -30,42 +30,42 @@ require "mastercard/core/model"
30
30
  require "mastercard/core/baseobject"
31
31
 
32
32
  module MasterCard
33
- module API
34
- module MdesCustomerService
35
- class TokenResetMobilePIN < MasterCard::Core::Model::BaseObject
36
- include MasterCard::Core::Model
37
- #
33
+ module API
34
+ module MdesCustomerService
35
+ class TokenResetMobilePIN < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
38
 
39
- @__store = {
40
- 'c3688946-d967-4736-9dab-b4f125dc9999' => OperationConfig.new("/mdes/csapi/v2/token/resetmobilepin", "create", [], []),
41
-
42
- }
39
+ @__store = {
40
+ '8b680381-e38f-4adb-8a74-031e452409fa' => OperationConfig.new("/mdes/csapi/v2/token/resetmobilepin", "create", [], []),
41
+
42
+ }
43
43
 
44
- protected
44
+ protected
45
45
 
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
46
+ def self.getOperationConfig(operationUUID)
47
+ if @__store.key?(operationUUID)
48
+ return @__store[operationUUID]
49
+ end
50
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
51
+ end
52
52
 
53
- def self.getOperationMetadata()
54
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
55
- end
53
+ def self.getOperationMetadata()
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
55
+ end
56
56
 
57
- public
57
+ public
58
58
 
59
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
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("8b680381-e38f-4adb-8a74-031e452409fa", TokenResetMobilePIN.new(mapObj))
68
+ end
69
69
 
70
70
 
71
71
 
@@ -73,9 +73,9 @@ module MasterCard
73
73
 
74
74
 
75
75
 
76
- end
77
- end
78
- end
76
+ end
77
+ end
78
+ end
79
79
  end
80
80
 
81
81
 
@@ -30,42 +30,42 @@ require "mastercard/core/model"
30
30
  require "mastercard/core/baseobject"
31
31
 
32
32
  module MasterCard
33
- module API
34
- module MdesCustomerService
35
- class TokenStatusHistory < MasterCard::Core::Model::BaseObject
36
- include MasterCard::Core::Model
37
- #
33
+ module API
34
+ module MdesCustomerService
35
+ class TokenStatusHistory < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
38
 
39
- @__store = {
40
- '9d74a691-9c3a-431d-a07d-1ec2b9759c7a' => OperationConfig.new("/mdes/csapi/v2/token/statushistory", "create", [], []),
41
-
42
- }
39
+ @__store = {
40
+ 'b583402e-7b3b-4939-a703-dd9abd396ece' => OperationConfig.new("/mdes/csapi/v2/token/statushistory", "create", [], []),
41
+
42
+ }
43
43
 
44
- protected
44
+ protected
45
45
 
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
46
+ def self.getOperationConfig(operationUUID)
47
+ if @__store.key?(operationUUID)
48
+ return @__store[operationUUID]
49
+ end
50
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
51
+ end
52
52
 
53
- def self.getOperationMetadata()
54
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
55
- end
53
+ def self.getOperationMetadata()
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
55
+ end
56
56
 
57
- public
57
+ public
58
58
 
59
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
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("b583402e-7b3b-4939-a703-dd9abd396ece", TokenStatusHistory.new(mapObj))
68
+ end
69
69
 
70
70
 
71
71
 
@@ -73,9 +73,9 @@ module MasterCard
73
73
 
74
74
 
75
75
 
76
- end
77
- end
78
- end
76
+ end
77
+ end
78
+ end
79
79
  end
80
80
 
81
81
 
@@ -30,42 +30,42 @@ require "mastercard/core/model"
30
30
  require "mastercard/core/baseobject"
31
31
 
32
32
  module MasterCard
33
- module API
34
- module MdesCustomerService
35
- class TokenSuspend < MasterCard::Core::Model::BaseObject
36
- include MasterCard::Core::Model
37
- #
33
+ module API
34
+ module MdesCustomerService
35
+ class TokenSuspend < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
38
 
39
- @__store = {
40
- '626e7aff-8416-422c-aa5e-64fd93a0ba03' => OperationConfig.new("/mdes/csapi/v2/token/suspend", "create", [], []),
41
-
42
- }
39
+ @__store = {
40
+ 'f214d590-aa2a-4d8c-bc65-5bde72f7732b' => OperationConfig.new("/mdes/csapi/v2/token/suspend", "create", [], []),
41
+
42
+ }
43
43
 
44
- protected
44
+ protected
45
45
 
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
46
+ def self.getOperationConfig(operationUUID)
47
+ if @__store.key?(operationUUID)
48
+ return @__store[operationUUID]
49
+ end
50
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
51
+ end
52
52
 
53
- def self.getOperationMetadata()
54
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
55
- end
53
+ def self.getOperationMetadata()
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
55
+ end
56
56
 
57
- public
57
+ public
58
58
 
59
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
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("f214d590-aa2a-4d8c-bc65-5bde72f7732b", TokenSuspend.new(mapObj))
68
+ end
69
69
 
70
70
 
71
71
 
@@ -73,9 +73,9 @@ module MasterCard
73
73
 
74
74
 
75
75
 
76
- end
77
- end
78
- end
76
+ end
77
+ end
78
+ end
79
79
  end
80
80
 
81
81