@pmcretail/mapper-library 0.0.56 → 0.0.61

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.
@@ -95,6 +95,7 @@
95
95
  PROVIDERS["MAGENTO"] = "Magento";
96
96
  PROVIDERS["MAGENTO2"] = "Magento2";
97
97
  PROVIDERS["SALESFORCE_OSU"] = "SalesforceOSU";
98
+ PROVIDERS["SALESFORCE_XML"] = "SalesforceXML";
98
99
  })(PROVIDERS || (PROVIDERS = {}));
99
100
  var PROMOTION_LEVEL;
100
101
  (function (PROMOTION_LEVEL) {
@@ -3765,6 +3766,7 @@
3765
3766
  },
3766
3767
  currentTransactionDetails: {}
3767
3768
  };
3769
+ this.STORE_PREFIX = 'store@';
3768
3770
  if (orderDetails) {
3769
3771
  this.orderDetails = orderDetails;
3770
3772
  }
@@ -4056,11 +4058,9 @@
4056
4058
  appLogger_service.AppLoggerService.logDebug(this.className, "customer", "customer mapping ended...");
4057
4059
  return this;
4058
4060
  };
4059
- WebReturnSalesforceMapperBuilderClass.prototype.isInStoreOrder = function () {
4061
+ WebReturnSalesforceMapperBuilderClass.prototype.isInStoreOrder = function (isInStoreOrder) {
4060
4062
  appLogger_service.AppLoggerService.logDebug(this.className, "isInStoreOrder", "isInStoreOrder mapping started...");
4061
- if (this.orderDetails.c_isInStoreOrder) {
4062
- this.webReturnObject.isInStoreOrder = true;
4063
- }
4063
+ this.webReturnObject.isInStoreOrder = isInStoreOrder || false;
4064
4064
  appLogger_service.AppLoggerService.logDebug(this.className, "isInStoreOrder", "isInStoreOrder mapping ended...");
4065
4065
  return this;
4066
4066
  };