Skip to content

Commit 37d3a0f

Browse files
authored
Merge pull request #511 from Ecwid/ECWID-169977-Vuega-add-new-design-settings-to-migration
ECWID-169977 mapped new design settings
2 parents d15de57 + 0a93268 commit 37d3a0f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,12 @@ data class FetchedStoreProfile(
760760

761761
@JsonFieldName("product_details_show_image_alt_text_as_visible_description")
762762
val productDetailsShowAltTextAsVisibleAsDescription: Boolean? = null,
763+
764+
@JsonFieldName("product_filters_orientation_position")
765+
val productFiltersOrientationPosition: String? = null,
766+
767+
@JsonFieldName("product_list_swatches_product_option_behavior")
768+
val productListSwatchesProductOptionBehavior: String? = null,
763769
)
764770

765771
data class ProductFilterItem(

src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
173173
AllowNullable(FetchedStoreProfile.DesignSettings::swatchesProductOptionShape),
174174
AllowNullable(FetchedStoreProfile.DesignSettings::swatchesProductOptionSize),
175175
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowAltTextAsVisibleAsDescription),
176+
AllowNullable(FetchedStoreProfile.DesignSettings::productFiltersOrientationPosition),
177+
AllowNullable(FetchedStoreProfile.DesignSettings::productListSwatchesProductOptionBehavior),
176178
IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::enabled),
177179
IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::fbMessengerMessageUsButtonColor),
178180
IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::fbMessengerPageId),

0 commit comments

Comments
 (0)