@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
|
*/
|
|
@@ -3064,13 +3072,16 @@ interface UpdateCartOptions {
|
|
|
3064
3072
|
/** Buyer information. */
|
|
3065
3073
|
buyerInfo?: BuyerInfo;
|
|
3066
3074
|
/**
|
|
3067
|
-
* The site
|
|
3075
|
+
* 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
3076
|
* @format CURRENCY
|
|
3069
3077
|
* @readonly
|
|
3070
3078
|
*/
|
|
3071
3079
|
currency?: string;
|
|
3072
3080
|
/**
|
|
3073
|
-
* The currency selected by the
|
|
3081
|
+
* 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.
|
|
3082
|
+
*
|
|
3083
|
+
* This reflects the customer’s preferred display currency and may differ from the site’s default currency.
|
|
3084
|
+
* When no specific currency is selected by the customer, this matches the `currency` property.
|
|
3074
3085
|
* @readonly
|
|
3075
3086
|
* @format CURRENCY
|
|
3076
3087
|
*/
|
|
@@ -3137,6 +3148,8 @@ interface UpdateCartOptions {
|
|
|
3137
3148
|
purchaseFlowId?: string | null;
|
|
3138
3149
|
/** Selected shipping option. */
|
|
3139
3150
|
selectedShippingOption?: SelectedShippingOption;
|
|
3151
|
+
/** Fields extended by data extensions */
|
|
3152
|
+
extendedFields?: ExtendedFields;
|
|
3140
3153
|
/**
|
|
3141
3154
|
* The business location ID associated with the cart.
|
|
3142
3155
|
*
|
|
@@ -3145,7 +3158,10 @@ interface UpdateCartOptions {
|
|
|
3145
3158
|
*/
|
|
3146
3159
|
businessLocationId?: string | null;
|
|
3147
3160
|
/**
|
|
3148
|
-
*
|
|
3161
|
+
* The currency used for payment, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
3162
|
+
*
|
|
3163
|
+
* 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.
|
|
3164
|
+
* 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
3165
|
* @readonly
|
|
3150
3166
|
* @format CURRENCY
|
|
3151
3167
|
*/
|