@aptos-scp/scp-component-store-selling-features-domain-model 2.34.2 → 2.34.3
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.
|
@@ -292,24 +292,24 @@ class FeeLine extends BaseTransactionLine_1.BaseTransactionLine {
|
|
|
292
292
|
return transactionLineJsonObj._taxGroupId;
|
|
293
293
|
}
|
|
294
294
|
static getExtendedAmountFromCollectedData(collectedData) {
|
|
295
|
-
if (collectedData.has(Constants_1.CollectedDataKey.FeeExtendedAmount)
|
|
295
|
+
if (collectedData.has(Constants_1.CollectedDataKey.FeeExtendedAmount)) {
|
|
296
296
|
return collectedData.get(Constants_1.CollectedDataKey.FeeExtendedAmount);
|
|
297
297
|
}
|
|
298
|
-
undefined;
|
|
298
|
+
return undefined;
|
|
299
299
|
}
|
|
300
300
|
static getExtendedAmountExcludingTaxFromCollectedData(collectedData) {
|
|
301
301
|
if (collectedData.has(Constants_1.CollectedDataKey.FeeExtendedAmountExcludingTax) &&
|
|
302
302
|
FeeLine.isPickupFulfilmentTransaction) {
|
|
303
303
|
return collectedData.get(Constants_1.CollectedDataKey.FeeExtendedAmountExcludingTax);
|
|
304
304
|
}
|
|
305
|
-
undefined;
|
|
305
|
+
return undefined;
|
|
306
306
|
}
|
|
307
307
|
static getExtendedAmountIncludingTaxFromCollectedData(collectedData) {
|
|
308
308
|
if (collectedData.has(Constants_1.CollectedDataKey.FeeExtendedAmountIncludingTax) &&
|
|
309
309
|
FeeLine.isPickupFulfilmentTransaction) {
|
|
310
310
|
return collectedData.get(Constants_1.CollectedDataKey.FeeExtendedAmountIncludingTax);
|
|
311
311
|
}
|
|
312
|
-
undefined;
|
|
312
|
+
return undefined;
|
|
313
313
|
}
|
|
314
314
|
copyLineWithNewLineNumber(newLineNumber) {
|
|
315
315
|
const clonedItem = this.clone();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aptos-scp/scp-component-store-selling-features-domain-model",
|
|
3
|
-
"version": "2.34.
|
|
3
|
+
"version": "2.34.3",
|
|
4
4
|
"description": "This component library provides the common components to handle the coordination of processing the business events from the UI.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|