@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.
@@ -1085,7 +1085,9 @@ interface BusinessInfo {
1085
1085
  */
1086
1086
  languageCode?: string;
1087
1087
  /**
1088
- * The business’s default currency, represented as a three-letter ISO 4217 code.
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
- * Customer’s currency, represented as a three-letter ISO 4217 code.
1158
- * Resolved automatically from the request metadata ('x-wix-currency' header).
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 to pay with, represented as a three-letter ISO 4217 code.
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
- * @maxLength 50
2851
+ * @minLength 8
2852
+ * @maxLength 20
2847
2853
  */
2848
2854
  giftCardCode?: string;
2849
2855
  }