@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
|
*/
|
|
@@ -3064,13 +3070,16 @@ interface UpdateCartOptions {
|
|
|
3064
3070
|
/** Buyer information. */
|
|
3065
3071
|
buyerInfo?: BuyerInfo;
|
|
3066
3072
|
/**
|
|
3067
|
-
* The site
|
|
3073
|
+
* 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.
|
|
3068
3074
|
* @format CURRENCY
|
|
3069
3075
|
* @readonly
|
|
3070
3076
|
*/
|
|
3071
3077
|
currency?: string;
|
|
3072
3078
|
/**
|
|
3073
|
-
* The currency selected by the
|
|
3079
|
+
* 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.
|
|
3080
|
+
*
|
|
3081
|
+
* This reflects the customer’s preferred display currency and may differ from the site’s default currency.
|
|
3082
|
+
* When no specific currency is selected by the customer, this matches the `currency` property.
|
|
3074
3083
|
* @readonly
|
|
3075
3084
|
* @format CURRENCY
|
|
3076
3085
|
*/
|
|
@@ -3145,7 +3154,10 @@ interface UpdateCartOptions {
|
|
|
3145
3154
|
*/
|
|
3146
3155
|
businessLocationId?: string | null;
|
|
3147
3156
|
/**
|
|
3148
|
-
*
|
|
3157
|
+
* The currency used for payment, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
3158
|
+
*
|
|
3159
|
+
* 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.
|
|
3160
|
+
* 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.
|
|
3149
3161
|
* @readonly
|
|
3150
3162
|
* @format CURRENCY
|
|
3151
3163
|
*/
|