@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.
@@ -1065,7 +1065,9 @@ interface BusinessInfo {
1065
1065
  */
1066
1066
  languageCode?: string;
1067
1067
  /**
1068
- * The business’s default currency, represented as a three-letter ISO 4217 code.
1068
+ * The business’s default currency, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
1069
+ *
1070
+ * 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).
1069
1071
  * @format CURRENCY
1070
1072
  * @readonly
1071
1073
  */
@@ -1134,8 +1136,9 @@ interface CustomerInfo extends CustomerInfoIdOneOf {
1134
1136
  */
1135
1137
  languageCode?: string;
1136
1138
  /**
1137
- * Customer’s currency, represented as a three-letter ISO 4217 code.
1138
- * Resolved automatically from the request metadata ('x-wix-currency' header).
1139
+ * 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.
1140
+ *
1141
+ * This reflects the customer’s preferred display currency and may differ from the site’s default currency.
1139
1142
  * @format CURRENCY
1140
1143
  * @readonly
1141
1144
  */
@@ -1305,7 +1308,9 @@ interface PaymentInfo {
1305
1308
  */
1306
1309
  giftCards?: GiftCard[];
1307
1310
  /**
1308
- * The currency to pay with, represented as a three-letter ISO 4217 code.
1311
+ * The currency used for processing the payment, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
1312
+ *
1313
+ * 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.
1309
1314
  * @format CURRENCY
1310
1315
  * @readonly
1311
1316
  */
@@ -2826,7 +2831,8 @@ interface AddGiftCardRequest {
2826
2831
  * Gift card code.
2827
2832
  *
2828
2833
  * Currently only one is supported.
2829
- * @maxLength 50
2834
+ * @minLength 8
2835
+ * @maxLength 20
2830
2836
  */
2831
2837
  giftCardCode?: string;
2832
2838
  }