mastercard_qkr 1.0.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
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,31 +30,31 @@ require "mastercard/core/model"
30
30
  require "mastercard/core/baseobject"
31
31
 
32
32
  module MasterCard
33
- module API
34
- module Qkr
35
- class OrderAheadMenu < MasterCard::Core::Model::BaseObject
36
- include MasterCard::Core::Model
37
- #
33
+ module API
34
+ module Qkr
35
+ class OrderAheadMenu < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
38
 
39
- @__store = {
40
- 'bc7e9806-d64a-491d-b354-0857683613b3' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/orderAheadMenu/orderAhead", "query", [], ["menuTypes","merchantName","orderTime","siteName"]),
41
-
42
- }
39
+ @__store = {
40
+ '20b5b193-989a-4232-97ed-db385711062b' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/orderAheadMenu/orderAhead", "query", [], ["menuTypes","merchantName","orderTime","siteName"]),
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
 
@@ -62,21 +62,21 @@ module MasterCard
62
62
 
63
63
 
64
64
 
65
- def self.query(criteria)
66
- #
67
- #Query objects of type OrderAheadMenu by id and optional criteria
68
- #@param [Dict] criteria
69
- #@return [OrderAheadMenu] object representing the response.
70
- #@raise [APIException] an exception from the response status
71
- #
65
+ def self.query(criteria)
66
+ #
67
+ #Query objects of type OrderAheadMenu by id and optional criteria
68
+ #@param [Dict] criteria
69
+ #@return [OrderAheadMenu] object representing the response.
70
+ #@raise [APIException] an exception from the response status
71
+ #
72
72
 
73
- return self.execute("bc7e9806-d64a-491d-b354-0857683613b3",OrderAheadMenu.new(criteria))
74
- end
73
+ return self.execute("20b5b193-989a-4232-97ed-db385711062b",OrderAheadMenu.new(criteria))
74
+ end
75
75
 
76
76
 
77
- end
78
- end
79
- end
77
+ end
78
+ end
79
+ end
80
80
  end
81
81
 
82
82
 
@@ -0,0 +1,99 @@
1
+ #
2
+ # Copyright (c) 2016 MasterCard International Incorporated
3
+ # All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without modification, are
6
+ # permitted provided that the following conditions are met:
7
+ #
8
+ # Redistributions of source code must retain the above copyright notice, this list of
9
+ # conditions and the following disclaimer.
10
+ # Redistributions in binary form must reproduce the above copyright notice, this list of
11
+ # conditions and the following disclaimer in the documentation and/or other materials
12
+ # provided with the distribution.
13
+ # Neither the name of the MasterCard International Incorporated nor the names of its
14
+ # contributors may be used to endorse or promote products derived from this software
15
+ # without specific prior written permission.
16
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
17
+ # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18
+ # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
19
+ # SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
21
+ # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22
+ # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
23
+ # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
24
+ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25
+ # SUCH DAMAGE.
26
+ #
27
+
28
+
29
+ require "mastercard/core/model"
30
+ require "mastercard/core/baseobject"
31
+
32
+ module MasterCard
33
+ module API
34
+ module Qkr
35
+ class OrderCalendar < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ '3f567aef-029f-46be-a8af-79e218fdd328' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/orderCalendar/{id}", "read", ["X-Auth-Token"], ["endTime","id2","startTime"]),
41
+
42
+ }
43
+
44
+ protected
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
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
56
+
57
+ public
58
+
59
+
60
+
61
+
62
+
63
+
64
+ def self.read(id, criteria = nil)
65
+ #
66
+ #Returns objects of type OrderCalendar by id and optional criteria
67
+ #@param [String] id
68
+ #@param [Dict] criteria
69
+ #@return [OrderCalendar] object representing the response
70
+ #@raise [APIException] an exception from the response status
71
+
72
+ mapObj = OrderCalendar.new
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("3f567aef-029f-46be-a8af-79e218fdd328",OrderCalendar.new(mapObj))
85
+ end
86
+
87
+
88
+
89
+ end
90
+ end
91
+ end
92
+ end
93
+
94
+
95
+
96
+
97
+
98
+
99
+
@@ -30,31 +30,31 @@ require "mastercard/core/model"
30
30
  require "mastercard/core/baseobject"
31
31
 
32
32
  module MasterCard
33
- module API
34
- module Qkr
35
- class OrderSlot < MasterCard::Core::Model::BaseObject
36
- include MasterCard::Core::Model
37
- #
33
+ module API
34
+ module Qkr
35
+ class OrderSlot < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
38
 
39
- @__store = {
40
- '395ef5e2-c893-4d3b-bb15-4d68bb7a434f' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/orderSlot/orderAhead", "query", [], ["merchantName","orderTime","orderType","shippingAddressId","siteName"]),
41
-
42
- }
39
+ @__store = {
40
+ '609c4945-4dcd-4a4a-a178-e92253174dcc' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/orderSlot/orderAhead", "query", [], ["merchantName","orderTime","orderType","shippingAddressId","siteName"]),
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
 
@@ -62,21 +62,21 @@ module MasterCard
62
62
 
63
63
 
64
64
 
65
- def self.query(criteria)
66
- #
67
- #Query objects of type OrderSlot by id and optional criteria
68
- #@param [Dict] criteria
69
- #@return [OrderSlot] object representing the response.
70
- #@raise [APIException] an exception from the response status
71
- #
65
+ def self.query(criteria)
66
+ #
67
+ #Query objects of type OrderSlot by id and optional criteria
68
+ #@param [Dict] criteria
69
+ #@return [OrderSlot] object representing the response.
70
+ #@raise [APIException] an exception from the response status
71
+ #
72
72
 
73
- return self.execute("395ef5e2-c893-4d3b-bb15-4d68bb7a434f",OrderSlot.new(criteria))
74
- end
73
+ return self.execute("609c4945-4dcd-4a4a-a178-e92253174dcc",OrderSlot.new(criteria))
74
+ end
75
75
 
76
76
 
77
- end
78
- end
79
- end
77
+ end
78
+ end
79
+ end
80
80
  end
81
81
 
82
82
 
@@ -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 OrderTotal < MasterCard::Core::Model::BaseObject
36
- include MasterCard::Core::Model
37
- #
33
+ module API
34
+ module Qkr
35
+ class OrderTotal < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
38
 
39
- @__store = {
40
- 'a7b332cf-4147-42e1-b427-f0f95a5e7790' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/orderTotal", "create", [], []),
41
-
42
- }
39
+ @__store = {
40
+ 'a266f4d8-7360-4757-abd8-25f00784e97a' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/orderTotal", "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 OrderTotal
63
- #
64
- #@param Dict mapObj, containing the required parameters to create a new object
65
- #@return [OrderTotal] of the response of created instance.
66
- #@raise [APIException] an exception from the response status
67
- return self.execute("a7b332cf-4147-42e1-b427-f0f95a5e7790", OrderTotal.new(mapObj))
68
- end
60
+ def self.create(mapObj)
61
+ #
62
+ #Creates object of type OrderTotal
63
+ #
64
+ #@param Dict mapObj, containing the required parameters to create a new object
65
+ #@return [OrderTotal] of the response of created instance.
66
+ #@raise [APIException] an exception from the response status
67
+ return self.execute("a266f4d8-7360-4757-abd8-25f00784e97a", OrderTotal.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,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 PosOrder < MasterCard::Core::Model::BaseObject
36
- include MasterCard::Core::Model
37
- #
33
+ module API
34
+ module Qkr
35
+ class PosOrder < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
38
 
39
- @__store = {
40
- '494efdcb-ec5e-4343-8766-48932f60f2f2' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/posOrder", "create", ["X-Auth-Token"], []),
41
- 'd5122b5d-d98d-42d6-bb9e-bb4f72c07da0' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/posOrder/{id}", "update", ["X-Auth-Token"], []),
42
-
43
- }
39
+ @__store = {
40
+ '7bb6dd4e-cc6c-4b1e-9aa9-1d8d071c318d' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/posOrder", "create", ["X-Auth-Token"], []),
41
+ '0be2e422-89f8-4863-8cae-4705e126dc40' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/posOrder/{id}", "update", ["X-Auth-Token"], []),
42
+
43
+ }
44
44
 
45
- protected
45
+ protected
46
46
 
47
- def self.getOperationConfig(operationUUID)
48
- if @__store.key?(operationUUID)
49
- return @__store[operationUUID]
50
- end
51
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
52
- end
47
+ def self.getOperationConfig(operationUUID)
48
+ if @__store.key?(operationUUID)
49
+ return @__store[operationUUID]
50
+ end
51
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
52
+ end
53
53
 
54
- def self.getOperationMetadata()
55
- return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
56
- end
54
+ def self.getOperationMetadata()
55
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
56
+ end
57
57
 
58
- public
58
+ public
59
59
 
60
60
 
61
- def self.create(mapObj)
62
- #
63
- #Creates object of type PosOrder
64
- #
65
- #@param Dict mapObj, containing the required parameters to create a new object
66
- #@return [PosOrder] of the response of created instance.
67
- #@raise [APIException] an exception from the response status
68
- return self.execute("494efdcb-ec5e-4343-8766-48932f60f2f2", PosOrder.new(mapObj))
69
- end
61
+ def self.create(mapObj)
62
+ #
63
+ #Creates object of type PosOrder
64
+ #
65
+ #@param Dict mapObj, containing the required parameters to create a new object
66
+ #@return [PosOrder] of the response of created instance.
67
+ #@raise [APIException] an exception from the response status
68
+ return self.execute("7bb6dd4e-cc6c-4b1e-9aa9-1d8d071c318d", PosOrder.new(mapObj))
69
+ end
70
70
 
71
71
 
72
72
 
@@ -75,15 +75,15 @@ module MasterCard
75
75
 
76
76
 
77
77
 
78
- def update
79
- #
80
- #Updates an object of type PosOrder
81
- #
82
- #@return [PosOrder] object representing the response.
83
- #@raise [APIException] an exception from the response status
84
- #
85
- return self.class.execute("d5122b5d-d98d-42d6-bb9e-bb4f72c07da0",self)
86
- end
78
+ def update
79
+ #
80
+ #Updates an object of type PosOrder
81
+ #
82
+ #@return [PosOrder] object representing the response.
83
+ #@raise [APIException] an exception from the response status
84
+ #
85
+ return self.class.execute("0be2e422-89f8-4863-8cae-4705e126dc40",self)
86
+ end
87
87
 
88
88
 
89
89
 
@@ -91,9 +91,9 @@ module MasterCard
91
91
 
92
92
 
93
93
 
94
- end
95
- end
96
- end
94
+ end
95
+ end
96
+ end
97
97
  end
98
98
 
99
99
 
@@ -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 PosPaymentNotification < MasterCard::Core::Model::BaseObject
36
- include MasterCard::Core::Model
37
- #
33
+ module API
34
+ module Qkr
35
+ class PosPaymentNotification < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
38
 
39
- @__store = {
40
- 'decaeae6-d66b-4c56-a37d-4a90d96aebc1' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/posPaymentNotification/pat", "create", ["X-Auth-Token"], []),
41
-
42
- }
39
+ @__store = {
40
+ '0b252161-f3a1-44b2-b47d-70da087a258a' => OperationConfig.new("/labs/proxy/qkr2/internal/api2/posPaymentNotification/pat", "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 PosPaymentNotification
63
- #
64
- #@param Dict mapObj, containing the required parameters to create a new object
65
- #@return [PosPaymentNotification] of the response of created instance.
66
- #@raise [APIException] an exception from the response status
67
- return self.execute("decaeae6-d66b-4c56-a37d-4a90d96aebc1", PosPaymentNotification.new(mapObj))
68
- end
60
+ def self.create(mapObj)
61
+ #
62
+ #Creates object of type PosPaymentNotification
63
+ #
64
+ #@param Dict mapObj, containing the required parameters to create a new object
65
+ #@return [PosPaymentNotification] of the response of created instance.
66
+ #@raise [APIException] an exception from the response status
67
+ return self.execute("0b252161-f3a1-44b2-b47d-70da087a258a", PosPaymentNotification.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