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.
- checksums.yaml +5 -5
 - data/lib/mastercard/api/mdescustomerservice/resourceconfig.rb +56 -50
 - data/lib/mastercard/api/mdescustomerservice/search.rb +32 -32
 - data/lib/mastercard/api/mdescustomerservice/systemstatus.rb +32 -32
 - data/lib/mastercard/api/mdescustomerservice/tokenactivate.rb +32 -32
 - data/lib/mastercard/api/mdescustomerservice/tokenactivationmethods.rb +32 -32
 - data/lib/mastercard/api/mdescustomerservice/tokencomments.rb +32 -32
 - data/lib/mastercard/api/mdescustomerservice/tokendelete.rb +32 -32
 - data/lib/mastercard/api/mdescustomerservice/tokenresendactivationcode.rb +32 -32
 - data/lib/mastercard/api/mdescustomerservice/tokenresetmobilepin.rb +32 -32
 - data/lib/mastercard/api/mdescustomerservice/tokenstatushistory.rb +32 -32
 - data/lib/mastercard/api/mdescustomerservice/tokensuspend.rb +32 -32
 - data/lib/mastercard/api/mdescustomerservice/tokenunsuspend.rb +32 -32
 - data/lib/mastercard/api/mdescustomerservice/tokenupdate.rb +32 -32
 - data/lib/mastercard/api/mdescustomerservice/transactions.rb +32 -32
 - data/lib/mastercard/api/mdescustomerservice/updatetokenassurance.rb +86 -0
 - data/lib/mastercard_mdescustomerservice.rb +1 -0
 - metadata +6 -5
 
| 
         @@ -30,42 +30,42 @@ require "mastercard/core/model" 
     | 
|
| 
       30 
30 
     | 
    
         
             
            require "mastercard/core/baseobject"
         
     | 
| 
       31 
31 
     | 
    
         | 
| 
       32 
32 
     | 
    
         
             
            module MasterCard
         
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
       37 
     | 
    
         
            -
             
     | 
| 
      
 33 
     | 
    
         
            +
                module API
         
     | 
| 
      
 34 
     | 
    
         
            +
                    module MdesCustomerService
         
     | 
| 
      
 35 
     | 
    
         
            +
                        class TokenComments < MasterCard::Core::Model::BaseObject
         
     | 
| 
      
 36 
     | 
    
         
            +
                            include MasterCard::Core::Model
         
     | 
| 
      
 37 
     | 
    
         
            +
                            #
         
     | 
| 
       38 
38 
     | 
    
         | 
| 
       39 
     | 
    
         
            -
             
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
      
 39 
     | 
    
         
            +
                            @__store = {
         
     | 
| 
      
 40 
     | 
    
         
            +
                                '08433b40-b4d4-4037-b3fc-26af80e3ac43' => OperationConfig.new("/mdes/csapi/v2/token/comments", "create", [], []),
         
     | 
| 
      
 41 
     | 
    
         
            +
                                
         
     | 
| 
      
 42 
     | 
    
         
            +
                            }
         
     | 
| 
       43 
43 
     | 
    
         | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
      
 44 
     | 
    
         
            +
                            protected
         
     | 
| 
       45 
45 
     | 
    
         | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
             
     | 
| 
       49 
     | 
    
         
            -
             
     | 
| 
       50 
     | 
    
         
            -
             
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       54 
     | 
    
         
            -
             
     | 
| 
       55 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
      
 57 
     | 
    
         
            +
                            public
         
     | 
| 
       58 
58 
     | 
    
         | 
| 
       59 
59 
     | 
    
         | 
| 
       60 
     | 
    
         
            -
             
     | 
| 
       61 
     | 
    
         
            -
             
     | 
| 
       62 
     | 
    
         
            -
             
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
       64 
     | 
    
         
            -
             
     | 
| 
       65 
     | 
    
         
            -
             
     | 
| 
       66 
     | 
    
         
            -
             
     | 
| 
       67 
     | 
    
         
            -
             
     | 
| 
       68 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
             
     | 
| 
       78 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
       37 
     | 
    
         
            -
             
     | 
| 
      
 33 
     | 
    
         
            +
                module API
         
     | 
| 
      
 34 
     | 
    
         
            +
                    module MdesCustomerService
         
     | 
| 
      
 35 
     | 
    
         
            +
                        class TokenDelete < MasterCard::Core::Model::BaseObject
         
     | 
| 
      
 36 
     | 
    
         
            +
                            include MasterCard::Core::Model
         
     | 
| 
      
 37 
     | 
    
         
            +
                            #
         
     | 
| 
       38 
38 
     | 
    
         | 
| 
       39 
     | 
    
         
            -
             
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
      
 39 
     | 
    
         
            +
                            @__store = {
         
     | 
| 
      
 40 
     | 
    
         
            +
                                '0cdaa9cd-3f42-4955-ba31-7a0ae07f33ab' => OperationConfig.new("/mdes/csapi/v2/token/delete", "create", [], []),
         
     | 
| 
      
 41 
     | 
    
         
            +
                                
         
     | 
| 
      
 42 
     | 
    
         
            +
                            }
         
     | 
| 
       43 
43 
     | 
    
         | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
      
 44 
     | 
    
         
            +
                            protected
         
     | 
| 
       45 
45 
     | 
    
         | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
             
     | 
| 
       49 
     | 
    
         
            -
             
     | 
| 
       50 
     | 
    
         
            -
             
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       54 
     | 
    
         
            -
             
     | 
| 
       55 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
      
 57 
     | 
    
         
            +
                            public
         
     | 
| 
       58 
58 
     | 
    
         | 
| 
       59 
59 
     | 
    
         | 
| 
       60 
     | 
    
         
            -
             
     | 
| 
       61 
     | 
    
         
            -
             
     | 
| 
       62 
     | 
    
         
            -
             
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
       64 
     | 
    
         
            -
             
     | 
| 
       65 
     | 
    
         
            -
             
     | 
| 
       66 
     | 
    
         
            -
             
     | 
| 
       67 
     | 
    
         
            -
             
     | 
| 
       68 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
             
     | 
| 
       78 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
       37 
     | 
    
         
            -
             
     | 
| 
      
 33 
     | 
    
         
            +
                module API
         
     | 
| 
      
 34 
     | 
    
         
            +
                    module MdesCustomerService
         
     | 
| 
      
 35 
     | 
    
         
            +
                        class TokenResendActivationCode < MasterCard::Core::Model::BaseObject
         
     | 
| 
      
 36 
     | 
    
         
            +
                            include MasterCard::Core::Model
         
     | 
| 
      
 37 
     | 
    
         
            +
                            #
         
     | 
| 
       38 
38 
     | 
    
         | 
| 
       39 
     | 
    
         
            -
             
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
      
 39 
     | 
    
         
            +
                            @__store = {
         
     | 
| 
      
 40 
     | 
    
         
            +
                                '40b17ada-c100-4ceb-956a-db1556c74a75' => OperationConfig.new("/mdes/csapi/v2/token/resendactivationcode", "create", [], []),
         
     | 
| 
      
 41 
     | 
    
         
            +
                                
         
     | 
| 
      
 42 
     | 
    
         
            +
                            }
         
     | 
| 
       43 
43 
     | 
    
         | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
      
 44 
     | 
    
         
            +
                            protected
         
     | 
| 
       45 
45 
     | 
    
         | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
             
     | 
| 
       49 
     | 
    
         
            -
             
     | 
| 
       50 
     | 
    
         
            -
             
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       54 
     | 
    
         
            -
             
     | 
| 
       55 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
      
 57 
     | 
    
         
            +
                            public
         
     | 
| 
       58 
58 
     | 
    
         | 
| 
       59 
59 
     | 
    
         | 
| 
       60 
     | 
    
         
            -
             
     | 
| 
       61 
     | 
    
         
            -
             
     | 
| 
       62 
     | 
    
         
            -
             
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
       64 
     | 
    
         
            -
             
     | 
| 
       65 
     | 
    
         
            -
             
     | 
| 
       66 
     | 
    
         
            -
             
     | 
| 
       67 
     | 
    
         
            -
             
     | 
| 
       68 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
             
     | 
| 
       78 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
       37 
     | 
    
         
            -
             
     | 
| 
      
 33 
     | 
    
         
            +
                module API
         
     | 
| 
      
 34 
     | 
    
         
            +
                    module MdesCustomerService
         
     | 
| 
      
 35 
     | 
    
         
            +
                        class TokenResetMobilePIN < MasterCard::Core::Model::BaseObject
         
     | 
| 
      
 36 
     | 
    
         
            +
                            include MasterCard::Core::Model
         
     | 
| 
      
 37 
     | 
    
         
            +
                            #
         
     | 
| 
       38 
38 
     | 
    
         | 
| 
       39 
     | 
    
         
            -
             
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
      
 39 
     | 
    
         
            +
                            @__store = {
         
     | 
| 
      
 40 
     | 
    
         
            +
                                '8b680381-e38f-4adb-8a74-031e452409fa' => OperationConfig.new("/mdes/csapi/v2/token/resetmobilepin", "create", [], []),
         
     | 
| 
      
 41 
     | 
    
         
            +
                                
         
     | 
| 
      
 42 
     | 
    
         
            +
                            }
         
     | 
| 
       43 
43 
     | 
    
         | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
      
 44 
     | 
    
         
            +
                            protected
         
     | 
| 
       45 
45 
     | 
    
         | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
             
     | 
| 
       49 
     | 
    
         
            -
             
     | 
| 
       50 
     | 
    
         
            -
             
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       54 
     | 
    
         
            -
             
     | 
| 
       55 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
      
 57 
     | 
    
         
            +
                            public
         
     | 
| 
       58 
58 
     | 
    
         | 
| 
       59 
59 
     | 
    
         | 
| 
       60 
     | 
    
         
            -
             
     | 
| 
       61 
     | 
    
         
            -
             
     | 
| 
       62 
     | 
    
         
            -
             
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
       64 
     | 
    
         
            -
             
     | 
| 
       65 
     | 
    
         
            -
             
     | 
| 
       66 
     | 
    
         
            -
             
     | 
| 
       67 
     | 
    
         
            -
             
     | 
| 
       68 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
             
     | 
| 
       78 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
       37 
     | 
    
         
            -
             
     | 
| 
      
 33 
     | 
    
         
            +
                module API
         
     | 
| 
      
 34 
     | 
    
         
            +
                    module MdesCustomerService
         
     | 
| 
      
 35 
     | 
    
         
            +
                        class TokenStatusHistory < MasterCard::Core::Model::BaseObject
         
     | 
| 
      
 36 
     | 
    
         
            +
                            include MasterCard::Core::Model
         
     | 
| 
      
 37 
     | 
    
         
            +
                            #
         
     | 
| 
       38 
38 
     | 
    
         | 
| 
       39 
     | 
    
         
            -
             
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
      
 39 
     | 
    
         
            +
                            @__store = {
         
     | 
| 
      
 40 
     | 
    
         
            +
                                'b583402e-7b3b-4939-a703-dd9abd396ece' => OperationConfig.new("/mdes/csapi/v2/token/statushistory", "create", [], []),
         
     | 
| 
      
 41 
     | 
    
         
            +
                                
         
     | 
| 
      
 42 
     | 
    
         
            +
                            }
         
     | 
| 
       43 
43 
     | 
    
         | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
      
 44 
     | 
    
         
            +
                            protected
         
     | 
| 
       45 
45 
     | 
    
         | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
             
     | 
| 
       49 
     | 
    
         
            -
             
     | 
| 
       50 
     | 
    
         
            -
             
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       54 
     | 
    
         
            -
             
     | 
| 
       55 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
      
 57 
     | 
    
         
            +
                            public
         
     | 
| 
       58 
58 
     | 
    
         | 
| 
       59 
59 
     | 
    
         | 
| 
       60 
     | 
    
         
            -
             
     | 
| 
       61 
     | 
    
         
            -
             
     | 
| 
       62 
     | 
    
         
            -
             
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
       64 
     | 
    
         
            -
             
     | 
| 
       65 
     | 
    
         
            -
             
     | 
| 
       66 
     | 
    
         
            -
             
     | 
| 
       67 
     | 
    
         
            -
             
     | 
| 
       68 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
             
     | 
| 
       78 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
       37 
     | 
    
         
            -
             
     | 
| 
      
 33 
     | 
    
         
            +
                module API
         
     | 
| 
      
 34 
     | 
    
         
            +
                    module MdesCustomerService
         
     | 
| 
      
 35 
     | 
    
         
            +
                        class TokenSuspend < MasterCard::Core::Model::BaseObject
         
     | 
| 
      
 36 
     | 
    
         
            +
                            include MasterCard::Core::Model
         
     | 
| 
      
 37 
     | 
    
         
            +
                            #
         
     | 
| 
       38 
38 
     | 
    
         | 
| 
       39 
     | 
    
         
            -
             
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
      
 39 
     | 
    
         
            +
                            @__store = {
         
     | 
| 
      
 40 
     | 
    
         
            +
                                'f214d590-aa2a-4d8c-bc65-5bde72f7732b' => OperationConfig.new("/mdes/csapi/v2/token/suspend", "create", [], []),
         
     | 
| 
      
 41 
     | 
    
         
            +
                                
         
     | 
| 
      
 42 
     | 
    
         
            +
                            }
         
     | 
| 
       43 
43 
     | 
    
         | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
      
 44 
     | 
    
         
            +
                            protected
         
     | 
| 
       45 
45 
     | 
    
         | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
             
     | 
| 
       49 
     | 
    
         
            -
             
     | 
| 
       50 
     | 
    
         
            -
             
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       54 
     | 
    
         
            -
             
     | 
| 
       55 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
      
 57 
     | 
    
         
            +
                            public
         
     | 
| 
       58 
58 
     | 
    
         | 
| 
       59 
59 
     | 
    
         | 
| 
       60 
     | 
    
         
            -
             
     | 
| 
       61 
     | 
    
         
            -
             
     | 
| 
       62 
     | 
    
         
            -
             
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
       64 
     | 
    
         
            -
             
     | 
| 
       65 
     | 
    
         
            -
             
     | 
| 
       66 
     | 
    
         
            -
             
     | 
| 
       67 
     | 
    
         
            -
             
     | 
| 
       68 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
             
     | 
| 
       78 
     | 
    
         
            -
             
     | 
| 
      
 76 
     | 
    
         
            +
                        end
         
     | 
| 
      
 77 
     | 
    
         
            +
                    end
         
     | 
| 
      
 78 
     | 
    
         
            +
                end
         
     | 
| 
       79 
79 
     | 
    
         
             
            end
         
     | 
| 
       80 
80 
     | 
    
         | 
| 
       81 
81 
     | 
    
         |