File tree Expand file tree Collapse file tree 3 files changed +4
-27
lines changed
Expand file tree Collapse file tree 3 files changed +4
-27
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import Context from './vo/Context';
66import Page from './vo/Page' ;
77import ValidationParameters from './vo/ValidationParameters' ;
88import ValidationResults from './vo/ValidationResults' ;
9- import BundleObtainParameters from './vo/BundleObtainParameters' ;
109
1110// Services
1211import Service from './services/Service' ;
@@ -70,7 +69,6 @@ export {
7069 Page ,
7170 ValidationParameters ,
7271 ValidationResults ,
73- BundleObtainParameters ,
7472
7573 // Expose Services
7674 Service ,
Original file line number Diff line number Diff line change @@ -163,18 +163,18 @@ export default {
163163 * @param number string
164164 *
165165 * licensee number
166- * @param bundleObtainParameters NetLicensing.BundleObtainParameters
166+ * @param licenseeNumber String
167167 *
168168 * return array of licenses
169169 * @returns {Promise }
170170 */
171- async obtain ( context , number , bundleObtainParameters ) {
171+ async obtain ( context , number , licenseeNumber ) {
172172 CheckUtils . paramNotEmpty ( number , Constants . NUMBER ) ;
173- CheckUtils . paramNotEmpty ( bundleObtainParameters . getLicenseeNumber ( ) , Constants . Licensee . LICENSEE_NUMBER ) ;
173+ CheckUtils . paramNotEmpty ( licenseeNumber , Constants . Licensee . LICENSEE_NUMBER ) ;
174174
175175 const { ENDPOINT_PATH , ENDPOINT_OBTAIN_PATH } = Constants . Bundle ;
176176
177- const queryParams = { [ Constants . Licensee . LICENSEE_NUMBER ] : bundleObtainParameters . getLicenseeNumber ( ) } ;
177+ const queryParams = { [ Constants . Licensee . LICENSEE_NUMBER ] : licenseeNumber } ;
178178
179179 const { data : { items : { item : items } } } = await Service
180180 . post ( context , `${ ENDPOINT_PATH } /${ number } /${ ENDPOINT_OBTAIN_PATH } ` , queryParams ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments