Skip to content

Commit 3a26b34

Browse files
committed
Add AllowNullable exceptions for new fields in FetchedStoreProfileRules.kt
1 parent 99f3d4a commit 3a26b34

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
8383
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsLayout),
8484
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionBreadcrumbs),
8585
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionBuyButton),
86-
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductDescription),
8786
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionDeliveryTime),
87+
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductDescription),
8888
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductName),
8989
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductOptions),
9090
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductPrice),
@@ -97,14 +97,14 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
9797
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowBreadcrumbs),
9898
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowBreadcrumbsPosition),
9999
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowBuyButton),
100+
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowDeliveryTime),
100101
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowFacebookShareButton),
101102
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowInStockLabel),
102103
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowNavigationArrows),
103104
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowNumberOfItemsInStock),
104105
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowPinterestShareButton),
105106
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowPricePerUnit),
106107
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductDescription),
107-
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowDeliveryTime),
108108
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductName),
109109
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductNameAlwaysFirstOnMobile),
110110
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductOptions),
@@ -157,6 +157,13 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
157157
AllowNullable(FetchedStoreProfile.DesignSettings::shoppingCartShowWeight),
158158
AllowNullable(FetchedStoreProfile.DesignSettings::showCartWidget),
159159
AllowNullable(FetchedStoreProfile.DesignSettings::showRootCategories),
160+
AllowNullable(FetchedStoreProfile.DesignSettings::cartWidgetIsResponsive),
161+
AllowNullable(FetchedStoreProfile.DesignSettings::checkoutShowAddressLine2),
162+
AllowNullable(FetchedStoreProfile.DesignSettings::checkoutShowStateInput),
163+
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowZoomedImageInGallery),
164+
AllowNullable(FetchedStoreProfile.DesignSettings::productListCategoryCellSpacing),
165+
AllowNullable(FetchedStoreProfile.DesignSettings::productListCellSpacing),
166+
AllowNullable(FetchedStoreProfile.DesignSettings::shoppingCartShowSku),
160167
IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::enabled),
161168
IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::fbMessengerMessageUsButtonColor),
162169
IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::fbMessengerPageId),

0 commit comments

Comments
 (0)