Skip to content

Commit 291477b

Browse files
authored
Merge pull request #197 from Ecwid/delivery_time_design
add fields to FetchedStoreProfile for delivery time feature
2 parents e181182 + 90a8b48 commit 291477b

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
@@ -492,6 +492,12 @@ data class FetchedStoreProfile(
492492
@JsonFieldName("product_details_position_buy_button")
493493
val productDetailsPositionBuyButton: Int? = null,
494494

495+
@JsonFieldName("product_details_position_delivery_time")
496+
val productDetailsPositionDeliveryTime: Int? = null,
497+
498+
@JsonFieldName("product_details_show_delivery_time")
499+
val productDetailsShowDeliveryTime: Boolean? = null,
500+
495501
@JsonFieldName("product_details_position_product_description")
496502
val productDetailsPositionProductDescription: Int? = null,
497503

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
@@ -84,6 +84,7 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
8484
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionBreadcrumbs),
8585
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionBuyButton),
8686
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductDescription),
87+
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionDeliveryTime),
8788
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductName),
8889
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductOptions),
8990
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductPrice),
@@ -103,6 +104,7 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
103104
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowPinterestShareButton),
104105
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowPricePerUnit),
105106
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductDescription),
107+
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowDeliveryTime),
106108
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductName),
107109
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductNameAlwaysFirstOnMobile),
108110
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductOptions),

0 commit comments

Comments
 (0)