@aptos-scp/scp-component-store-selling-features-domain-model 1.18.0 → 1.19.0

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.
@@ -216,6 +216,12 @@ class ItemLine extends BaseTransactionLine_1.BaseTransactionLine {
216
216
  if (originalDiscountReason) {
217
217
  itemLine._originalDiscountReason = originalDiscountReason;
218
218
  }
219
+ const originalTaxOverride = collectedData.get(Constants_1.CollectedDataKey.OriginalTaxOverride);
220
+ if (originalTaxOverride) {
221
+ itemLine._originalTaxOverride = originalTaxOverride;
222
+ itemLine._taxOverride = originalTaxOverride.taxOverride;
223
+ itemLine._preTaxOverrideDetails = originalTaxOverride.preTaxOverrideDetails;
224
+ }
219
225
  }
220
226
  const originalRedemptionLoyaltyTransactionKeys = collectedData.get(Constants_1.CollectedDataKey.OriginalRedemptionLoyaltyTransactionKeys);
221
227
  if (((_f = originalRedemptionLoyaltyTransactionKeys) === null || _f === void 0 ? void 0 : _f.length) > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptos-scp/scp-component-store-selling-features-domain-model",
3
- "version": "1.18.0",
3
+ "version": "1.19.0",
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",