@pmcretail/mapper-library 0.0.47 → 0.0.49
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 +2 -1
- package/bundles/pmcretail-mapper-library.umd.js.map +1 -1
- package/esm2015/lib/WebReturnMagento2RestV1.class.js +4 -3
- package/fesm2015/pmcretail-mapper-library.js +2 -1
- package/fesm2015/pmcretail-mapper-library.js.map +1 -1
- package/lib/WebReturnMagento2RestV1.class.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4187,6 +4187,7 @@
|
|
|
4187
4187
|
}
|
|
4188
4188
|
WebReturnMagento2RestV1MapperBuilderClass.prototype.webReturnCommonMapper = function () {
|
|
4189
4189
|
appLogger_service.AppLoggerService.logDebug(this.className, "webReturnCommonMapper", "Mapping started...");
|
|
4190
|
+
this.webReturnObject['type'] = TRANSACTION_TYPE.WEB_RETURNS;
|
|
4190
4191
|
this.webReturnObject['datetime'] = this.getUTCDateTime(this.orderDetails.updated_at);
|
|
4191
4192
|
this.webReturnObject.baseCurrency = this.orderDetails.order_currency_code;
|
|
4192
4193
|
this.webReturnObject.subsidiaryId = '1';
|
|
@@ -4299,7 +4300,7 @@
|
|
|
4299
4300
|
var externalTransactionDetailsObj = {
|
|
4300
4301
|
uniqueId: this.orderDetails.increment_id || '',
|
|
4301
4302
|
providerType: PROVIDERS.MAGENTO2,
|
|
4302
|
-
|
|
4303
|
+
details: { invoiceId: (invoiceId === null || invoiceId === void 0 ? void 0 : invoiceId.toString()) || '' },
|
|
4303
4304
|
coupons: coupon ? [coupon] : []
|
|
4304
4305
|
};
|
|
4305
4306
|
this.webReturnObject.externalTransactionDetails.push(externalTransactionDetailsObj);
|