@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.
@@ -1042,7 +1042,9 @@ interface BusinessInfo {
1042
1042
  */
1043
1043
  languageCode?: string;
1044
1044
  /**
1045
- * The business’s default currency, represented as a three-letter ISO 4217 code.
1045
+ * The business’s default currency, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
1046
+ *
1047
+ * 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).
1046
1048
  * @format CURRENCY
1047
1049
  * @readonly
1048
1050
  */
@@ -1111,8 +1113,9 @@ interface CustomerInfo extends CustomerInfoIdOneOf {
1111
1113
  */
1112
1114
  languageCode?: string;
1113
1115
  /**
1114
- * Customer’s currency, represented as a three-letter ISO 4217 code.
1115
- * Resolved automatically from the request metadata ('x-wix-currency' header).
1116
+ * 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.
1117
+ *
1118
+ * This reflects the customer’s preferred display currency and may differ from the site’s default currency.
1116
1119
  * @format CURRENCY
1117
1120
  * @readonly
1118
1121
  */
@@ -1282,7 +1285,9 @@ interface PaymentInfo {
1282
1285
  */
1283
1286
  giftCards?: GiftCard[];
1284
1287
  /**
1285
- * The currency to pay with, represented as a three-letter ISO 4217 code.
1288
+ * The currency used for processing the payment, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
1289
+ *
1290
+ * 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.
1286
1291
  * @format CURRENCY
1287
1292
  * @readonly
1288
1293
  */
@@ -2798,7 +2803,8 @@ interface AddGiftCardRequest {
2798
2803
  * Gift card code.
2799
2804
  *
2800
2805
  * Currently only one is supported.
2801
- * @maxLength 50
2806
+ * @minLength 8
2807
+ * @maxLength 20
2802
2808
  */
2803
2809
  giftCardCode?: string;
2804
2810
  }