mastercard_qkr 1.2.0 → 1.3.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.
- 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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb3bbd2b0c7f3cd09f8ed85a6511ca286655112e596ddd09bbc7c85daebaed55
|
4
|
+
data.tar.gz: 90f21391b8a83edeef6985d8644087cd3305cd6b5ec3028a4eec461c53c40125
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cac0d072a666387dd4f9843fdc22cb9b5afb214e2e00a3834fadd66c3b86af93a070fb361cd1a8d11173a3ca5038b0aa6893cf65992db7776cf4aa59acf1adb3
|
7
|
+
data.tar.gz: 3f7b2e15bf71b07a31073a4ee7c4175cd0aaf02a132ca7aa077d87467d25ef332e77ad1b15e0eb7f3c042f15c9555c1b56bb685b975f947a984a20bff551129d
|
@@ -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
|
+
'ceef4eca-f757-4b0d-a9b9-4681f48007be' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/beneficiary", "create", ["X-Auth-Token"], []),
|
41
|
+
'48200200-18f0-4393-b32e-1837cd1ba78c' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/beneficiary/{id}", "delete", ["X-Auth-Token"], []),
|
42
|
+
'45f93f11-e3be-474e-a097-642aeae0e184' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/beneficiary", "query", ["X-Auth-Token"], ["merchantId"]),
|
43
|
+
'73c94ecd-720f-448d-8a1f-82ce5083b34a' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/beneficiary/{id}", "update", ["X-Auth-Token"], []),
|
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 [Beneficiary] of the response of created instance.
|
69
69
|
#@raise [APIException] an exception from the response status
|
70
|
-
return self.execute("
|
70
|
+
return self.execute("ceef4eca-f757-4b0d-a9b9-4681f48007be", Beneficiary.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("48200200-18f0-4393-b32e-1837cd1ba78c", 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("48200200-18f0-4393-b32e-1837cd1ba78c", self)
|
117
117
|
end
|
118
118
|
|
119
119
|
|
@@ -132,7 +132,7 @@ module MasterCard
|
|
132
132
|
#@raise [APIException] an exception from the response status
|
133
133
|
#
|
134
134
|
|
135
|
-
return self.execute("
|
135
|
+
return self.execute("45f93f11-e3be-474e-a097-642aeae0e184",Beneficiary.new(criteria))
|
136
136
|
end
|
137
137
|
|
138
138
|
|
@@ -144,7 +144,7 @@ module MasterCard
|
|
144
144
|
#@return [Beneficiary] object representing the response.
|
145
145
|
#@raise [APIException] an exception from the response status
|
146
146
|
#
|
147
|
-
return self.class.execute("
|
147
|
+
return self.class.execute("73c94ecd-720f-448d-8a1f-82ce5083b34a",self)
|
148
148
|
end
|
149
149
|
|
150
150
|
|
@@ -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
|
+
'5fe84ebf-a0eb-4cf8-9c72-ad004c436b43' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/beneficiaryCustomField", "query", ["X-Auth-Token"], ["merchantId"]),
|
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("5fe84ebf-a0eb-4cf8-9c72-ad004c436b43",BeneficiaryCustomField.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,11 +37,11 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'
|
40
|
+
'47c85ec3-9957-4c7b-91ef-a3b1a4f95759' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/card", "create", ["X-Auth-Token"], []),
|
41
|
+
'fe152d48-7856-4141-adaf-ed04f24cc6e3' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/card/{id}", "delete", ["X-Auth-Token"], []),
|
42
|
+
'd43daea2-1c00-4537-bdef-f1d06decf90a' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/card", "query", ["X-Auth-Token"], []),
|
43
|
+
'fe5bb16e-5007-44d8-90b0-313468fd9212' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/card/{id}", "read", ["X-Auth-Token"], []),
|
44
|
+
'd8d46d0c-5472-4e50-9af5-778e78bf9d5e' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/card/{id}", "update", ["X-Auth-Token"], []),
|
45
45
|
|
46
46
|
}
|
47
47
|
|
@@ -68,7 +68,7 @@ module MasterCard
|
|
68
68
|
#@param Dict mapObj, containing the required parameters to create a new object
|
69
69
|
#@return [Card] of the response of created instance.
|
70
70
|
#@raise [APIException] an exception from the response status
|
71
|
-
return self.execute("
|
71
|
+
return self.execute("47c85ec3-9957-4c7b-91ef-a3b1a4f95759", Card.new(mapObj))
|
72
72
|
end
|
73
73
|
|
74
74
|
|
@@ -101,7 +101,7 @@ module MasterCard
|
|
101
101
|
end
|
102
102
|
end
|
103
103
|
|
104
|
-
return self.execute("
|
104
|
+
return self.execute("fe152d48-7856-4141-adaf-ed04f24cc6e3", mapObj)
|
105
105
|
end
|
106
106
|
|
107
107
|
|
@@ -114,7 +114,7 @@ module MasterCard
|
|
114
114
|
#@raise [APIException] an exception from the response status
|
115
115
|
#
|
116
116
|
|
117
|
-
return self.class.execute("
|
117
|
+
return self.class.execute("fe152d48-7856-4141-adaf-ed04f24cc6e3", self)
|
118
118
|
end
|
119
119
|
|
120
120
|
|
@@ -133,7 +133,7 @@ module MasterCard
|
|
133
133
|
#@raise [APIException] an exception from the response status
|
134
134
|
#
|
135
135
|
|
136
|
-
return self.execute("
|
136
|
+
return self.execute("d43daea2-1c00-4537-bdef-f1d06decf90a",Card.new(criteria))
|
137
137
|
end
|
138
138
|
|
139
139
|
|
@@ -161,7 +161,7 @@ module MasterCard
|
|
161
161
|
end
|
162
162
|
end
|
163
163
|
|
164
|
-
return self.execute("
|
164
|
+
return self.execute("fe5bb16e-5007-44d8-90b0-313468fd9212",Card.new(mapObj))
|
165
165
|
end
|
166
166
|
|
167
167
|
|
@@ -174,7 +174,7 @@ module MasterCard
|
|
174
174
|
#@return [Card] object representing the response.
|
175
175
|
#@raise [APIException] an exception from the response status
|
176
176
|
#
|
177
|
-
return self.class.execute("
|
177
|
+
return self.class.execute("d8d46d0c-5472-4e50-9af5-778e78bf9d5e",self)
|
178
178
|
end
|
179
179
|
|
180
180
|
|
@@ -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,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'9236940b-ea62-4266-bf66-a2019bcfdd28' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/cart/{id}", "delete", ["X-Auth-Token"], []),
|
41
|
+
'b3ec9047-7a66-44d4-9117-780f38655ec7' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/cart", "query", ["X-Auth-Token"], []),
|
42
|
+
'dba29f55-e820-42bb-8ef7-881d13dcfba9' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/cart/{id}", "read", ["X-Auth-Token"], []),
|
43
43
|
|
44
44
|
}
|
45
45
|
|
@@ -83,7 +83,7 @@ module MasterCard
|
|
83
83
|
end
|
84
84
|
end
|
85
85
|
|
86
|
-
return self.execute("
|
86
|
+
return self.execute("9236940b-ea62-4266-bf66-a2019bcfdd28", mapObj)
|
87
87
|
end
|
88
88
|
|
89
89
|
|
@@ -96,7 +96,7 @@ module MasterCard
|
|
96
96
|
#@raise [APIException] an exception from the response status
|
97
97
|
#
|
98
98
|
|
99
|
-
return self.class.execute("
|
99
|
+
return self.class.execute("9236940b-ea62-4266-bf66-a2019bcfdd28", self)
|
100
100
|
end
|
101
101
|
|
102
102
|
|
@@ -115,7 +115,7 @@ module MasterCard
|
|
115
115
|
#@raise [APIException] an exception from the response status
|
116
116
|
#
|
117
117
|
|
118
|
-
return self.execute("
|
118
|
+
return self.execute("b3ec9047-7a66-44d4-9117-780f38655ec7",Cart.new(criteria))
|
119
119
|
end
|
120
120
|
|
121
121
|
|
@@ -143,7 +143,7 @@ module MasterCard
|
|
143
143
|
end
|
144
144
|
end
|
145
145
|
|
146
|
-
return self.execute("
|
146
|
+
return self.execute("dba29f55-e820-42bb-8ef7-881d13dcfba9",Cart.new(mapObj))
|
147
147
|
end
|
148
148
|
|
149
149
|
|
@@ -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,9 +37,9 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'f98b3516-1820-43d2-ad11-976d44fa5c5e' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/cartItem", "create", ["X-Auth-Token"], []),
|
41
|
+
'f25e2ddc-e6f1-40cf-b78e-3d058b536eeb' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/cartItem/{id}", "delete", ["X-Auth-Token"], []),
|
42
|
+
'0eb2c860-7396-409e-a0da-65808fb44b96' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/cartItem/{id}", "update", ["X-Auth-Token"], []),
|
43
43
|
|
44
44
|
}
|
45
45
|
|
@@ -66,7 +66,7 @@ module MasterCard
|
|
66
66
|
#@param Dict mapObj, containing the required parameters to create a new object
|
67
67
|
#@return [CartItem] of the response of created instance.
|
68
68
|
#@raise [APIException] an exception from the response status
|
69
|
-
return self.execute("
|
69
|
+
return self.execute("f98b3516-1820-43d2-ad11-976d44fa5c5e", CartItem.new(mapObj))
|
70
70
|
end
|
71
71
|
|
72
72
|
|
@@ -99,7 +99,7 @@ module MasterCard
|
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
|
-
return self.execute("
|
102
|
+
return self.execute("f25e2ddc-e6f1-40cf-b78e-3d058b536eeb", mapObj)
|
103
103
|
end
|
104
104
|
|
105
105
|
|
@@ -112,7 +112,7 @@ module MasterCard
|
|
112
112
|
#@raise [APIException] an exception from the response status
|
113
113
|
#
|
114
114
|
|
115
|
-
return self.class.execute("
|
115
|
+
return self.class.execute("f25e2ddc-e6f1-40cf-b78e-3d058b536eeb", self)
|
116
116
|
end
|
117
117
|
|
118
118
|
|
@@ -126,7 +126,7 @@ module MasterCard
|
|
126
126
|
#@return [CartItem] object representing the response.
|
127
127
|
#@raise [APIException] an exception from the response status
|
128
128
|
#
|
129
|
-
return self.class.execute("
|
129
|
+
return self.class.execute("0eb2c860-7396-409e-a0da-65808fb44b96",self)
|
130
130
|
end
|
131
131
|
|
132
132
|
|
@@ -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,13 +32,12 @@ require "mastercard/core/baseobject"
|
|
32
32
|
module MasterCard
|
33
33
|
module API
|
34
34
|
module Qkr
|
35
|
-
class
|
35
|
+
class CartValidation < MasterCard::Core::Model::BaseObject
|
36
36
|
include MasterCard::Core::Model
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'c86cc2a5-9495-4bd2-b6ce-9f16c33f97bc' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/vendingSession/{id}", "delete", ["X-Auth-Token"], []),
|
40
|
+
'4c3d6c0a-6410-4dfc-8a5e-47448ce2a069' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/cartValidation", "create", ["X-Auth-Token"], []),
|
42
41
|
|
43
42
|
}
|
44
43
|
|
@@ -60,12 +59,12 @@ module MasterCard
|
|
60
59
|
|
61
60
|
def self.create(mapObj)
|
62
61
|
#
|
63
|
-
#Creates object of type
|
62
|
+
#Creates object of type CartValidation
|
64
63
|
#
|
65
64
|
#@param Dict mapObj, containing the required parameters to create a new object
|
66
|
-
#@return [
|
65
|
+
#@return [CartValidation] of the response of created instance.
|
67
66
|
#@raise [APIException] an exception from the response status
|
68
|
-
return self.execute("
|
67
|
+
return self.execute("4c3d6c0a-6410-4dfc-8a5e-47448ce2a069", CartValidation.new(mapObj))
|
69
68
|
end
|
70
69
|
|
71
70
|
|
@@ -74,49 +73,6 @@ module MasterCard
|
|
74
73
|
|
75
74
|
|
76
75
|
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
def self.deleteById(id, map = nil)
|
81
|
-
#Delete object of type VendingSession by id
|
82
|
-
|
83
|
-
#@param [String] id
|
84
|
-
#@param [Dict] map, containing additional parameters
|
85
|
-
#@return [VendingSession] of the response of the deleted instance.
|
86
|
-
#@raise [APIException] an exception from the response status
|
87
|
-
|
88
|
-
|
89
|
-
mapObj = VendingSession.new
|
90
|
-
if !(id.nil? || id.to_s.empty?)
|
91
|
-
mapObj.set("id", id)
|
92
|
-
end
|
93
|
-
if !map.nil?
|
94
|
-
if map.instance_of? RequestMap
|
95
|
-
mapObj.setAll(map.getObject())
|
96
|
-
else
|
97
|
-
mapObj.setAll(map)
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
|
-
return self.execute("c86cc2a5-9495-4bd2-b6ce-9f16c33f97bc", mapObj)
|
102
|
-
end
|
103
|
-
|
104
|
-
|
105
|
-
def delete
|
106
|
-
#
|
107
|
-
#Delete object of type VendingSession
|
108
|
-
|
109
|
-
#@param [String] id
|
110
|
-
#@return [VendingSession] of the response of the deleted instance.
|
111
|
-
#@raise [APIException] an exception from the response status
|
112
|
-
#
|
113
|
-
|
114
|
-
return self.class.execute("c86cc2a5-9495-4bd2-b6ce-9f16c33f97bc", self)
|
115
|
-
end
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
76
|
end
|
121
77
|
end
|
122
78
|
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
|
+
'54abc7c8-0e2d-4881-afa1-4f793555621d' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/country", "query", [], []),
|
41
|
+
'ea5078cf-ff60-4383-b80b-95edc20a3601' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/country/{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("54abc7c8-0e2d-4881-afa1-4f793555621d",Country.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("ea5078cf-ff60-4383-b80b-95edc20a3601",Country.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,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'ac9c265a-1f7b-4d0d-ab06-16595912c36e' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/creditNote", "create", ["X-Auth-Token"], []),
|
41
|
+
'f207efcb-757c-4bf5-bab2-5a00f8b9a91b' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/creditNote/{id}", "read", ["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 [CreditNote] of the response of created instance.
|
67
67
|
#@raise [APIException] an exception from the response status
|
68
|
-
return self.execute("
|
68
|
+
return self.execute("ac9c265a-1f7b-4d0d-ab06-16595912c36e", CreditNote.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("f207efcb-757c-4bf5-bab2-5a00f8b9a91b",CreditNote.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,9 +37,10 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'd1b11885-c512-4a8b-af7c-ab8e3dcbd5bb' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/externalTrans", "create", [], []),
|
41
|
+
'33bf3d55-dff0-49bb-9235-140d9719f7d5' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/externalTrans", "query", [], []),
|
42
|
+
'd1882de6-b0e9-4172-a3c0-a80e3337fdc4' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/externalTrans/{id}", "read", [], []),
|
43
|
+
'c4db5e89-de63-441c-9cc1-2a48aa848e3a' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/externalTrans/{id}", "update", [], []),
|
43
44
|
|
44
45
|
}
|
45
46
|
|
@@ -66,7 +67,7 @@ module MasterCard
|
|
66
67
|
#@param Dict mapObj, containing the required parameters to create a new object
|
67
68
|
#@return [ExternalTrans] of the response of created instance.
|
68
69
|
#@raise [APIException] an exception from the response status
|
69
|
-
return self.execute("
|
70
|
+
return self.execute("d1b11885-c512-4a8b-af7c-ab8e3dcbd5bb", ExternalTrans.new(mapObj))
|
70
71
|
end
|
71
72
|
|
72
73
|
|
@@ -88,7 +89,7 @@ module MasterCard
|
|
88
89
|
#@raise [APIException] an exception from the response status
|
89
90
|
#
|
90
91
|
|
91
|
-
return self.execute("
|
92
|
+
return self.execute("33bf3d55-dff0-49bb-9235-140d9719f7d5",ExternalTrans.new(criteria))
|
92
93
|
end
|
93
94
|
|
94
95
|
|
@@ -116,11 +117,28 @@ module MasterCard
|
|
116
117
|
end
|
117
118
|
end
|
118
119
|
|
119
|
-
return self.execute("
|
120
|
+
return self.execute("d1882de6-b0e9-4172-a3c0-a80e3337fdc4",ExternalTrans.new(mapObj))
|
120
121
|
end
|
121
122
|
|
122
123
|
|
123
124
|
|
125
|
+
|
126
|
+
def update
|
127
|
+
#
|
128
|
+
#Updates an object of type ExternalTrans
|
129
|
+
#
|
130
|
+
#@return [ExternalTrans] object representing the response.
|
131
|
+
#@raise [APIException] an exception from the response status
|
132
|
+
#
|
133
|
+
return self.class.execute("c4db5e89-de63-441c-9cc1-2a48aa848e3a",self)
|
134
|
+
end
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
124
142
|
end
|
125
143
|
end
|
126
144
|
end
|