@wix/auto_sdk_ecom_cart 1.0.85 → 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.
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +18 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +9 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +18 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +9 -3
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +18 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +9 -3
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +18 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +9 -3
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -22,13 +22,16 @@ interface Cart {
|
|
|
22
22
|
/** Buyer information. */
|
|
23
23
|
buyerInfo?: BuyerInfo;
|
|
24
24
|
/**
|
|
25
|
-
* The site
|
|
25
|
+
* The site’s 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.
|
|
26
26
|
* @format CURRENCY
|
|
27
27
|
* @readonly
|
|
28
28
|
*/
|
|
29
29
|
currency?: string;
|
|
30
30
|
/**
|
|
31
|
-
* The currency selected by the
|
|
31
|
+
* 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.
|
|
32
|
+
*
|
|
33
|
+
* This reflects the customer’s preferred display currency and may differ from the site’s default currency.
|
|
34
|
+
* When no specific currency is selected by the customer, this matches the `currency` property.
|
|
32
35
|
* @readonly
|
|
33
36
|
* @format CURRENCY
|
|
34
37
|
*/
|
|
@@ -103,7 +106,10 @@ interface Cart {
|
|
|
103
106
|
*/
|
|
104
107
|
businessLocationId?: string | null;
|
|
105
108
|
/**
|
|
106
|
-
*
|
|
109
|
+
* The currency used for payment, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
110
|
+
*
|
|
111
|
+
* 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.
|
|
112
|
+
* 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.
|
|
107
113
|
* @readonly
|
|
108
114
|
* @format CURRENCY
|
|
109
115
|
*/
|
|
@@ -3198,13 +3204,16 @@ interface UpdateCartOptions {
|
|
|
3198
3204
|
/** Buyer information. */
|
|
3199
3205
|
buyerInfo?: BuyerInfo;
|
|
3200
3206
|
/**
|
|
3201
|
-
* The site
|
|
3207
|
+
* The site’s 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.
|
|
3202
3208
|
* @format CURRENCY
|
|
3203
3209
|
* @readonly
|
|
3204
3210
|
*/
|
|
3205
3211
|
currency?: string;
|
|
3206
3212
|
/**
|
|
3207
|
-
* The currency selected by the
|
|
3213
|
+
* 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.
|
|
3214
|
+
*
|
|
3215
|
+
* This reflects the customer’s preferred display currency and may differ from the site’s default currency.
|
|
3216
|
+
* When no specific currency is selected by the customer, this matches the `currency` property.
|
|
3208
3217
|
* @readonly
|
|
3209
3218
|
* @format CURRENCY
|
|
3210
3219
|
*/
|
|
@@ -3279,7 +3288,10 @@ interface UpdateCartOptions {
|
|
|
3279
3288
|
*/
|
|
3280
3289
|
businessLocationId?: string | null;
|
|
3281
3290
|
/**
|
|
3282
|
-
*
|
|
3291
|
+
* The currency used for payment, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
3292
|
+
*
|
|
3293
|
+
* 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.
|
|
3294
|
+
* 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.
|
|
3283
3295
|
* @readonly
|
|
3284
3296
|
* @format CURRENCY
|
|
3285
3297
|
*/
|