Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,9 @@ data class FetchedStoreProfile(
@JsonFieldName("cart_widget_icon")
val cartWidgetIcon: String? = null,

@JsonFieldName("cart_widget_is_responsive")
val cartWidgetIsResponsive: Boolean? = null,

@JsonFieldName("cart_widget_layout")
val cartWidgetLayout: String? = null,

Expand All @@ -470,6 +473,12 @@ data class FetchedStoreProfile(
@JsonFieldName("checkout_products_collapsed_on_mobile")
val checkoutProductsCollapsedOnMobile: Boolean? = null,

@JsonFieldName("checkout_show_address_line_2")
val checkoutShowAddressLine2: Boolean? = null,

@JsonFieldName("checkout_show_state_input")
val checkoutShowStateInput: Boolean? = null,

@JsonFieldName("enable_catalog_on_one_page")
val enableCatalogOnOnePage: Boolean? = null,

Expand Down Expand Up @@ -515,9 +524,6 @@ data class FetchedStoreProfile(
@JsonFieldName("product_details_position_delivery_time")
val productDetailsPositionDeliveryTime: Int? = null,

@JsonFieldName("product_details_show_delivery_time")
val productDetailsShowDeliveryTime: Boolean? = null,

@JsonFieldName("product_details_position_product_description")
val productDetailsPositionProductDescription: Int? = null,

Expand Down Expand Up @@ -557,6 +563,9 @@ data class FetchedStoreProfile(
@JsonFieldName("product_details_show_buy_button")
val productDetailsShowBuyButton: Boolean? = null,

@JsonFieldName("product_details_show_delivery_time")
val productDetailsShowDeliveryTime: Boolean? = null,

@JsonFieldName("product_details_show_facebook_share_button")
val productDetailsShowFacebookShareButton: Boolean? = null,

Expand Down Expand Up @@ -626,6 +635,9 @@ data class FetchedStoreProfile(
@JsonFieldName("product_details_show_wholesale_prices")
val productDetailsShowWholesalePrices: Boolean? = null,

@JsonFieldName("product_details_show_zoomed_image_in_gallery")
val productDetailsShowZoomedImageInGallery: Boolean? = null,

@JsonFieldName("product_details_thumbnails_aspect_ratio")
val productDetailsThumbnailsAspectRatio: String? = null,

Expand All @@ -647,6 +659,12 @@ data class FetchedStoreProfile(
@JsonFieldName("product_list_buybutton_behavior")
val productListBuyNowBehaviour: String? = null,

@JsonFieldName("product_list_product_info_layout")
val productListCardLayout: String? = null,

@JsonFieldName("product_list_category_cell_spacing")
val productListCategoryCellSpacing: Int? = null,

@JsonFieldName("product_list_category_image_aspect_ratio")
val productListCategoryImageLayout: String? = null,

Expand All @@ -659,23 +677,29 @@ data class FetchedStoreProfile(
@JsonFieldName("product_list_category_title_behavior")
val productListCategoryNameBehaviour: String? = null,

@JsonFieldName("product_list_image_aspect_ratio")
val productListImageLayout: String? = null,
@JsonFieldName("product_list_cell_spacing")
val productListCellSpacing: Int? = null,

@JsonFieldName("product_list_image_has_shadow")
val productListImageHasShadow: Boolean? = null,

@JsonFieldName("product_list_image_aspect_ratio")
val productListImageLayout: String? = null,

@JsonFieldName("product_list_image_position")
val productListImagePosition: String? = null,

@JsonFieldName("product_list_image_size")
val productListImageSize: String? = null,

@JsonFieldName("product_list_title_behavior")
val productListNameBehaviour: String? = null,

@JsonFieldName("product_list_price_behavior")
val productListPriceBehaviour: String? = null,

@JsonFieldName("product_list_product_info_layout")
val productListCardLayout: String? = null,
@JsonFieldName("product_list_sku_behavior")
val productListSKUBehaviour: String? = null,

@JsonFieldName("product_list_show_additional_image_on_hover")
val productListShowAdditionalImage: Boolean? = null,
Expand Down Expand Up @@ -707,22 +731,19 @@ data class FetchedStoreProfile(
@JsonFieldName("product_list_show_sort_viewas_options")
val productListShowSortViewAsOptions: Boolean? = null,

@JsonFieldName("product_list_sku_behavior")
val productListSKUBehaviour: String? = null,

@JsonFieldName("product_list_subtitles_behavior")
val productListSubtitlesBehavior: String? = null,

@JsonFieldName("product_list_title_behavior")
val productListNameBehaviour: String? = null,

@JsonFieldName("shopping_cart_products_collapsed_on_desktop")
val shoppingCartProductsCollapsedOnDesktop: Boolean? = null,

@JsonFieldName("shopping_cart_products_collapsed_on_mobile")
val shoppingCartProductsCollapsedOnMobile: Boolean? = null,

@JsonFieldName("shopping_cart_show_qty_inputs_on_mobile")
@JsonFieldName("shopping_cart_show_sku")
val shoppingCartShowSku: Boolean? = null,

@JsonFieldName("shopping_cart_show_qty_inputs")
val shoppingCartShowQtyInputs: Boolean? = null,

@JsonFieldName("shopping_cart_show_weight")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsLayout),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionBreadcrumbs),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionBuyButton),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductDescription),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionDeliveryTime),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductDescription),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductName),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductOptions),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductPrice),
Expand All @@ -97,14 +97,14 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowBreadcrumbs),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowBreadcrumbsPosition),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowBuyButton),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowDeliveryTime),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowFacebookShareButton),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowInStockLabel),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowNavigationArrows),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowNumberOfItemsInStock),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowPinterestShareButton),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowPricePerUnit),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductDescription),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowDeliveryTime),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductName),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductNameAlwaysFirstOnMobile),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductOptions),
Expand Down Expand Up @@ -157,6 +157,13 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
AllowNullable(FetchedStoreProfile.DesignSettings::shoppingCartShowWeight),
AllowNullable(FetchedStoreProfile.DesignSettings::showCartWidget),
AllowNullable(FetchedStoreProfile.DesignSettings::showRootCategories),
AllowNullable(FetchedStoreProfile.DesignSettings::cartWidgetIsResponsive),
AllowNullable(FetchedStoreProfile.DesignSettings::checkoutShowAddressLine2),
AllowNullable(FetchedStoreProfile.DesignSettings::checkoutShowStateInput),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowZoomedImageInGallery),
AllowNullable(FetchedStoreProfile.DesignSettings::productListCategoryCellSpacing),
AllowNullable(FetchedStoreProfile.DesignSettings::productListCellSpacing),
AllowNullable(FetchedStoreProfile.DesignSettings::shoppingCartShowSku),
IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::enabled),
IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::fbMessengerMessageUsButtonColor),
IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::fbMessengerPageId),
Expand Down