Skip to content

Commit

Permalink
Merge pull request #431 from Ecwid/ECWID-148213
Browse files Browse the repository at this point in the history
ECWID-148213 - added new properties to to FetchedStoreProfile class
  • Loading branch information
harutyunyan-tigran authored Sep 2, 2024
2 parents 85df958 + a94cb11 commit 2df1e71
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,9 @@ data class FetchedStoreProfile(
@JsonFieldName("product_details_position_product_price")
val productDetailsPositionProductPrice: Int? = null,

@JsonFieldName("product_details_position_product_loyalty")
val productDetailsPositionProductLoyalty: Int? = null,

@JsonFieldName("product_details_position_product_sku")
val productDetailsPositionProductSku: Int? = null,

Expand Down Expand Up @@ -667,6 +670,9 @@ data class FetchedStoreProfile(
@JsonFieldName("product_details_show_product_price")
val productDetailsShowProductPrice: Boolean? = null,

@JsonFieldName("product_details_show_product_loyalty")
val productDetailsShowProductLoyalty: Boolean? = null,

@JsonFieldName("product_details_show_product_sku")
val productDetailsShowProductSku: Boolean? = null,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductName),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductOptions),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductPrice),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductLoyalty),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductSku),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionSaveForLater),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionShareButtons),
Expand All @@ -113,6 +114,7 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductOptions),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductPhotoZoom),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductPrice),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductLoyalty),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductSku),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowQty),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowSalePrice),
Expand Down

0 comments on commit 2df1e71

Please sign in to comment.