diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/converter/FetchedStoreProfile.kt b/src/main/kotlin/com/ecwid/apiclient/v3/converter/FetchedStoreProfile.kt index e9449e3a..840f8131 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/converter/FetchedStoreProfile.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/converter/FetchedStoreProfile.kt @@ -424,6 +424,7 @@ fun FetchedStoreProfile.DesignSettings.toUpdated(): UpdatedStoreProfile.DesignSe productListImageSize = productListImageSize, productListNameBehaviour = productListNameBehaviour, productListPriceBehaviour = productListPriceBehaviour, + productListShowPriceRanges = productListShowPriceRanges, productListRatingSectionBehavior = productListRatingSectionBehavior, productListSKUBehaviour = productListSKUBehaviour, productListShowAdditionalImage = productListShowAdditionalImage, diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/request/UpdatedStoreProfile.kt b/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/request/UpdatedStoreProfile.kt index 09121701..8b9c0b30 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/request/UpdatedStoreProfile.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/request/UpdatedStoreProfile.kt @@ -591,6 +591,9 @@ data class UpdatedStoreProfile( @JsonFieldName("product_list_price_behavior") val productListPriceBehaviour: String? = null, + @JsonFieldName("product_list_show_price_ranges") + val productListShowPriceRanges: Boolean? = null, + @JsonFieldName("product_list_rating_section_behavior") val productListRatingSectionBehavior: String? = null, diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt b/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt index 3078f51d..ad158ce9 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt @@ -691,6 +691,9 @@ data class FetchedStoreProfile( @JsonFieldName("product_list_price_behavior") val productListPriceBehaviour: String? = null, + @JsonFieldName("product_list_show_price_ranges") + val productListShowPriceRanges: Boolean? = null, + @JsonFieldName("product_list_rating_section_behavior") val productListRatingSectionBehavior: String? = null, diff --git a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt index 737f5be2..3b0295d4 100644 --- a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt +++ b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt @@ -149,6 +149,7 @@ val fetchedStoreProfileNullablePropertyRules: List> = AllowNullable(FetchedStoreProfile.DesignSettings::productListImageSize), AllowNullable(FetchedStoreProfile.DesignSettings::productListNameBehaviour), AllowNullable(FetchedStoreProfile.DesignSettings::productListPriceBehaviour), + AllowNullable(FetchedStoreProfile.DesignSettings::productListShowPriceRanges), AllowNullable(FetchedStoreProfile.DesignSettings::productListRatingSectionBehavior), AllowNullable(FetchedStoreProfile.DesignSettings::productListSKUBehaviour), AllowNullable(FetchedStoreProfile.DesignSettings::productListShowAdditionalImage),