@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.
- package/bundles/pmcretail-mapper-library.umd.js +23 -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/WebReturnSalesforceMapper.class.js +15 -1
- package/esm2015/lib/mapper-library.model.js +5 -1
- package/esm5/lib/WebReturnSalesforceMapper.class.js +20 -1
- package/esm5/lib/mapper-library.model.js +5 -1
- package/fesm2015/pmcretail-mapper-library.js +18 -0
- package/fesm2015/pmcretail-mapper-library.js.map +1 -1
- package/fesm5/pmcretail-mapper-library.js +23 -0
- package/fesm5/pmcretail-mapper-library.js.map +1 -1
- package/lib/WebReturnSalesforceMapper.class.d.ts +1 -0
- package/lib/mapper-library.model.d.ts +2 -0
- package/package.json +1 -1
- package/pmcretail-mapper-library.metadata.json +1 -1
|
@@ -909,6 +909,8 @@
|
|
|
909
909
|
TransactionDocument.prototype.externalTransactionDetails;
|
|
910
910
|
/** @type {?|undefined} */
|
|
911
911
|
TransactionDocument.prototype.refundRequest;
|
|
912
|
+
/** @type {?|undefined} */
|
|
913
|
+
TransactionDocument.prototype.isInStoreOrder;
|
|
912
914
|
}
|
|
913
915
|
/**
|
|
914
916
|
* @record
|
|
@@ -1688,6 +1690,8 @@
|
|
|
1688
1690
|
OrderDetails.prototype.tax_rounded_at_group;
|
|
1689
1691
|
/** @type {?|undefined} */
|
|
1690
1692
|
OrderDetails.prototype.tax_total;
|
|
1693
|
+
/** @type {?|undefined} */
|
|
1694
|
+
OrderDetails.prototype.c_isInStoreOrder;
|
|
1691
1695
|
}
|
|
1692
1696
|
/** @enum {string} */
|
|
1693
1697
|
var PROVIDERS = {
|
|
@@ -7451,6 +7455,7 @@
|
|
|
7451
7455
|
terminalId: "",
|
|
7452
7456
|
initiatingModule: "",
|
|
7453
7457
|
export: false,
|
|
7458
|
+
isInStoreOrder: false,
|
|
7454
7459
|
basket: {},
|
|
7455
7460
|
basketSummary: {},
|
|
7456
7461
|
baseCurrency: "",
|
|
@@ -7990,6 +7995,24 @@
|
|
|
7990
7995
|
console.log("Mapper library: WebReturnSalesforceMapperBuilderClass: customer mapping ended...");
|
|
7991
7996
|
return (/** @type {?} */ (this));
|
|
7992
7997
|
};
|
|
7998
|
+
/**
|
|
7999
|
+
* @template THIS
|
|
8000
|
+
* @this {THIS}
|
|
8001
|
+
* @return {THIS}
|
|
8002
|
+
*/
|
|
8003
|
+
WebReturnSalesforceMapperBuilderClass.prototype.isInStoreOrder = /**
|
|
8004
|
+
* @template THIS
|
|
8005
|
+
* @this {THIS}
|
|
8006
|
+
* @return {THIS}
|
|
8007
|
+
*/
|
|
8008
|
+
function () {
|
|
8009
|
+
console.log("Mapper library: WebReturnSalesforceMapperBuilderClass: isInStoreOrder mapping started...");
|
|
8010
|
+
if ((/** @type {?} */ (this)).orderDetails.c_isInStoreOrder) {
|
|
8011
|
+
(/** @type {?} */ (this)).webReturnObject.isInStoreOrder = true;
|
|
8012
|
+
}
|
|
8013
|
+
console.log("Mapper library: WebReturnSalesforceMapperBuilderClass: isInStoreOrder mapping ended...");
|
|
8014
|
+
return (/** @type {?} */ (this));
|
|
8015
|
+
};
|
|
7993
8016
|
/**
|
|
7994
8017
|
* @template THIS
|
|
7995
8018
|
* @this {THIS}
|