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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mastercard/api/qkr/beneficiary.rb +10 -10
  3. data/lib/mastercard/api/qkr/beneficiarycustomfield.rb +3 -3
  4. data/lib/mastercard/api/qkr/card.rb +12 -12
  5. data/lib/mastercard/api/qkr/cart.rb +8 -8
  6. data/lib/mastercard/api/qkr/cartitem.rb +8 -8
  7. data/lib/mastercard/api/qkr/{vendingsession.rb → cartvalidation.rb} +6 -50
  8. data/lib/mastercard/api/qkr/country.rb +5 -5
  9. data/lib/mastercard/api/qkr/creditnote.rb +5 -5
  10. data/lib/mastercard/api/qkr/externaltrans.rb +25 -7
  11. data/lib/mastercard/api/qkr/forgottenpassword.rb +3 -3
  12. data/lib/mastercard/api/qkr/form.rb +3 -3
  13. data/lib/mastercard/api/qkr/formsubmission.rb +5 -5
  14. data/lib/mastercard/api/qkr/{machine.rb → inboxmessage.rb} +9 -21
  15. data/lib/mastercard/api/qkr/lightbox.rb +5 -5
  16. data/lib/mastercard/api/qkr/menu.rb +3 -3
  17. data/lib/mastercard/api/qkr/merchant.rb +5 -5
  18. data/lib/mastercard/api/qkr/order.rb +10 -10
  19. data/lib/mastercard/api/qkr/orderahead.rb +3 -3
  20. data/lib/mastercard/api/qkr/orderaheadmenu.rb +3 -3
  21. data/lib/mastercard/api/qkr/ordercalendar.rb +3 -3
  22. data/lib/mastercard/api/qkr/orderslot.rb +3 -3
  23. data/lib/mastercard/api/qkr/ordertotal.rb +3 -3
  24. data/lib/mastercard/api/qkr/posorder.rb +5 -5
  25. data/lib/mastercard/api/qkr/pospaymentnotification.rb +3 -3
  26. data/lib/mastercard/api/qkr/prodgroup.rb +3 -3
  27. data/lib/mastercard/api/qkr/refund.rb +3 -3
  28. data/lib/mastercard/api/qkr/resendotp.rb +3 -3
  29. data/lib/mastercard/api/qkr/resourceconfig.rb +2 -2
  30. data/lib/mastercard/api/qkr/securityquestion.rb +3 -3
  31. data/lib/mastercard/api/qkr/trans.rb +9 -9
  32. data/lib/mastercard/api/qkr/updatepassword.rb +3 -3
  33. data/lib/mastercard/api/qkr/user.rb +10 -10
  34. data/lib/mastercard/api/qkr/userimage.rb +6 -6
  35. data/lib/mastercard/api/qkr/usersession.rb +47 -3
  36. data/lib/mastercard/api/qkr/verifyotp.rb +3 -3
  37. data/lib/mastercard_qkr.rb +2 -3
  38. metadata +8 -10
  39. data/lib/mastercard/api/qkr/auth.rb +0 -130
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20b5dd514bbddd5f3b40b47b6b3a29af94af37529f3c533e6fab835eb94a12de
4
- data.tar.gz: 6d71d36aece4a178cb3f472542f6cfcd5019dcfd07e52931abb8ffaa9bcc8038
3
+ metadata.gz: fb3bbd2b0c7f3cd09f8ed85a6511ca286655112e596ddd09bbc7c85daebaed55
4
+ data.tar.gz: 90f21391b8a83edeef6985d8644087cd3305cd6b5ec3028a4eec461c53c40125
5
5
  SHA512:
6
- metadata.gz: 9dd0a68793b74665811803936798f4cd39040473d92d0737eda825aaff84cf4e8c0190f36b638a3b65079ca6e6128c7f989d79aa6fe12f59ca75ea4a79365d14
7
- data.tar.gz: 1da7aabaf66266706e4a0023548f46b0e2aa214076e2bf378d32ad4a55489b78cbdc923c2ea2ee9ca1649bce1e2cf9f19500e6ee9a431a3a84016d6ac36802ca
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
- '63637a93-b520-4daf-85a4-dda1da04600d' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/beneficiary", "create", ["X-Auth-Token"], []),
41
- 'b61217f4-0b3a-4e23-b166-ae33d81f6cd4' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/beneficiary/{id}", "delete", ["X-Auth-Token"], []),
42
- 'd78c3fc3-d3a4-40f1-a444-78c874f73e4e' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/beneficiary", "query", ["X-Auth-Token"], ["merchantId"]),
43
- '28439849-5149-4611-9412-deb8abf718b7' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/beneficiary/{id}", "update", ["X-Auth-Token"], []),
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("63637a93-b520-4daf-85a4-dda1da04600d", Beneficiary.new(mapObj))
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("b61217f4-0b3a-4e23-b166-ae33d81f6cd4", mapObj)
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("b61217f4-0b3a-4e23-b166-ae33d81f6cd4", self)
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("d78c3fc3-d3a4-40f1-a444-78c874f73e4e",Beneficiary.new(criteria))
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("28439849-5149-4611-9412-deb8abf718b7",self)
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
- '8dcb33bf-fea9-4bcf-b321-963cf147d3f4' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/beneficiaryCustomField", "query", ["X-Auth-Token"], ["merchantId"]),
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("8dcb33bf-fea9-4bcf-b321-963cf147d3f4",BeneficiaryCustomField.new(criteria))
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
- '3802b8b1-28c2-41b8-9824-f9dabade0a84' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/card", "create", ["X-Auth-Token"], []),
41
- '200e798a-a458-4886-a9e9-d60be42656fe' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/card/{id}", "delete", ["X-Auth-Token"], []),
42
- 'd96011cc-88fe-4318-a82c-85ff5f2cfab4' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/card", "query", ["X-Auth-Token"], []),
43
- '74913cf6-42c8-443c-a29b-df902fbc7045' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/card/{id}", "read", ["X-Auth-Token"], []),
44
- '2e0c2c9b-e835-4edb-81e8-f8f9abd0015b' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/card/{id}", "update", ["X-Auth-Token"], []),
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("3802b8b1-28c2-41b8-9824-f9dabade0a84", Card.new(mapObj))
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("200e798a-a458-4886-a9e9-d60be42656fe", mapObj)
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("200e798a-a458-4886-a9e9-d60be42656fe", self)
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("d96011cc-88fe-4318-a82c-85ff5f2cfab4",Card.new(criteria))
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("74913cf6-42c8-443c-a29b-df902fbc7045",Card.new(mapObj))
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("2e0c2c9b-e835-4edb-81e8-f8f9abd0015b",self)
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
- 'd861c2ae-63b5-4cec-8039-33bf93f9027d' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/cart/{id}", "delete", ["X-Auth-Token"], []),
41
- '8526c6fb-2da6-485f-b22c-0b97a00a066e' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/cart", "query", ["X-Auth-Token"], []),
42
- '458f69ca-1473-433e-83a7-671a0fc4cdba' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/cart/{id}", "read", ["X-Auth-Token"], []),
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("d861c2ae-63b5-4cec-8039-33bf93f9027d", mapObj)
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("d861c2ae-63b5-4cec-8039-33bf93f9027d", self)
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("8526c6fb-2da6-485f-b22c-0b97a00a066e",Cart.new(criteria))
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("458f69ca-1473-433e-83a7-671a0fc4cdba",Cart.new(mapObj))
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
- '70b3dec5-9f13-47a6-81e9-7d798f01a805' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/cartItem", "create", ["X-Auth-Token"], []),
41
- 'a37ca8ed-325c-40b2-a2e8-3d8a1f6fb28c' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/cartItem/{id}", "delete", ["X-Auth-Token"], []),
42
- 'db377067-cdca-4ce8-93ff-6fa2df516153' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/cartItem/{id}", "update", ["X-Auth-Token"], []),
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("70b3dec5-9f13-47a6-81e9-7d798f01a805", CartItem.new(mapObj))
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("a37ca8ed-325c-40b2-a2e8-3d8a1f6fb28c", mapObj)
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("a37ca8ed-325c-40b2-a2e8-3d8a1f6fb28c", self)
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("db377067-cdca-4ce8-93ff-6fa2df516153",self)
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 VendingSession < MasterCard::Core::Model::BaseObject
35
+ class CartValidation < MasterCard::Core::Model::BaseObject
36
36
  include MasterCard::Core::Model
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'a6c39bf5-8709-4184-8048-08b4898e97b1' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/vendingSession", "create", ["X-Auth-Token"], []),
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 VendingSession
62
+ #Creates object of type CartValidation
64
63
  #
65
64
  #@param Dict mapObj, containing the required parameters to create a new object
66
- #@return [VendingSession] of the response of created instance.
65
+ #@return [CartValidation] of the response of created instance.
67
66
  #@raise [APIException] an exception from the response status
68
- return self.execute("a6c39bf5-8709-4184-8048-08b4898e97b1", VendingSession.new(mapObj))
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
- '0cf59874-da65-4f5f-99a8-fee0ead7a478' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/country", "query", [], []),
41
- 'b5c87914-0bce-442f-a422-f9e762da154a' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/country/{id}", "read", [], []),
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("0cf59874-da65-4f5f-99a8-fee0ead7a478",Country.new(criteria))
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("b5c87914-0bce-442f-a422-f9e762da154a",Country.new(mapObj))
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
- 'c0ac9681-63a2-47a7-9003-b0ea7c3ed495' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/creditNote", "create", ["X-Auth-Token"], []),
41
- '7bcd955a-b8d7-46f3-a44a-eaceae40ce3b' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/creditNote/{id}", "read", ["X-Auth-Token"], []),
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("c0ac9681-63a2-47a7-9003-b0ea7c3ed495", CreditNote.new(mapObj))
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("7bcd955a-b8d7-46f3-a44a-eaceae40ce3b",CreditNote.new(mapObj))
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
- '471bdd29-dc49-4dde-b112-caf9ccaef279' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/externalTrans", "create", [], []),
41
- '93b6e6ef-89c1-4464-934e-4652d757e3e7' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/externalTrans", "query", [], []),
42
- 'e9c74db5-1f9a-45ae-8319-662bae5c5bcd' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/externalTrans/{id}", "read", [], []),
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("471bdd29-dc49-4dde-b112-caf9ccaef279", ExternalTrans.new(mapObj))
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("93b6e6ef-89c1-4464-934e-4652d757e3e7",ExternalTrans.new(criteria))
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("e9c74db5-1f9a-45ae-8319-662bae5c5bcd",ExternalTrans.new(mapObj))
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