@wix/auto_sdk_ecom_cart 1.0.85 → 1.0.87
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 +22 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +22 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -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 +22 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +11 -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 +22 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +11 -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
|
*/
|
|
@@ -95,6 +98,8 @@ interface Cart {
|
|
|
95
98
|
purchaseFlowId?: string | null;
|
|
96
99
|
/** Selected shipping option. */
|
|
97
100
|
selectedShippingOption?: SelectedShippingOption;
|
|
101
|
+
/** Fields extended by data extensions */
|
|
102
|
+
extendedFields?: ExtendedFields;
|
|
98
103
|
/**
|
|
99
104
|
* The business location ID associated with the cart.
|
|
100
105
|
*
|
|
@@ -103,7 +108,10 @@ interface Cart {
|
|
|
103
108
|
*/
|
|
104
109
|
businessLocationId?: string | null;
|
|
105
110
|
/**
|
|
106
|
-
*
|
|
111
|
+
* The currency used for payment, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
112
|
+
*
|
|
113
|
+
* 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.
|
|
114
|
+
* 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
115
|
* @readonly
|
|
108
116
|
* @format CURRENCY
|
|
109
117
|
*/
|
|
@@ -3198,13 +3206,16 @@ interface UpdateCartOptions {
|
|
|
3198
3206
|
/** Buyer information. */
|
|
3199
3207
|
buyerInfo?: BuyerInfo;
|
|
3200
3208
|
/**
|
|
3201
|
-
* The site
|
|
3209
|
+
* 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
3210
|
* @format CURRENCY
|
|
3203
3211
|
* @readonly
|
|
3204
3212
|
*/
|
|
3205
3213
|
currency?: string;
|
|
3206
3214
|
/**
|
|
3207
|
-
* The currency selected by the
|
|
3215
|
+
* 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.
|
|
3216
|
+
*
|
|
3217
|
+
* This reflects the customer’s preferred display currency and may differ from the site’s default currency.
|
|
3218
|
+
* When no specific currency is selected by the customer, this matches the `currency` property.
|
|
3208
3219
|
* @readonly
|
|
3209
3220
|
* @format CURRENCY
|
|
3210
3221
|
*/
|
|
@@ -3271,6 +3282,8 @@ interface UpdateCartOptions {
|
|
|
3271
3282
|
purchaseFlowId?: string | null;
|
|
3272
3283
|
/** Selected shipping option. */
|
|
3273
3284
|
selectedShippingOption?: SelectedShippingOption;
|
|
3285
|
+
/** Fields extended by data extensions */
|
|
3286
|
+
extendedFields?: ExtendedFields;
|
|
3274
3287
|
/**
|
|
3275
3288
|
* The business location ID associated with the cart.
|
|
3276
3289
|
*
|
|
@@ -3279,7 +3292,10 @@ interface UpdateCartOptions {
|
|
|
3279
3292
|
*/
|
|
3280
3293
|
businessLocationId?: string | null;
|
|
3281
3294
|
/**
|
|
3282
|
-
*
|
|
3295
|
+
* The currency used for payment, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
3296
|
+
*
|
|
3297
|
+
* 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.
|
|
3298
|
+
* 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
3299
|
* @readonly
|
|
3284
3300
|
* @format CURRENCY
|
|
3285
3301
|
*/
|