mastercard_qkr 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mastercard/api/qkr/card.rb +16 -16
- data/lib/mastercard/api/qkr/cart.rb +12 -12
- data/lib/mastercard/api/qkr/cartitem.rb +12 -12
- data/lib/mastercard/api/qkr/country.rb +9 -9
- data/lib/mastercard/api/qkr/externaltrans.rb +11 -11
- data/lib/mastercard/api/qkr/forgottenpassword.rb +7 -7
- data/lib/mastercard/api/qkr/lightbox.rb +9 -9
- data/lib/mastercard/api/qkr/machine.rb +99 -0
- data/lib/mastercard/api/qkr/menu.rb +7 -7
- data/lib/mastercard/api/qkr/merchant.rb +9 -9
- data/lib/mastercard/api/qkr/order.rb +14 -14
- data/lib/mastercard/api/qkr/orderahead.rb +7 -7
- data/lib/mastercard/api/qkr/orderaheadmenu.rb +7 -7
- data/lib/mastercard/api/qkr/orderslot.rb +7 -7
- data/lib/mastercard/api/qkr/ordertotal.rb +7 -7
- data/lib/mastercard/api/qkr/payment.rb +7 -7
- data/lib/mastercard/api/qkr/posorder.rb +104 -0
- data/lib/mastercard/api/qkr/pospayment.rb +7 -7
- data/lib/mastercard/api/qkr/pospaymentnotification.rb +7 -7
- data/lib/mastercard/api/qkr/prodgroup.rb +7 -7
- data/lib/mastercard/api/qkr/refund.rb +7 -7
- data/lib/mastercard/api/qkr/resendotp.rb +7 -7
- data/lib/mastercard/api/qkr/resourceconfig.rb +7 -6
- data/lib/mastercard/api/qkr/securityquestion.rb +7 -7
- data/lib/mastercard/api/qkr/trans.rb +13 -13
- data/lib/mastercard/api/qkr/updatepassword.rb +7 -7
- data/lib/mastercard/api/qkr/user.rb +11 -11
- data/lib/mastercard/api/qkr/usersession.rb +7 -7
- data/lib/mastercard/api/qkr/vendingsession.rb +130 -0
- data/lib/mastercard/api/qkr/verifyotp.rb +7 -7
- data/lib/mastercard_qkr.rb +3 -0
- metadata +5 -2
@@ -37,21 +37,21 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'bc223b24-71f5-4856-9691-dbfc0683ea52' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/posPayment/pat", "create", ["X-Auth-Token"], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
44
44
|
protected
|
45
45
|
|
46
|
-
def self.getOperationConfig(
|
47
|
-
if @__store.key?(
|
48
|
-
return @__store[
|
46
|
+
def self.getOperationConfig(operationUUID)
|
47
|
+
if @__store.key?(operationUUID)
|
48
|
+
return @__store[operationUUID]
|
49
49
|
end
|
50
|
-
raise NotImplementedError.new("Invalid operationUUID supplied:"+
|
50
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
|
51
51
|
end
|
52
52
|
|
53
53
|
def self.getOperationMetadata()
|
54
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
54
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
55
55
|
end
|
56
56
|
|
57
57
|
public
|
@@ -64,7 +64,7 @@ module MasterCard
|
|
64
64
|
#@param Dict mapObj, containing the required parameters to create a new object
|
65
65
|
#@return [PosPayment] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("bc223b24-71f5-4856-9691-dbfc0683ea52", PosPayment.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|
@@ -37,21 +37,21 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'decaeae6-d66b-4c56-a37d-4a90d96aebc1' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/posPaymentNotification/pat", "create", ["X-Auth-Token"], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
44
44
|
protected
|
45
45
|
|
46
|
-
def self.getOperationConfig(
|
47
|
-
if @__store.key?(
|
48
|
-
return @__store[
|
46
|
+
def self.getOperationConfig(operationUUID)
|
47
|
+
if @__store.key?(operationUUID)
|
48
|
+
return @__store[operationUUID]
|
49
49
|
end
|
50
|
-
raise NotImplementedError.new("Invalid operationUUID supplied:"+
|
50
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
|
51
51
|
end
|
52
52
|
|
53
53
|
def self.getOperationMetadata()
|
54
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
54
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
55
55
|
end
|
56
56
|
|
57
57
|
public
|
@@ -64,7 +64,7 @@ module MasterCard
|
|
64
64
|
#@param Dict mapObj, containing the required parameters to create a new object
|
65
65
|
#@return [PosPaymentNotification] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("decaeae6-d66b-4c56-a37d-4a90d96aebc1", PosPaymentNotification.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|
@@ -37,21 +37,21 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'e3939bd9-4d04-4613-a523-d2ab1f00982b' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/prodGroup/{id}", "read", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
44
44
|
protected
|
45
45
|
|
46
|
-
def self.getOperationConfig(
|
47
|
-
if @__store.key?(
|
48
|
-
return @__store[
|
46
|
+
def self.getOperationConfig(operationUUID)
|
47
|
+
if @__store.key?(operationUUID)
|
48
|
+
return @__store[operationUUID]
|
49
49
|
end
|
50
|
-
raise NotImplementedError.new("Invalid operationUUID supplied:"+
|
50
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
|
51
51
|
end
|
52
52
|
|
53
53
|
def self.getOperationMetadata()
|
54
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
54
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
55
55
|
end
|
56
56
|
|
57
57
|
public
|
@@ -81,7 +81,7 @@ module MasterCard
|
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
84
|
-
return self.execute("
|
84
|
+
return self.execute("e3939bd9-4d04-4613-a523-d2ab1f00982b",ProdGroup.new(mapObj))
|
85
85
|
end
|
86
86
|
|
87
87
|
|
@@ -37,21 +37,21 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'dd26de38-0820-4078-8e9b-6c1010f79b3c' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/refund", "create", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
44
44
|
protected
|
45
45
|
|
46
|
-
def self.getOperationConfig(
|
47
|
-
if @__store.key?(
|
48
|
-
return @__store[
|
46
|
+
def self.getOperationConfig(operationUUID)
|
47
|
+
if @__store.key?(operationUUID)
|
48
|
+
return @__store[operationUUID]
|
49
49
|
end
|
50
|
-
raise NotImplementedError.new("Invalid operationUUID supplied:"+
|
50
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
|
51
51
|
end
|
52
52
|
|
53
53
|
def self.getOperationMetadata()
|
54
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
54
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
55
55
|
end
|
56
56
|
|
57
57
|
public
|
@@ -64,7 +64,7 @@ module MasterCard
|
|
64
64
|
#@param Dict mapObj, containing the required parameters to create a new object
|
65
65
|
#@return [Refund] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("dd26de38-0820-4078-8e9b-6c1010f79b3c", Refund.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|
@@ -37,21 +37,21 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'31d2bc2f-85ae-4e66-a5d9-897f89077e5c' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/resendOTP", "create", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
44
44
|
protected
|
45
45
|
|
46
|
-
def self.getOperationConfig(
|
47
|
-
if @__store.key?(
|
48
|
-
return @__store[
|
46
|
+
def self.getOperationConfig(operationUUID)
|
47
|
+
if @__store.key?(operationUUID)
|
48
|
+
return @__store[operationUUID]
|
49
49
|
end
|
50
|
-
raise NotImplementedError.new("Invalid operationUUID supplied:"+
|
50
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
|
51
51
|
end
|
52
52
|
|
53
53
|
def self.getOperationMetadata()
|
54
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
54
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
55
55
|
end
|
56
56
|
|
57
57
|
public
|
@@ -64,7 +64,7 @@ module MasterCard
|
|
64
64
|
#@param Dict mapObj, containing the required parameters to create a new object
|
65
65
|
#@return [ResendOTP] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("31d2bc2f-85ae-4e66-a5d9-897f89077e5c", ResendOTP.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|
@@ -37,12 +37,9 @@ module MasterCard
|
|
37
37
|
@@instance = nil
|
38
38
|
|
39
39
|
def initialize
|
40
|
-
@name = "qkr"
|
41
40
|
@override = nil
|
42
41
|
@host = nil
|
43
42
|
@context = nil
|
44
|
-
@version = "qkr:1.0.1"
|
45
|
-
@jsonNative = false
|
46
43
|
|
47
44
|
Config.registerResourceConfig(self)
|
48
45
|
currentEnvironment = Config.getEnvironment()
|
@@ -57,7 +54,7 @@ module MasterCard
|
|
57
54
|
|
58
55
|
|
59
56
|
def getName
|
60
|
-
return
|
57
|
+
return "qkr"
|
61
58
|
end
|
62
59
|
|
63
60
|
|
@@ -74,11 +71,15 @@ module MasterCard
|
|
74
71
|
end
|
75
72
|
|
76
73
|
def getVersion
|
77
|
-
return
|
74
|
+
return "qkr:1.0.2"
|
78
75
|
end
|
79
76
|
|
80
77
|
def getJsonNative
|
81
|
-
return
|
78
|
+
return false
|
79
|
+
end
|
80
|
+
|
81
|
+
def getContentTypeOverride
|
82
|
+
return nil
|
82
83
|
end
|
83
84
|
|
84
85
|
def setEnvironment(environmet)
|
@@ -37,21 +37,21 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'ed4fa6eb-0f40-4f08-981f-18131f1ba4d8' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/securityQuestion", "query", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
44
44
|
protected
|
45
45
|
|
46
|
-
def self.getOperationConfig(
|
47
|
-
if @__store.key?(
|
48
|
-
return @__store[
|
46
|
+
def self.getOperationConfig(operationUUID)
|
47
|
+
if @__store.key?(operationUUID)
|
48
|
+
return @__store[operationUUID]
|
49
49
|
end
|
50
|
-
raise NotImplementedError.new("Invalid operationUUID supplied:"+
|
50
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
|
51
51
|
end
|
52
52
|
|
53
53
|
def self.getOperationMetadata()
|
54
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
54
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
55
55
|
end
|
56
56
|
|
57
57
|
public
|
@@ -70,7 +70,7 @@ module MasterCard
|
|
70
70
|
#@raise [APIException] an exception from the response status
|
71
71
|
#
|
72
72
|
|
73
|
-
return self.execute("
|
73
|
+
return self.execute("ed4fa6eb-0f40-4f08-981f-18131f1ba4d8",SecurityQuestion.new(criteria))
|
74
74
|
end
|
75
75
|
|
76
76
|
|
@@ -37,24 +37,24 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
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
44
|
|
45
45
|
}
|
46
46
|
|
47
47
|
protected
|
48
48
|
|
49
|
-
def self.getOperationConfig(
|
50
|
-
if @__store.key?(
|
51
|
-
return @__store[
|
49
|
+
def self.getOperationConfig(operationUUID)
|
50
|
+
if @__store.key?(operationUUID)
|
51
|
+
return @__store[operationUUID]
|
52
52
|
end
|
53
|
-
raise NotImplementedError.new("Invalid operationUUID supplied:"+
|
53
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
|
54
54
|
end
|
55
55
|
|
56
56
|
def self.getOperationMetadata()
|
57
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
57
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
58
58
|
end
|
59
59
|
|
60
60
|
public
|
@@ -67,7 +67,7 @@ module MasterCard
|
|
67
67
|
#@param Dict mapObj, containing the required parameters to create a new object
|
68
68
|
#@return [Trans] of the response of created instance.
|
69
69
|
#@raise [APIException] an exception from the response status
|
70
|
-
return self.execute("
|
70
|
+
return self.execute("b5e20847-21b1-49be-af4a-cf8092f5cae7", Trans.new(mapObj))
|
71
71
|
end
|
72
72
|
|
73
73
|
|
@@ -89,7 +89,7 @@ module MasterCard
|
|
89
89
|
#@raise [APIException] an exception from the response status
|
90
90
|
#
|
91
91
|
|
92
|
-
return self.execute("
|
92
|
+
return self.execute("687e68c9-5bcc-48d8-89f3-bbd86277f455",Trans.new(criteria))
|
93
93
|
end
|
94
94
|
|
95
95
|
|
@@ -117,7 +117,7 @@ module MasterCard
|
|
117
117
|
end
|
118
118
|
end
|
119
119
|
|
120
|
-
return self.execute("
|
120
|
+
return self.execute("23ecfe2f-662c-4936-9fd1-b834cbf7fbf4",Trans.new(mapObj))
|
121
121
|
end
|
122
122
|
|
123
123
|
|
@@ -130,7 +130,7 @@ module MasterCard
|
|
130
130
|
#@return [Trans] object representing the response.
|
131
131
|
#@raise [APIException] an exception from the response status
|
132
132
|
#
|
133
|
-
return self.class.execute("
|
133
|
+
return self.class.execute("fd5f51fb-e72a-4935-93c1-c8455f799b5e",self)
|
134
134
|
end
|
135
135
|
|
136
136
|
|
@@ -37,21 +37,21 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'098cdca7-1463-46eb-9ae1-2ed684705f16' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/updatePassword", "update", ["X-Auth-Token"], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
44
44
|
protected
|
45
45
|
|
46
|
-
def self.getOperationConfig(
|
47
|
-
if @__store.key?(
|
48
|
-
return @__store[
|
46
|
+
def self.getOperationConfig(operationUUID)
|
47
|
+
if @__store.key?(operationUUID)
|
48
|
+
return @__store[operationUUID]
|
49
49
|
end
|
50
|
-
raise NotImplementedError.new("Invalid operationUUID supplied:"+
|
50
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
|
51
51
|
end
|
52
52
|
|
53
53
|
def self.getOperationMetadata()
|
54
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
54
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
55
55
|
end
|
56
56
|
|
57
57
|
public
|
@@ -65,7 +65,7 @@ module MasterCard
|
|
65
65
|
#@return [UpdatePassword] object representing the response.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
67
|
#
|
68
|
-
return self.class.execute("
|
68
|
+
return self.class.execute("098cdca7-1463-46eb-9ae1-2ed684705f16",self)
|
69
69
|
end
|
70
70
|
|
71
71
|
|
@@ -37,23 +37,23 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
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
43
|
|
44
44
|
}
|
45
45
|
|
46
46
|
protected
|
47
47
|
|
48
|
-
def self.getOperationConfig(
|
49
|
-
if @__store.key?(
|
50
|
-
return @__store[
|
48
|
+
def self.getOperationConfig(operationUUID)
|
49
|
+
if @__store.key?(operationUUID)
|
50
|
+
return @__store[operationUUID]
|
51
51
|
end
|
52
|
-
raise NotImplementedError.new("Invalid operationUUID supplied:"+
|
52
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
|
53
53
|
end
|
54
54
|
|
55
55
|
def self.getOperationMetadata()
|
56
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
56
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
57
57
|
end
|
58
58
|
|
59
59
|
public
|
@@ -66,7 +66,7 @@ module MasterCard
|
|
66
66
|
#@param Dict mapObj, containing the required parameters to create a new object
|
67
67
|
#@return [User] of the response of created instance.
|
68
68
|
#@raise [APIException] an exception from the response status
|
69
|
-
return self.execute("
|
69
|
+
return self.execute("d008bde3-5e8d-4ec2-be31-a29804b7459b", User.new(mapObj))
|
70
70
|
end
|
71
71
|
|
72
72
|
|
@@ -88,7 +88,7 @@ module MasterCard
|
|
88
88
|
#@raise [APIException] an exception from the response status
|
89
89
|
#
|
90
90
|
|
91
|
-
return self.execute("
|
91
|
+
return self.execute("cdec6f92-ab4b-480c-883f-0163fd4bb719",User.new(criteria))
|
92
92
|
end
|
93
93
|
|
94
94
|
|
@@ -100,7 +100,7 @@ module MasterCard
|
|
100
100
|
#@return [User] object representing the response.
|
101
101
|
#@raise [APIException] an exception from the response status
|
102
102
|
#
|
103
|
-
return self.class.execute("
|
103
|
+
return self.class.execute("76241392-7958-46ef-bf35-4967800363e2",self)
|
104
104
|
end
|
105
105
|
|
106
106
|
|
@@ -37,21 +37,21 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'60bd9ddf-0a97-432d-88d4-f2c471a3c9fd' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/userSession", "create", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
44
44
|
protected
|
45
45
|
|
46
|
-
def self.getOperationConfig(
|
47
|
-
if @__store.key?(
|
48
|
-
return @__store[
|
46
|
+
def self.getOperationConfig(operationUUID)
|
47
|
+
if @__store.key?(operationUUID)
|
48
|
+
return @__store[operationUUID]
|
49
49
|
end
|
50
|
-
raise NotImplementedError.new("Invalid operationUUID supplied:"+
|
50
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
|
51
51
|
end
|
52
52
|
|
53
53
|
def self.getOperationMetadata()
|
54
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
54
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
55
55
|
end
|
56
56
|
|
57
57
|
public
|
@@ -64,7 +64,7 @@ module MasterCard
|
|
64
64
|
#@param Dict mapObj, containing the required parameters to create a new object
|
65
65
|
#@return [UserSession] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("60bd9ddf-0a97-432d-88d4-f2c471a3c9fd", UserSession.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|