mastercard_qkr 1.0.2 → 1.1.0

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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mastercard/api/qkr/auth.rb +130 -0
  3. data/lib/mastercard/api/qkr/beneficiary.rb +166 -0
  4. data/lib/mastercard/api/qkr/{pospayment.rb → beneficiarycustomfield.rb} +33 -32
  5. data/lib/mastercard/api/qkr/card.rb +102 -102
  6. data/lib/mastercard/api/qkr/cart.rb +82 -82
  7. data/lib/mastercard/api/qkr/cartitem.rb +71 -71
  8. data/lib/mastercard/api/qkr/country.rb +53 -53
  9. data/lib/mastercard/api/qkr/creditnote.rb +116 -0
  10. data/lib/mastercard/api/qkr/externaltrans.rb +63 -63
  11. data/lib/mastercard/api/qkr/forgottenpassword.rb +32 -32
  12. data/lib/mastercard/api/qkr/form.rb +99 -0
  13. data/lib/mastercard/api/qkr/formsubmission.rb +104 -0
  14. data/lib/mastercard/api/qkr/lightbox.rb +53 -53
  15. data/lib/mastercard/api/qkr/machine.rb +43 -43
  16. data/lib/mastercard/api/qkr/menu.rb +32 -32
  17. data/lib/mastercard/api/qkr/merchant.rb +53 -53
  18. data/lib/mastercard/api/qkr/order.rb +92 -92
  19. data/lib/mastercard/api/qkr/orderahead.rb +32 -32
  20. data/lib/mastercard/api/qkr/orderaheadmenu.rb +32 -32
  21. data/lib/mastercard/api/qkr/ordercalendar.rb +99 -0
  22. data/lib/mastercard/api/qkr/orderslot.rb +32 -32
  23. data/lib/mastercard/api/qkr/ordertotal.rb +32 -32
  24. data/lib/mastercard/api/qkr/posorder.rb +42 -42
  25. data/lib/mastercard/api/qkr/pospaymentnotification.rb +32 -32
  26. data/lib/mastercard/api/qkr/prodgroup.rb +43 -43
  27. data/lib/mastercard/api/qkr/refund.rb +32 -32
  28. data/lib/mastercard/api/qkr/resendotp.rb +32 -32
  29. data/lib/mastercard/api/qkr/resourceconfig.rb +54 -54
  30. data/lib/mastercard/api/qkr/securityquestion.rb +32 -32
  31. data/lib/mastercard/api/qkr/trans.rb +73 -73
  32. data/lib/mastercard/api/qkr/updatepassword.rb +32 -32
  33. data/lib/mastercard/api/qkr/user.rb +52 -52
  34. data/lib/mastercard/api/qkr/{payment.rb → userimage.rb} +32 -32
  35. data/lib/mastercard/api/qkr/usersession.rb +32 -32
  36. data/lib/mastercard/api/qkr/vendingsession.rb +61 -61
  37. data/lib/mastercard/api/qkr/verifyotp.rb +32 -32
  38. data/lib/mastercard_qkr.rb +8 -2
  39. metadata +12 -6
@@ -30,45 +30,45 @@ require "mastercard/core/model"
30
30
  require "mastercard/core/baseobject"
31
31
 
32
32
  module MasterCard
33
- module API
34
- module Qkr
35
- class Trans < MasterCard::Core::Model::BaseObject
36
- include MasterCard::Core::Model
37
- #
33
+ module API
34
+ module Qkr
35
+ class Trans < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
38
 
39
- @__store = {
40
- 'b5e20847-21b1-49be-af4a-cf8092f5cae7' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/trans", "create", ["X-Auth-Token"], []),
41
- '687e68c9-5bcc-48d8-89f3-bbd86277f455' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/trans", "query", ["X-Auth-Token"], ["from","to"]),
42
- '23ecfe2f-662c-4936-9fd1-b834cbf7fbf4' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/trans/{id}", "read", ["X-Auth-Token"], []),
43
- 'fd5f51fb-e72a-4935-93c1-c8455f799b5e' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/trans/{id}", "update", ["X-Auth-Token"], []),
44
-
45
- }
39
+ @__store = {
40
+ '57cb0b01-67c2-4466-bff4-b19b32ec03e5' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/trans", "create", ["X-Auth-Token"], []),
41
+ '0d68bf31-b798-4875-8ad8-f2adbeaeabc6' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/trans", "query", ["X-Auth-Token"], ["from","to"]),
42
+ '621034bc-d52e-48da-9045-d5b1284ef906' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/trans/{id}", "read", ["X-Auth-Token"], []),
43
+ '5be8abce-c91a-4dc0-aa10-fd90445a4ba9' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/trans/{id}", "update", ["X-Auth-Token"], []),
44
+
45
+ }
46
46
 
47
- protected
47
+ protected
48
48
 
49
- def self.getOperationConfig(operationUUID)
50
- if @__store.key?(operationUUID)
51
- return @__store[operationUUID]
52
- end
53
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
54
- end
49
+ def self.getOperationConfig(operationUUID)
50
+ if @__store.key?(operationUUID)
51
+ return @__store[operationUUID]
52
+ end
53
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
54
+ end
55
55
 
56
- def self.getOperationMetadata()
57
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
58
- end
56
+ def self.getOperationMetadata()
57
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
58
+ end
59
59
 
60
- public
60
+ public
61
61
 
62
62
 
63
- def self.create(mapObj)
64
- #
65
- #Creates object of type Trans
66
- #
67
- #@param Dict mapObj, containing the required parameters to create a new object
68
- #@return [Trans] of the response of created instance.
69
- #@raise [APIException] an exception from the response status
70
- return self.execute("b5e20847-21b1-49be-af4a-cf8092f5cae7", Trans.new(mapObj))
71
- end
63
+ def self.create(mapObj)
64
+ #
65
+ #Creates object of type Trans
66
+ #
67
+ #@param Dict mapObj, containing the required parameters to create a new object
68
+ #@return [Trans] of the response of created instance.
69
+ #@raise [APIException] an exception from the response status
70
+ return self.execute("57cb0b01-67c2-4466-bff4-b19b32ec03e5", Trans.new(mapObj))
71
+ end
72
72
 
73
73
 
74
74
 
@@ -81,57 +81,57 @@ module MasterCard
81
81
 
82
82
 
83
83
 
84
- def self.query(criteria)
85
- #
86
- #Query objects of type Trans by id and optional criteria
87
- #@param [Dict] criteria
88
- #@return [Trans] object representing the response.
89
- #@raise [APIException] an exception from the response status
90
- #
84
+ def self.query(criteria)
85
+ #
86
+ #Query objects of type Trans by id and optional criteria
87
+ #@param [Dict] criteria
88
+ #@return [Trans] object representing the response.
89
+ #@raise [APIException] an exception from the response status
90
+ #
91
91
 
92
- return self.execute("687e68c9-5bcc-48d8-89f3-bbd86277f455",Trans.new(criteria))
93
- end
92
+ return self.execute("0d68bf31-b798-4875-8ad8-f2adbeaeabc6",Trans.new(criteria))
93
+ end
94
94
 
95
95
 
96
96
 
97
97
 
98
98
 
99
99
 
100
- def self.read(id, criteria = nil)
101
- #
102
- #Returns objects of type Trans by id and optional criteria
103
- #@param [String] id
104
- #@param [Dict] criteria
105
- #@return [Trans] object representing the response
106
- #@raise [APIException] an exception from the response status
100
+ def self.read(id, criteria = nil)
101
+ #
102
+ #Returns objects of type Trans by id and optional criteria
103
+ #@param [String] id
104
+ #@param [Dict] criteria
105
+ #@return [Trans] object representing the response
106
+ #@raise [APIException] an exception from the response status
107
107
 
108
- mapObj = Trans.new
109
- if !(id.nil? || id.to_s.empty?)
110
- mapObj.set("id", id)
111
- end
112
- if !criteria.nil?
113
- if criteria.instance_of? RequestMap
114
- mapObj.setAll(criteria.getObject())
115
- else
116
- mapObj.setAll(criteria)
117
- end
118
- end
108
+ mapObj = Trans.new
109
+ if !(id.nil? || id.to_s.empty?)
110
+ mapObj.set("id", id)
111
+ end
112
+ if !criteria.nil?
113
+ if criteria.instance_of? RequestMap
114
+ mapObj.setAll(criteria.getObject())
115
+ else
116
+ mapObj.setAll(criteria)
117
+ end
118
+ end
119
119
 
120
- return self.execute("23ecfe2f-662c-4936-9fd1-b834cbf7fbf4",Trans.new(mapObj))
121
- end
120
+ return self.execute("621034bc-d52e-48da-9045-d5b1284ef906",Trans.new(mapObj))
121
+ end
122
122
 
123
123
 
124
124
 
125
125
 
126
- def update
127
- #
128
- #Updates an object of type Trans
129
- #
130
- #@return [Trans] object representing the response.
131
- #@raise [APIException] an exception from the response status
132
- #
133
- return self.class.execute("fd5f51fb-e72a-4935-93c1-c8455f799b5e",self)
134
- end
126
+ def update
127
+ #
128
+ #Updates an object of type Trans
129
+ #
130
+ #@return [Trans] object representing the response.
131
+ #@raise [APIException] an exception from the response status
132
+ #
133
+ return self.class.execute("5be8abce-c91a-4dc0-aa10-fd90445a4ba9",self)
134
+ end
135
135
 
136
136
 
137
137
 
@@ -139,9 +139,9 @@ module MasterCard
139
139
 
140
140
 
141
141
 
142
- end
143
- end
144
- end
142
+ end
143
+ end
144
+ end
145
145
  end
146
146
 
147
147
 
@@ -30,43 +30,43 @@ require "mastercard/core/model"
30
30
  require "mastercard/core/baseobject"
31
31
 
32
32
  module MasterCard
33
- module API
34
- module Qkr
35
- class UpdatePassword < MasterCard::Core::Model::BaseObject
36
- include MasterCard::Core::Model
37
- #
33
+ module API
34
+ module Qkr
35
+ class UpdatePassword < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
38
 
39
- @__store = {
40
- '098cdca7-1463-46eb-9ae1-2ed684705f16' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/updatePassword", "update", ["X-Auth-Token"], []),
41
-
42
- }
39
+ @__store = {
40
+ '27991b9b-e091-4076-9cf5-739c3026d68c' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/updatePassword", "update", ["X-Auth-Token"], []),
41
+
42
+ }
43
43
 
44
- protected
44
+ protected
45
45
 
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
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(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
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
60
 
61
- def update
62
- #
63
- #Updates an object of type UpdatePassword
64
- #
65
- #@return [UpdatePassword] object representing the response.
66
- #@raise [APIException] an exception from the response status
67
- #
68
- return self.class.execute("098cdca7-1463-46eb-9ae1-2ed684705f16",self)
69
- end
61
+ def update
62
+ #
63
+ #Updates an object of type UpdatePassword
64
+ #
65
+ #@return [UpdatePassword] object representing the response.
66
+ #@raise [APIException] an exception from the response status
67
+ #
68
+ return self.class.execute("27991b9b-e091-4076-9cf5-739c3026d68c",self)
69
+ end
70
70
 
71
71
 
72
72
 
@@ -74,9 +74,9 @@ module MasterCard
74
74
 
75
75
 
76
76
 
77
- end
78
- end
79
- end
77
+ end
78
+ end
79
+ end
80
80
  end
81
81
 
82
82
 
@@ -30,44 +30,44 @@ require "mastercard/core/model"
30
30
  require "mastercard/core/baseobject"
31
31
 
32
32
  module MasterCard
33
- module API
34
- module Qkr
35
- class User < MasterCard::Core::Model::BaseObject
36
- include MasterCard::Core::Model
37
- #
33
+ module API
34
+ module Qkr
35
+ class User < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
38
 
39
- @__store = {
40
- 'd008bde3-5e8d-4ec2-be31-a29804b7459b' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/user", "create", ["X-Auth-Token"], []),
41
- 'cdec6f92-ab4b-480c-883f-0163fd4bb719' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/user", "query", ["X-Auth-Token"], []),
42
- '76241392-7958-46ef-bf35-4967800363e2' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/user", "update", ["X-Auth-Token"], []),
43
-
44
- }
39
+ @__store = {
40
+ 'cfd5975f-e9eb-49c8-ad38-d4f2c14fe10b' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/user", "create", ["X-Auth-Token"], []),
41
+ '7f9dc233-7377-4cb2-b3c4-c4c16302afa6' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/user", "query", ["X-Auth-Token"], []),
42
+ 'e9cb64ce-6f6e-44c6-b0a9-364ab3cfe895' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/user", "update", ["X-Auth-Token"], []),
43
+
44
+ }
45
45
 
46
- protected
46
+ protected
47
47
 
48
- def self.getOperationConfig(operationUUID)
49
- if @__store.key?(operationUUID)
50
- return @__store[operationUUID]
51
- end
52
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
53
- end
48
+ def self.getOperationConfig(operationUUID)
49
+ if @__store.key?(operationUUID)
50
+ return @__store[operationUUID]
51
+ end
52
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
53
+ end
54
54
 
55
- def self.getOperationMetadata()
56
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
57
- end
55
+ def self.getOperationMetadata()
56
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
57
+ end
58
58
 
59
- public
59
+ public
60
60
 
61
61
 
62
- def self.create(mapObj)
63
- #
64
- #Creates object of type User
65
- #
66
- #@param Dict mapObj, containing the required parameters to create a new object
67
- #@return [User] of the response of created instance.
68
- #@raise [APIException] an exception from the response status
69
- return self.execute("d008bde3-5e8d-4ec2-be31-a29804b7459b", User.new(mapObj))
70
- end
62
+ def self.create(mapObj)
63
+ #
64
+ #Creates object of type User
65
+ #
66
+ #@param Dict mapObj, containing the required parameters to create a new object
67
+ #@return [User] of the response of created instance.
68
+ #@raise [APIException] an exception from the response status
69
+ return self.execute("cfd5975f-e9eb-49c8-ad38-d4f2c14fe10b", User.new(mapObj))
70
+ end
71
71
 
72
72
 
73
73
 
@@ -80,28 +80,28 @@ module MasterCard
80
80
 
81
81
 
82
82
 
83
- def self.query(criteria)
84
- #
85
- #Query objects of type User by id and optional criteria
86
- #@param [Dict] criteria
87
- #@return [User] object representing the response.
88
- #@raise [APIException] an exception from the response status
89
- #
83
+ def self.query(criteria)
84
+ #
85
+ #Query objects of type User by id and optional criteria
86
+ #@param [Dict] criteria
87
+ #@return [User] object representing the response.
88
+ #@raise [APIException] an exception from the response status
89
+ #
90
90
 
91
- return self.execute("cdec6f92-ab4b-480c-883f-0163fd4bb719",User.new(criteria))
92
- end
91
+ return self.execute("7f9dc233-7377-4cb2-b3c4-c4c16302afa6",User.new(criteria))
92
+ end
93
93
 
94
94
 
95
95
 
96
- def update
97
- #
98
- #Updates an object of type User
99
- #
100
- #@return [User] object representing the response.
101
- #@raise [APIException] an exception from the response status
102
- #
103
- return self.class.execute("76241392-7958-46ef-bf35-4967800363e2",self)
104
- end
96
+ def update
97
+ #
98
+ #Updates an object of type User
99
+ #
100
+ #@return [User] object representing the response.
101
+ #@raise [APIException] an exception from the response status
102
+ #
103
+ return self.class.execute("e9cb64ce-6f6e-44c6-b0a9-364ab3cfe895",self)
104
+ end
105
105
 
106
106
 
107
107
 
@@ -109,9 +109,9 @@ module MasterCard
109
109
 
110
110
 
111
111
 
112
- end
113
- end
114
- end
112
+ end
113
+ end
114
+ end
115
115
  end
116
116
 
117
117
 
@@ -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 Qkr
35
- class Payment < MasterCard::Core::Model::BaseObject
36
- include MasterCard::Core::Model
37
- #
33
+ module API
34
+ module Qkr
35
+ class UserImage < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
38
 
39
- @__store = {
40
- 'f17d58ba-79f7-42cc-b827-1c3ba598e482' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/payment", "create", ["X-Auth-Token"], []),
41
-
42
- }
39
+ @__store = {
40
+ '0a9459cf-ab04-4dac-b7af-e2f92883a3a7' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/userImage", "create", ["X-Auth-Token"], []),
41
+
42
+ }
43
43
 
44
- protected
44
+ protected
45
45
 
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
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(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
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 Payment
63
- #
64
- #@param Dict mapObj, containing the required parameters to create a new object
65
- #@return [Payment] of the response of created instance.
66
- #@raise [APIException] an exception from the response status
67
- return self.execute("f17d58ba-79f7-42cc-b827-1c3ba598e482", Payment.new(mapObj))
68
- end
60
+ def self.create(mapObj)
61
+ #
62
+ #Creates object of type UserImage
63
+ #
64
+ #@param Dict mapObj, containing the required parameters to create a new object
65
+ #@return [UserImage] of the response of created instance.
66
+ #@raise [APIException] an exception from the response status
67
+ return self.execute("0a9459cf-ab04-4dac-b7af-e2f92883a3a7", UserImage.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 Qkr
35
- class UserSession < MasterCard::Core::Model::BaseObject
36
- include MasterCard::Core::Model
37
- #
33
+ module API
34
+ module Qkr
35
+ class UserSession < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
38
 
39
- @__store = {
40
- '60bd9ddf-0a97-432d-88d4-f2c471a3c9fd' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/userSession", "create", [], []),
41
-
42
- }
39
+ @__store = {
40
+ '3d7652ce-9aa7-43a5-89b0-a3f2afc60da6' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/userSession", "create", [], []),
41
+
42
+ }
43
43
 
44
- protected
44
+ protected
45
45
 
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
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(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
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 UserSession
63
- #
64
- #@param Dict mapObj, containing the required parameters to create a new object
65
- #@return [UserSession] of the response of created instance.
66
- #@raise [APIException] an exception from the response status
67
- return self.execute("60bd9ddf-0a97-432d-88d4-f2c471a3c9fd", UserSession.new(mapObj))
68
- end
60
+ def self.create(mapObj)
61
+ #
62
+ #Creates object of type UserSession
63
+ #
64
+ #@param Dict mapObj, containing the required parameters to create a new object
65
+ #@return [UserSession] of the response of created instance.
66
+ #@raise [APIException] an exception from the response status
67
+ return self.execute("3d7652ce-9aa7-43a5-89b0-a3f2afc60da6", UserSession.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