@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.
@@ -6884,6 +6884,7 @@ var WebReturnMapperBuilderClass = /** @class */ (function () {
6884
6884
  terminalId: "",
6885
6885
  initiatingModule: "",
6886
6886
  export: false,
6887
+ isInStoreOrder: false,
6887
6888
  basket: {},
6888
6889
  basketSummary: {},
6889
6890
  baseCurrency: "",
@@ -7202,6 +7203,24 @@ var WebReturnMapperBuilderClass = /** @class */ (function () {
7202
7203
  return new Date(date).toISOString();
7203
7204
  }
7204
7205
  };
7206
+ /**
7207
+ * @template THIS
7208
+ * @this {THIS}
7209
+ * @return {THIS}
7210
+ */
7211
+ WebReturnMapperBuilderClass.prototype.isInStoreOrder = /**
7212
+ * @template THIS
7213
+ * @this {THIS}
7214
+ * @return {THIS}
7215
+ */
7216
+ function () {
7217
+ console.log("Mapper library: WebReturnMapperBuilderClass: isInStoreOrder mapping started...");
7218
+ if ((/** @type {?} */ (this)).document.payment && (/** @type {?} */ (this)).document.payment.method && (/** @type {?} */ (this)).document.payment.method === 'pos_order') {
7219
+ (/** @type {?} */ (this)).webReturnObject.isInStoreOrder = true;
7220
+ }
7221
+ console.log("Mapper library: WebReturnMapperBuilderClass: isInStoreOrder mapping ended...");
7222
+ return (/** @type {?} */ (this));
7223
+ };
7205
7224
  return WebReturnMapperBuilderClass;
7206
7225
  }());
7207
7226
  if (false) {