@wix/auto_sdk_ecom_current-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.
@@ -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
  }