mastercard_qkr 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mastercard/api/qkr/beneficiary.rb +10 -10
- data/lib/mastercard/api/qkr/beneficiarycustomfield.rb +3 -3
- data/lib/mastercard/api/qkr/card.rb +12 -12
- data/lib/mastercard/api/qkr/cart.rb +8 -8
- data/lib/mastercard/api/qkr/cartitem.rb +8 -8
- data/lib/mastercard/api/qkr/{vendingsession.rb → cartvalidation.rb} +6 -50
- data/lib/mastercard/api/qkr/country.rb +5 -5
- data/lib/mastercard/api/qkr/creditnote.rb +5 -5
- data/lib/mastercard/api/qkr/externaltrans.rb +25 -7
- data/lib/mastercard/api/qkr/forgottenpassword.rb +3 -3
- data/lib/mastercard/api/qkr/form.rb +3 -3
- data/lib/mastercard/api/qkr/formsubmission.rb +5 -5
- data/lib/mastercard/api/qkr/{machine.rb → inboxmessage.rb} +9 -21
- data/lib/mastercard/api/qkr/lightbox.rb +5 -5
- data/lib/mastercard/api/qkr/menu.rb +3 -3
- data/lib/mastercard/api/qkr/merchant.rb +5 -5
- data/lib/mastercard/api/qkr/order.rb +10 -10
- data/lib/mastercard/api/qkr/orderahead.rb +3 -3
- data/lib/mastercard/api/qkr/orderaheadmenu.rb +3 -3
- data/lib/mastercard/api/qkr/ordercalendar.rb +3 -3
- data/lib/mastercard/api/qkr/orderslot.rb +3 -3
- data/lib/mastercard/api/qkr/ordertotal.rb +3 -3
- data/lib/mastercard/api/qkr/posorder.rb +5 -5
- data/lib/mastercard/api/qkr/pospaymentnotification.rb +3 -3
- data/lib/mastercard/api/qkr/prodgroup.rb +3 -3
- data/lib/mastercard/api/qkr/refund.rb +3 -3
- data/lib/mastercard/api/qkr/resendotp.rb +3 -3
- data/lib/mastercard/api/qkr/resourceconfig.rb +2 -2
- data/lib/mastercard/api/qkr/securityquestion.rb +3 -3
- data/lib/mastercard/api/qkr/trans.rb +9 -9
- data/lib/mastercard/api/qkr/updatepassword.rb +3 -3
- data/lib/mastercard/api/qkr/user.rb +10 -10
- data/lib/mastercard/api/qkr/userimage.rb +6 -6
- data/lib/mastercard/api/qkr/usersession.rb +47 -3
- data/lib/mastercard/api/qkr/verifyotp.rb +3 -3
- data/lib/mastercard_qkr.rb +2 -3
- metadata +8 -10
- data/lib/mastercard/api/qkr/auth.rb +0 -130
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2016 MasterCard International Incorporated
|
2
|
+
# Copyright (c) 2016-2020 MasterCard International Incorporated
|
3
3
|
# All rights reserved.
|
4
4
|
#
|
5
5
|
# Redistribution and use in source and binary forms, with or without modification, are
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'3a1fb359-a813-4025-bff5-56d19b10ecc3' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/forgottenPassword", "create", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -64,7 +64,7 @@ module MasterCard
|
|
64
64
|
#@param Dict mapObj, containing the required parameters to create a new object
|
65
65
|
#@return [ForgottenPassword] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("3a1fb359-a813-4025-bff5-56d19b10ecc3", ForgottenPassword.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2016 MasterCard International Incorporated
|
2
|
+
# Copyright (c) 2016-2020 MasterCard International Incorporated
|
3
3
|
# All rights reserved.
|
4
4
|
#
|
5
5
|
# Redistribution and use in source and binary forms, with or without modification, are
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'a3a1fbf8-37dd-4dcd-b0dc-ecc5de2006a8' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/form/{id}", "read", ["X-Auth-Token"], ["beneficiaryId","id2"]),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -81,7 +81,7 @@ module MasterCard
|
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
84
|
-
return self.execute("
|
84
|
+
return self.execute("a3a1fbf8-37dd-4dcd-b0dc-ecc5de2006a8",Form.new(mapObj))
|
85
85
|
end
|
86
86
|
|
87
87
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2016 MasterCard International Incorporated
|
2
|
+
# Copyright (c) 2016-2020 MasterCard International Incorporated
|
3
3
|
# All rights reserved.
|
4
4
|
#
|
5
5
|
# Redistribution and use in source and binary forms, with or without modification, are
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'05553613-7ccd-4e6a-99a1-5737730828dc' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/formSubmission", "create", ["X-Auth-Token"], []),
|
41
|
+
'a32f7a05-e9ab-4a49-9708-bbd64e2c9193' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/formSubmission", "query", ["X-Auth-Token"], ["merchantId"]),
|
42
42
|
|
43
43
|
}
|
44
44
|
|
@@ -65,7 +65,7 @@ module MasterCard
|
|
65
65
|
#@param Dict mapObj, containing the required parameters to create a new object
|
66
66
|
#@return [FormSubmission] of the response of created instance.
|
67
67
|
#@raise [APIException] an exception from the response status
|
68
|
-
return self.execute("
|
68
|
+
return self.execute("05553613-7ccd-4e6a-99a1-5737730828dc", FormSubmission.new(mapObj))
|
69
69
|
end
|
70
70
|
|
71
71
|
|
@@ -87,7 +87,7 @@ module MasterCard
|
|
87
87
|
#@raise [APIException] an exception from the response status
|
88
88
|
#
|
89
89
|
|
90
|
-
return self.execute("
|
90
|
+
return self.execute("a32f7a05-e9ab-4a49-9708-bbd64e2c9193",FormSubmission.new(criteria))
|
91
91
|
end
|
92
92
|
|
93
93
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2016 MasterCard International Incorporated
|
2
|
+
# Copyright (c) 2016-2020 MasterCard International Incorporated
|
3
3
|
# All rights reserved.
|
4
4
|
#
|
5
5
|
# Redistribution and use in source and binary forms, with or without modification, are
|
@@ -32,12 +32,12 @@ require "mastercard/core/baseobject"
|
|
32
32
|
module MasterCard
|
33
33
|
module API
|
34
34
|
module Qkr
|
35
|
-
class
|
35
|
+
class InboxMessage < MasterCard::Core::Model::BaseObject
|
36
36
|
include MasterCard::Core::Model
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'111b9e27-38bb-422b-b029-5df39d559dab' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/inboxMessage", "query", ["X-Auth-Token"], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -61,31 +61,19 @@ module MasterCard
|
|
61
61
|
|
62
62
|
|
63
63
|
|
64
|
-
|
64
|
+
|
65
|
+
def self.query(criteria)
|
65
66
|
#
|
66
|
-
#
|
67
|
-
#@param [String] id
|
67
|
+
#Query objects of type InboxMessage by id and optional criteria
|
68
68
|
#@param [Dict] criteria
|
69
|
-
#@return [
|
69
|
+
#@return [InboxMessage] object representing the response.
|
70
70
|
#@raise [APIException] an exception from the response status
|
71
|
+
#
|
71
72
|
|
72
|
-
|
73
|
-
if !(id.nil? || id.to_s.empty?)
|
74
|
-
mapObj.set("id", id)
|
75
|
-
end
|
76
|
-
if !criteria.nil?
|
77
|
-
if criteria.instance_of? RequestMap
|
78
|
-
mapObj.setAll(criteria.getObject())
|
79
|
-
else
|
80
|
-
mapObj.setAll(criteria)
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
return self.execute("9b10c6fa-210d-4d6d-9f34-25ee7971d4e8",Machine.new(mapObj))
|
73
|
+
return self.execute("111b9e27-38bb-422b-b029-5df39d559dab",InboxMessage.new(criteria))
|
85
74
|
end
|
86
75
|
|
87
76
|
|
88
|
-
|
89
77
|
end
|
90
78
|
end
|
91
79
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2016 MasterCard International Incorporated
|
2
|
+
# Copyright (c) 2016-2020 MasterCard International Incorporated
|
3
3
|
# All rights reserved.
|
4
4
|
#
|
5
5
|
# Redistribution and use in source and binary forms, with or without modification, are
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'1da627bf-00f3-48e8-8bd2-e29c60b38c7a' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/lightbox", "create", ["X-Auth-Token"], []),
|
41
|
+
'5cf18306-a605-4e47-892d-5dfae2cf229d' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/lightbox/{id}", "read", [], []),
|
42
42
|
|
43
43
|
}
|
44
44
|
|
@@ -65,7 +65,7 @@ module MasterCard
|
|
65
65
|
#@param Dict mapObj, containing the required parameters to create a new object
|
66
66
|
#@return [Lightbox] of the response of created instance.
|
67
67
|
#@raise [APIException] an exception from the response status
|
68
|
-
return self.execute("
|
68
|
+
return self.execute("1da627bf-00f3-48e8-8bd2-e29c60b38c7a", Lightbox.new(mapObj))
|
69
69
|
end
|
70
70
|
|
71
71
|
|
@@ -98,7 +98,7 @@ module MasterCard
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
-
return self.execute("
|
101
|
+
return self.execute("5cf18306-a605-4e47-892d-5dfae2cf229d",Lightbox.new(mapObj))
|
102
102
|
end
|
103
103
|
|
104
104
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2016 MasterCard International Incorporated
|
2
|
+
# Copyright (c) 2016-2020 MasterCard International Incorporated
|
3
3
|
# All rights reserved.
|
4
4
|
#
|
5
5
|
# Redistribution and use in source and binary forms, with or without modification, are
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'51b144b8-e86f-4141-b309-2ba9f11e0212' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/menu/pat", "query", [], ["menuTypes","merchantName","siteName"]),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -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("51b144b8-e86f-4141-b309-2ba9f11e0212",Menu.new(criteria))
|
74
74
|
end
|
75
75
|
|
76
76
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2016 MasterCard International Incorporated
|
2
|
+
# Copyright (c) 2016-2020 MasterCard International Incorporated
|
3
3
|
# All rights reserved.
|
4
4
|
#
|
5
5
|
# Redistribution and use in source and binary forms, with or without modification, are
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'1c6fd078-8352-4868-a966-6c9d2bd5d177' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/merchant", "query", [], ["latitude","longitude","queryString"]),
|
41
|
+
'2c0311a9-6022-413c-8cd4-7bb50a8d0f85' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/merchant/{id}", "read", [], []),
|
42
42
|
|
43
43
|
}
|
44
44
|
|
@@ -71,7 +71,7 @@ module MasterCard
|
|
71
71
|
#@raise [APIException] an exception from the response status
|
72
72
|
#
|
73
73
|
|
74
|
-
return self.execute("
|
74
|
+
return self.execute("1c6fd078-8352-4868-a966-6c9d2bd5d177",Merchant.new(criteria))
|
75
75
|
end
|
76
76
|
|
77
77
|
|
@@ -99,7 +99,7 @@ module MasterCard
|
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
|
-
return self.execute("
|
102
|
+
return self.execute("2c0311a9-6022-413c-8cd4-7bb50a8d0f85",Merchant.new(mapObj))
|
103
103
|
end
|
104
104
|
|
105
105
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2016 MasterCard International Incorporated
|
2
|
+
# Copyright (c) 2016-2020 MasterCard International Incorporated
|
3
3
|
# All rights reserved.
|
4
4
|
#
|
5
5
|
# Redistribution and use in source and binary forms, with or without modification, are
|
@@ -37,10 +37,10 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
40
|
+
'e0a0b4a1-1805-4a52-a731-8bf7ab448fc9' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/order/pat", "create", [], []),
|
41
|
+
'e4d30151-a10f-43d8-b803-42ef41881237' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/order/pat/{id}", "delete", [], []),
|
42
|
+
'6062912f-d4d3-4c28-9c50-f7ec56b29df6' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/order/pat/{id}", "read", [], []),
|
43
|
+
'ca1fe4a4-7139-4f00-bf3d-a78e68facd32' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/order/pat/{id}", "update", [], []),
|
44
44
|
|
45
45
|
}
|
46
46
|
|
@@ -67,7 +67,7 @@ module MasterCard
|
|
67
67
|
#@param Dict mapObj, containing the required parameters to create a new object
|
68
68
|
#@return [Order] of the response of created instance.
|
69
69
|
#@raise [APIException] an exception from the response status
|
70
|
-
return self.execute("
|
70
|
+
return self.execute("e0a0b4a1-1805-4a52-a731-8bf7ab448fc9", Order.new(mapObj))
|
71
71
|
end
|
72
72
|
|
73
73
|
|
@@ -100,7 +100,7 @@ module MasterCard
|
|
100
100
|
end
|
101
101
|
end
|
102
102
|
|
103
|
-
return self.execute("
|
103
|
+
return self.execute("e4d30151-a10f-43d8-b803-42ef41881237", mapObj)
|
104
104
|
end
|
105
105
|
|
106
106
|
|
@@ -113,7 +113,7 @@ module MasterCard
|
|
113
113
|
#@raise [APIException] an exception from the response status
|
114
114
|
#
|
115
115
|
|
116
|
-
return self.class.execute("
|
116
|
+
return self.class.execute("e4d30151-a10f-43d8-b803-42ef41881237", self)
|
117
117
|
end
|
118
118
|
|
119
119
|
|
@@ -143,7 +143,7 @@ module MasterCard
|
|
143
143
|
end
|
144
144
|
end
|
145
145
|
|
146
|
-
return self.execute("
|
146
|
+
return self.execute("6062912f-d4d3-4c28-9c50-f7ec56b29df6",Order.new(mapObj))
|
147
147
|
end
|
148
148
|
|
149
149
|
|
@@ -156,7 +156,7 @@ module MasterCard
|
|
156
156
|
#@return [Order] object representing the response.
|
157
157
|
#@raise [APIException] an exception from the response status
|
158
158
|
#
|
159
|
-
return self.class.execute("
|
159
|
+
return self.class.execute("ca1fe4a4-7139-4f00-bf3d-a78e68facd32",self)
|
160
160
|
end
|
161
161
|
|
162
162
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2016 MasterCard International Incorporated
|
2
|
+
# Copyright (c) 2016-2020 MasterCard International Incorporated
|
3
3
|
# All rights reserved.
|
4
4
|
#
|
5
5
|
# Redistribution and use in source and binary forms, with or without modification, are
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'28579441-2ed7-4845-b672-3b4b2e6fa859' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/orderAhead/order", "create", ["X-Auth-Token"], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -64,7 +64,7 @@ module MasterCard
|
|
64
64
|
#@param Dict mapObj, containing the required parameters to create a new object
|
65
65
|
#@return [OrderAhead] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("28579441-2ed7-4845-b672-3b4b2e6fa859", OrderAhead.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2016 MasterCard International Incorporated
|
2
|
+
# Copyright (c) 2016-2020 MasterCard International Incorporated
|
3
3
|
# All rights reserved.
|
4
4
|
#
|
5
5
|
# Redistribution and use in source and binary forms, with or without modification, are
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'95f8da97-5a76-4ba0-9310-cccff3cc00b0' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/orderAheadMenu/orderAhead", "query", [], ["menuTypes","merchantName","orderTime","siteName"]),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -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("95f8da97-5a76-4ba0-9310-cccff3cc00b0",OrderAheadMenu.new(criteria))
|
74
74
|
end
|
75
75
|
|
76
76
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2016 MasterCard International Incorporated
|
2
|
+
# Copyright (c) 2016-2020 MasterCard International Incorporated
|
3
3
|
# All rights reserved.
|
4
4
|
#
|
5
5
|
# Redistribution and use in source and binary forms, with or without modification, are
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'71ec3493-7bdd-4835-9b38-4b45daffd449' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/orderCalendar/{id}", "read", ["X-Auth-Token"], ["endTime","id2","startTime"]),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -81,7 +81,7 @@ module MasterCard
|
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
84
|
-
return self.execute("
|
84
|
+
return self.execute("71ec3493-7bdd-4835-9b38-4b45daffd449",OrderCalendar.new(mapObj))
|
85
85
|
end
|
86
86
|
|
87
87
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2016 MasterCard International Incorporated
|
2
|
+
# Copyright (c) 2016-2020 MasterCard International Incorporated
|
3
3
|
# All rights reserved.
|
4
4
|
#
|
5
5
|
# Redistribution and use in source and binary forms, with or without modification, are
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'b9fff02d-7349-4d53-8d2e-2c1ab0045e35' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/orderSlot/orderAhead", "query", [], ["merchantName","orderTime","orderType","shippingAddressId","siteName"]),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -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("b9fff02d-7349-4d53-8d2e-2c1ab0045e35",OrderSlot.new(criteria))
|
74
74
|
end
|
75
75
|
|
76
76
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2016 MasterCard International Incorporated
|
2
|
+
# Copyright (c) 2016-2020 MasterCard International Incorporated
|
3
3
|
# All rights reserved.
|
4
4
|
#
|
5
5
|
# Redistribution and use in source and binary forms, with or without modification, are
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'2ca2c4b7-e416-4742-ac02-8f4d7c3fc888' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/orderTotal", "create", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -64,7 +64,7 @@ module MasterCard
|
|
64
64
|
#@param Dict mapObj, containing the required parameters to create a new object
|
65
65
|
#@return [OrderTotal] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("2ca2c4b7-e416-4742-ac02-8f4d7c3fc888", OrderTotal.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2016 MasterCard International Incorporated
|
2
|
+
# Copyright (c) 2016-2020 MasterCard International Incorporated
|
3
3
|
# All rights reserved.
|
4
4
|
#
|
5
5
|
# Redistribution and use in source and binary forms, with or without modification, are
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'1204dfe3-e5d2-46d3-a526-365bd8e10fa8' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/posOrder", "create", ["X-Auth-Token"], []),
|
41
|
+
'e708e551-f80b-4dd1-b8b1-0724b11478cb' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/posOrder/{id}", "update", ["X-Auth-Token"], []),
|
42
42
|
|
43
43
|
}
|
44
44
|
|
@@ -65,7 +65,7 @@ module MasterCard
|
|
65
65
|
#@param Dict mapObj, containing the required parameters to create a new object
|
66
66
|
#@return [PosOrder] of the response of created instance.
|
67
67
|
#@raise [APIException] an exception from the response status
|
68
|
-
return self.execute("
|
68
|
+
return self.execute("1204dfe3-e5d2-46d3-a526-365bd8e10fa8", PosOrder.new(mapObj))
|
69
69
|
end
|
70
70
|
|
71
71
|
|
@@ -82,7 +82,7 @@ module MasterCard
|
|
82
82
|
#@return [PosOrder] object representing the response.
|
83
83
|
#@raise [APIException] an exception from the response status
|
84
84
|
#
|
85
|
-
return self.class.execute("
|
85
|
+
return self.class.execute("e708e551-f80b-4dd1-b8b1-0724b11478cb",self)
|
86
86
|
end
|
87
87
|
|
88
88
|
|