@wix/auto_sdk_ecom_current-cart-v-2 1.0.24 → 1.0.26
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.d.ts +11 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +11 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -5
- 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 +11 -5
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +11 -5
- 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 +11 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +11 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1085,7 +1085,9 @@ interface BusinessInfo {
|
|
|
1085
1085
|
*/
|
|
1086
1086
|
languageCode?: string;
|
|
1087
1087
|
/**
|
|
1088
|
-
* The business’s default currency,
|
|
1088
|
+
* The business’s default currency, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
1089
|
+
*
|
|
1090
|
+
* This represents the base currency configured for the site and remains constant regardless of the [customer’s currency selection](https://support.wix.com/en/article/multicurrency-an-overview).
|
|
1089
1091
|
* @format CURRENCY
|
|
1090
1092
|
* @readonly
|
|
1091
1093
|
*/
|
|
@@ -1154,8 +1156,9 @@ interface CustomerInfo extends CustomerInfoIdOneOf {
|
|
|
1154
1156
|
*/
|
|
1155
1157
|
languageCode?: string;
|
|
1156
1158
|
/**
|
|
1157
|
-
*
|
|
1158
|
-
*
|
|
1159
|
+
* 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.
|
|
1160
|
+
*
|
|
1161
|
+
* This reflects the customer’s preferred display currency and may differ from the site’s default currency.
|
|
1159
1162
|
* @format CURRENCY
|
|
1160
1163
|
* @readonly
|
|
1161
1164
|
*/
|
|
@@ -1325,7 +1328,9 @@ interface PaymentInfo {
|
|
|
1325
1328
|
*/
|
|
1326
1329
|
giftCards?: GiftCard[];
|
|
1327
1330
|
/**
|
|
1328
|
-
* The currency
|
|
1331
|
+
* The currency used for processing the payment, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
1332
|
+
*
|
|
1333
|
+
* This is determined by the customer’s selected currency and the site’s supported payment currencies. If the customer’s selected currency is supported for payment, this matches the `customerInfo.currencyCode` property. If not supported, this falls back to the `businessInfo.currencyCode` property.
|
|
1329
1334
|
* @format CURRENCY
|
|
1330
1335
|
* @readonly
|
|
1331
1336
|
*/
|
|
@@ -2843,7 +2848,8 @@ interface AddGiftCardRequest {
|
|
|
2843
2848
|
* Gift card code.
|
|
2844
2849
|
*
|
|
2845
2850
|
* Currently only one is supported.
|
|
2846
|
-
* @
|
|
2851
|
+
* @minLength 8
|
|
2852
|
+
* @maxLength 20
|
|
2847
2853
|
*/
|
|
2848
2854
|
giftCardCode?: string;
|
|
2849
2855
|
}
|