@pmcretail/mapper-library 0.0.35 → 0.0.36

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.
@@ -689,6 +689,8 @@ if (false) {
689
689
  TransactionDocument.prototype.externalTransactionDetails;
690
690
  /** @type {?|undefined} */
691
691
  TransactionDocument.prototype.refundRequest;
692
+ /** @type {?|undefined} */
693
+ TransactionDocument.prototype.isInStoreOrder;
692
694
  }
693
695
  /**
694
696
  * @record
@@ -1468,6 +1470,8 @@ if (false) {
1468
1470
  OrderDetails.prototype.tax_rounded_at_group;
1469
1471
  /** @type {?|undefined} */
1470
1472
  OrderDetails.prototype.tax_total;
1473
+ /** @type {?|undefined} */
1474
+ OrderDetails.prototype.c_isInStoreOrder;
1471
1475
  }
1472
1476
  /** @enum {string} */
1473
1477
  var PROVIDERS = {
@@ -7231,6 +7235,7 @@ var WebReturnSalesforceMapperBuilderClass = /** @class */ (function () {
7231
7235
  terminalId: "",
7232
7236
  initiatingModule: "",
7233
7237
  export: false,
7238
+ isInStoreOrder: false,
7234
7239
  basket: {},
7235
7240
  basketSummary: {},
7236
7241
  baseCurrency: "",
@@ -7770,6 +7775,24 @@ var WebReturnSalesforceMapperBuilderClass = /** @class */ (function () {
7770
7775
  console.log("Mapper library: WebReturnSalesforceMapperBuilderClass: customer mapping ended...");
7771
7776
  return (/** @type {?} */ (this));
7772
7777
  };
7778
+ /**
7779
+ * @template THIS
7780
+ * @this {THIS}
7781
+ * @return {THIS}
7782
+ */
7783
+ WebReturnSalesforceMapperBuilderClass.prototype.isInStoreOrder = /**
7784
+ * @template THIS
7785
+ * @this {THIS}
7786
+ * @return {THIS}
7787
+ */
7788
+ function () {
7789
+ console.log("Mapper library: WebReturnSalesforceMapperBuilderClass: isInStoreOrder mapping started...");
7790
+ if ((/** @type {?} */ (this)).orderDetails.c_isInStoreOrder) {
7791
+ (/** @type {?} */ (this)).webReturnObject.isInStoreOrder = true;
7792
+ }
7793
+ console.log("Mapper library: WebReturnSalesforceMapperBuilderClass: isInStoreOrder mapping ended...");
7794
+ return (/** @type {?} */ (this));
7795
+ };
7773
7796
  /**
7774
7797
  * @template THIS
7775
7798
  * @this {THIS}