@wix/auto_sdk_ecom_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.
@@ -1084,7 +1084,9 @@ interface BusinessInfo {
1084
1084
  */
1085
1085
  languageCode?: string;
1086
1086
  /**
1087
- * The business’s default currency, represented as a three-letter ISO 4217 code.
1087
+ * The business’s default currency, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
1088
+ *
1089
+ * 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).
1088
1090
  * @format CURRENCY
1089
1091
  * @readonly
1090
1092
  */
@@ -1153,8 +1155,9 @@ interface CustomerInfo extends CustomerInfoIdOneOf {
1153
1155
  */
1154
1156
  languageCode?: string;
1155
1157
  /**
1156
- * Customer’s currency, represented as a three-letter ISO 4217 code.
1157
- * Resolved automatically from the request metadata ('x-wix-currency' header).
1158
+ * 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.
1159
+ *
1160
+ * This reflects the customer’s preferred display currency and may differ from the site’s default currency.
1158
1161
  * @format CURRENCY
1159
1162
  * @readonly
1160
1163
  */
@@ -1324,7 +1327,9 @@ interface PaymentInfo {
1324
1327
  */
1325
1328
  giftCards?: GiftCard[];
1326
1329
  /**
1327
- * The currency to pay with, represented as a three-letter ISO 4217 code.
1330
+ * The currency used for processing the payment, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
1331
+ *
1332
+ * 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.
1328
1333
  * @format CURRENCY
1329
1334
  * @readonly
1330
1335
  */
@@ -2842,7 +2847,8 @@ interface AddGiftCardRequest {
2842
2847
  * Gift card code.
2843
2848
  *
2844
2849
  * Currently only one is supported.
2845
- * @maxLength 50
2850
+ * @minLength 8
2851
+ * @maxLength 20
2846
2852
  */
2847
2853
  giftCardCode: string;
2848
2854
  }