|
16 | 16 | (function(root, factory) { |
17 | 17 | if (typeof define === 'function' && define.amd) { |
18 | 18 | // AMD. Register as an anonymous module. |
19 | | - define(['ApiClient', 'model/Ptsv2paymentsClientReferenceInformation', 'model/Ptsv2paymentsidvoidsPaymentInformation'], factory); |
| 19 | + define(['ApiClient', 'model/Ptsv2paymentsClientReferenceInformation', 'model/Ptsv2paymentsidvoidsOrderInformation', 'model/Ptsv2paymentsidvoidsPaymentInformation'], factory); |
20 | 20 | } else if (typeof module === 'object' && module.exports) { |
21 | 21 | // CommonJS-like environments that support module.exports, like Node. |
22 | | - module.exports = factory(require('../ApiClient'), require('./Ptsv2paymentsClientReferenceInformation'), require('./Ptsv2paymentsidvoidsPaymentInformation')); |
| 22 | + module.exports = factory(require('../ApiClient'), require('./Ptsv2paymentsClientReferenceInformation'), require('./Ptsv2paymentsidvoidsOrderInformation'), require('./Ptsv2paymentsidvoidsPaymentInformation')); |
23 | 23 | } else { |
24 | 24 | // Browser globals (root is window) |
25 | 25 | if (!root.CyberSource) { |
26 | 26 | root.CyberSource = {}; |
27 | 27 | } |
28 | | - root.CyberSource.MitVoidRequest = factory(root.CyberSource.ApiClient, root.CyberSource.Ptsv2paymentsClientReferenceInformation, root.CyberSource.Ptsv2paymentsidvoidsPaymentInformation); |
| 28 | + root.CyberSource.MitVoidRequest = factory(root.CyberSource.ApiClient, root.CyberSource.Ptsv2paymentsClientReferenceInformation, root.CyberSource.Ptsv2paymentsidvoidsOrderInformation, root.CyberSource.Ptsv2paymentsidvoidsPaymentInformation); |
29 | 29 | } |
30 | | -}(this, function(ApiClient, Ptsv2paymentsClientReferenceInformation, Ptsv2paymentsidvoidsPaymentInformation) { |
| 30 | +}(this, function(ApiClient, Ptsv2paymentsClientReferenceInformation, Ptsv2paymentsidvoidsOrderInformation, Ptsv2paymentsidvoidsPaymentInformation) { |
31 | 31 | 'use strict'; |
32 | 32 |
|
33 | 33 |
|
|
49 | 49 |
|
50 | 50 |
|
51 | 51 |
|
| 52 | + |
52 | 53 | }; |
53 | 54 |
|
54 | 55 | /** |
|
68 | 69 | if (data.hasOwnProperty('paymentInformation')) { |
69 | 70 | obj['paymentInformation'] = Ptsv2paymentsidvoidsPaymentInformation.constructFromObject(data['paymentInformation']); |
70 | 71 | } |
| 72 | + if (data.hasOwnProperty('orderInformation')) { |
| 73 | + obj['orderInformation'] = Ptsv2paymentsidvoidsOrderInformation.constructFromObject(data['orderInformation']); |
| 74 | + } |
71 | 75 | } |
72 | 76 | return obj; |
73 | 77 | } |
|
80 | 84 | * @member {module:model/Ptsv2paymentsidvoidsPaymentInformation} paymentInformation |
81 | 85 | */ |
82 | 86 | exports.prototype['paymentInformation'] = undefined; |
| 87 | + /** |
| 88 | + * @member {module:model/Ptsv2paymentsidvoidsOrderInformation} orderInformation |
| 89 | + */ |
| 90 | + exports.prototype['orderInformation'] = undefined; |
83 | 91 |
|
84 | 92 |
|
85 | 93 |
|
|
0 commit comments