Skip to content

Commit e8c59ed

Browse files
ECWID-170912 Move hideCategoryBlockShowAllEnabledProducts to Instant Site Editor - add hideCategoryBlockShowAllEnabledProducts to update profile dto
1 parent 8ff0a40 commit e8c59ed

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/request/UpdatedStoreProfile.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import com.ecwid.apiclient.v3.dto.common.LocalizedValueMap
66
import com.ecwid.apiclient.v3.dto.common.ProductCondition
77
import com.ecwid.apiclient.v3.dto.profile.enums.ProductFilterType
88
import com.ecwid.apiclient.v3.dto.profile.result.FetchedStoreProfile
9+
import com.ecwid.apiclient.v3.jsontransformer.JsonFieldName
910

1011
data class UpdatedStoreProfile(
1112
val generalInfo: GeneralInfo? = null,
@@ -20,6 +21,7 @@ data class UpdatedStoreProfile(
2021
val zones: List<Zone>? = null,
2122
val businessRegistrationID: BusinessRegistrationID? = null,
2223
val legalPagesSettings: LegalPagesSettingsDetails? = null,
24+
val designSettings: DesignSettings? = null,
2325
val productFiltersSettings: ProductFiltersSettings? = null,
2426
val orderInvoiceSettings: OrderInvoiceSettings? = null
2527
) : ApiUpdatedDTO {
@@ -274,6 +276,11 @@ data class UpdatedStoreProfile(
274276
}
275277
}
276278

279+
data class DesignSettings(
280+
@JsonFieldName("hide_category_block_show_all_enabled_products")
281+
val hideCategoryBlockShowAllEnabledProducts: Boolean? = null,
282+
)
283+
277284
data class ProductFilterItem(
278285
val name: String? = null,
279286
val type: ProductFilterType = ProductFilterType.IN_STOCK,

0 commit comments

Comments
 (0)