@wix/auto_sdk_ecom_cart-v-2 1.0.6 → 1.0.7

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.
@@ -1546,6 +1546,9 @@ interface V2AdditionalFee {
1546
1546
  interface TaxSummary {
1547
1547
  /**
1548
1548
  * List of taxes applied to the cart.
1549
+ * May contain multiple entries when advanced tax rates are configured by the merchant,
1550
+ * or a single entry representing the total tax amount.
1551
+ * For more details on advanced tax rates, read [this article](https://support.wix.com/en/article/setting-up-tax-calculation-using-the-manual-method#step-3-optional-customize-advanced-mode-settings).
1549
1552
  * @maxSize 100
1550
1553
  */
1551
1554
  taxes?: Tax[];
@@ -1576,7 +1579,7 @@ interface Tax {
1576
1579
  * Tax rate %, as a decimal point between 0 and 1.
1577
1580
  * @decimalValue options { gte:0, lte:1, maxScale:6 }
1578
1581
  */
1579
- rate?: string;
1582
+ rate?: string | null;
1580
1583
  /** Calculated tax, based on `taxable_amount` and `rate`. */
1581
1584
  totalTax?: MultiCurrencyPrice;
1582
1585
  }
@@ -1569,6 +1569,9 @@ interface V2AdditionalFee {
1569
1569
  interface TaxSummary {
1570
1570
  /**
1571
1571
  * List of taxes applied to the cart.
1572
+ * May contain multiple entries when advanced tax rates are configured by the merchant,
1573
+ * or a single entry representing the total tax amount.
1574
+ * For more details on advanced tax rates, read [this article](https://support.wix.com/en/article/setting-up-tax-calculation-using-the-manual-method#step-3-optional-customize-advanced-mode-settings).
1572
1575
  * @maxSize 100
1573
1576
  */
1574
1577
  taxes?: Tax[];
@@ -1599,7 +1602,7 @@ interface Tax {
1599
1602
  * Tax rate %, as a decimal point between 0 and 1.
1600
1603
  * @decimalValue options { gte:0, lte:1, maxScale:6 }
1601
1604
  */
1602
- rate?: string;
1605
+ rate?: string | null;
1603
1606
  /** Calculated tax, based on `taxable_amount` and `rate`. */
1604
1607
  totalTax?: MultiCurrencyPrice;
1605
1608
  }