Skip to content

Commit 2df1e71

Browse files
Merge pull request #431 from Ecwid/ECWID-148213
ECWID-148213 - added new properties to to FetchedStoreProfile class
2 parents 85df958 + a94cb11 commit 2df1e71

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

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
@@ -601,6 +601,9 @@ data class FetchedStoreProfile(
601601
@JsonFieldName("product_details_position_product_price")
602602
val productDetailsPositionProductPrice: Int? = null,
603603

604+
@JsonFieldName("product_details_position_product_loyalty")
605+
val productDetailsPositionProductLoyalty: Int? = null,
606+
604607
@JsonFieldName("product_details_position_product_sku")
605608
val productDetailsPositionProductSku: Int? = null,
606609

@@ -667,6 +670,9 @@ data class FetchedStoreProfile(
667670
@JsonFieldName("product_details_show_product_price")
668671
val productDetailsShowProductPrice: Boolean? = null,
669672

673+
@JsonFieldName("product_details_show_product_loyalty")
674+
val productDetailsShowProductLoyalty: Boolean? = null,
675+
670676
@JsonFieldName("product_details_show_product_sku")
671677
val productDetailsShowProductSku: Boolean? = null,
672678

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
@@ -91,6 +91,7 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
9191
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductName),
9292
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductOptions),
9393
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductPrice),
94+
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductLoyalty),
9495
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductSku),
9596
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionSaveForLater),
9697
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionShareButtons),
@@ -113,6 +114,7 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
113114
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductOptions),
114115
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductPhotoZoom),
115116
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductPrice),
117+
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductLoyalty),
116118
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductSku),
117119
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowQty),
118120
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowSalePrice),

0 commit comments

Comments
 (0)