Skip to content

Commit bcc7cf1

Browse files
authored
Merge pull request #502 from Ecwid/ECWID-166984-Add-missing-fields-to-ecwid-api-client
ECWID-166984 added missing design properties
2 parents b7053b3 + 282593f commit bcc7cf1

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,15 @@ data class FetchedStoreProfile(
751751

752752
@JsonFieldName("show_signin_link_with_unified_account_page")
753753
val showSigninLinkWithUnifiedAccountPage: Boolean? = null,
754+
755+
@JsonFieldName("swatches_product_option_shape")
756+
val swatchesProductOptionShape: String? = null,
757+
758+
@JsonFieldName("swatches_product_option_size")
759+
val swatchesProductOptionSize: String? = null,
760+
761+
@JsonFieldName("product_details_show_image_alt_text_as_visible_description")
762+
val productDetailsShowAltTextAsVisibleAsDescription: Boolean? = null,
754763
)
755764

756765
data class ProductFilterItem(

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
170170
AllowNullable(FetchedStoreProfile.DesignSettings::showCartWidget),
171171
AllowNullable(FetchedStoreProfile.DesignSettings::showRootCategories),
172172
AllowNullable(FetchedStoreProfile.DesignSettings::showSigninLinkWithUnifiedAccountPage),
173+
AllowNullable(FetchedStoreProfile.DesignSettings::swatchesProductOptionShape),
174+
AllowNullable(FetchedStoreProfile.DesignSettings::swatchesProductOptionSize),
175+
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowAltTextAsVisibleAsDescription),
173176
IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::enabled),
174177
IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::fbMessengerMessageUsButtonColor),
175178
IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::fbMessengerPageId),

0 commit comments

Comments
 (0)