Skip to content

Commit

Permalink
ECWID-154657 - Add askAgeConfirmationInStorefront field to FetchedPro…
Browse files Browse the repository at this point in the history
…file.Settings
  • Loading branch information
Timoti11 committed Feb 6, 2025
1 parent 0e287cf commit 1f7af75
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ fun FetchedStoreProfile.Settings.toUpdated(): UpdatedStoreProfile.Settings {
storeDescriptionTranslated = storeDescriptionTranslated,
storeName = storeName,
tikTokPixel = tikTokPixel?.toUpdated(),
askAgeConfirmationInStorefront = askAgeConfirmationInStorefront,
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ data class UpdatedStoreProfile(
val storeDescriptionTranslated: LocalizedValueMap? = null,
val storeName: String? = null,
val tikTokPixel: TikTokPixelSettings? = null,
val askAgeConfirmationInStorefront: Boolean? = null,
)

data class TikTokPixelSettings(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ data class FetchedStoreProfile(
val storeDescriptionTranslated: LocalizedValueMap? = null,
val storeName: String? = null,
val tikTokPixel: TikTokPixelSettings? = null,
val askAgeConfirmationInStorefront: Boolean = false,
)

data class TikTokPixelSettings(
Expand Down

0 comments on commit 1f7af75

Please sign in to comment.