@wix/auto_sdk_ecom_cart 1.0.84 → 1.0.86

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.
@@ -23,13 +23,16 @@ interface Cart {
23
23
  /** Buyer information. */
24
24
  buyerInfo?: BuyerInfo;
25
25
  /**
26
- * The site's default currency, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
26
+ * The sites default currency, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. This represents the base currency configured for the site and remains constant regardless of the customer’s currency selection.
27
27
  * @format CURRENCY
28
28
  * @readonly
29
29
  */
30
30
  currency?: string;
31
31
  /**
32
- * The currency selected by the buyer during the purchase flow, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
32
+ * The currency [selected by the customer](https://support.wix.com/en/article/multicurrency-an-overview) during the purchase flow, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
33
+ *
34
+ * This reflects the customer’s preferred display currency and may differ from the site’s default currency.
35
+ * When no specific currency is selected by the customer, this matches the `currency` property.
33
36
  * @readonly
34
37
  * @format CURRENCY
35
38
  */
@@ -104,7 +107,10 @@ interface Cart {
104
107
  */
105
108
  businessLocationId?: string | null;
106
109
  /**
107
- * Currency used for payment, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
110
+ * The currency used for payment, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
111
+ *
112
+ * This is determined by the [customer's selected currency](https://support.wix.com/en/article/multicurrency-an-overview) and the site’s supported payment currencies.
113
+ * If the customer’s selected currency is supported for payment, this matches the `conversionCurrency` property. If not supported, this falls back to the `currency` property.
108
114
  * @readonly
109
115
  * @format CURRENCY
110
116
  */
@@ -1531,6 +1537,12 @@ interface ItemTaxFullDetails {
1531
1537
  * @deprecated
1532
1538
  */
1533
1539
  rateBreakdown?: TaxRateBreakdown[];
1540
+ /**
1541
+ * tax information for a line item.
1542
+ * @maxSize 1000
1543
+ * @readonly
1544
+ */
1545
+ taxBreakdown?: TaxBreakdown[];
1534
1546
  }
1535
1547
  interface TaxRateBreakdown {
1536
1548
  /**