@pmcretail/mapper-library 0.0.36 → 0.0.37
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.
- package/bundles/pmcretail-mapper-library.umd.js +19 -0
- package/bundles/pmcretail-mapper-library.umd.js.map +1 -1
- package/bundles/pmcretail-mapper-library.umd.min.js +1 -1
- package/bundles/pmcretail-mapper-library.umd.min.js.map +1 -1
- package/esm2015/lib/WebReturn-mapper.class.js +15 -1
- package/esm5/lib/WebReturn-mapper.class.js +20 -1
- package/fesm2015/pmcretail-mapper-library.js +14 -0
- package/fesm2015/pmcretail-mapper-library.js.map +1 -1
- package/fesm5/pmcretail-mapper-library.js +19 -0
- package/fesm5/pmcretail-mapper-library.js.map +1 -1
- package/lib/WebReturn-mapper.class.d.ts +1 -0
- package/package.json +1 -1
- package/pmcretail-mapper-library.metadata.json +1 -1
|
@@ -7104,6 +7104,7 @@
|
|
|
7104
7104
|
terminalId: "",
|
|
7105
7105
|
initiatingModule: "",
|
|
7106
7106
|
export: false,
|
|
7107
|
+
isInStoreOrder: false,
|
|
7107
7108
|
basket: {},
|
|
7108
7109
|
basketSummary: {},
|
|
7109
7110
|
baseCurrency: "",
|
|
@@ -7422,6 +7423,24 @@
|
|
|
7422
7423
|
return new Date(date).toISOString();
|
|
7423
7424
|
}
|
|
7424
7425
|
};
|
|
7426
|
+
/**
|
|
7427
|
+
* @template THIS
|
|
7428
|
+
* @this {THIS}
|
|
7429
|
+
* @return {THIS}
|
|
7430
|
+
*/
|
|
7431
|
+
WebReturnMapperBuilderClass.prototype.isInStoreOrder = /**
|
|
7432
|
+
* @template THIS
|
|
7433
|
+
* @this {THIS}
|
|
7434
|
+
* @return {THIS}
|
|
7435
|
+
*/
|
|
7436
|
+
function () {
|
|
7437
|
+
console.log("Mapper library: WebReturnMapperBuilderClass: isInStoreOrder mapping started...");
|
|
7438
|
+
if ((/** @type {?} */ (this)).document.payment && (/** @type {?} */ (this)).document.payment.method && (/** @type {?} */ (this)).document.payment.method === 'pos_order') {
|
|
7439
|
+
(/** @type {?} */ (this)).webReturnObject.isInStoreOrder = true;
|
|
7440
|
+
}
|
|
7441
|
+
console.log("Mapper library: WebReturnMapperBuilderClass: isInStoreOrder mapping ended...");
|
|
7442
|
+
return (/** @type {?} */ (this));
|
|
7443
|
+
};
|
|
7425
7444
|
return WebReturnMapperBuilderClass;
|
|
7426
7445
|
}());
|
|
7427
7446
|
if (false) {
|