Skip to content
Closed
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 @@ -204,6 +204,7 @@ fun FetchedStoreProfile.FormatsAndUnits.toUpdated(): UpdatedStoreProfile.Formats
dateFormat = dateFormat,
timeFormat = timeFormat,
timezone = timezone,
timezoneOffsetInMinutes = timezoneOffsetInMinutes,
dimensionsUnit = dimensionsUnit?.toUpdated(),
volumeUnit = volumeUnit.toUpdated(),
orderNumberPrefix = orderNumberPrefix,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ data class UpdatedStoreProfile(
val dateFormat: String? = null,
val timeFormat: String? = null,
val timezone: String? = null,
val timezoneOffsetInMinutes: Int? = null,
val dimensionsUnit: DimensionUnit? = null,
val volumeUnit: VolumeUnit? = null,
val orderNumberPrefix: String? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ data class FetchedStoreProfile(
val dateFormat: String? = null,
val timeFormat: String? = null,
val timezone: String? = null,
val timezoneOffsetInMinutes: Int? = null,
val dimensionsUnit: DimensionUnit? = null,
val volumeUnit: VolumeUnit = VolumeUnit.ML,
val orderNumberPrefix: String? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class StoreProfileTest : BaseEntityTest() {
dateFormat = "yyyy/MM/dd",
timeFormat = "HH:mm:ss",
timezone = "timezone",
timezoneOffsetInMinutes = 1234567,
dimensionsUnit = UpdatedStoreProfile.DimensionUnit.MM,
volumeUnit = UpdatedStoreProfile.VolumeUnit.L,
orderNumberPrefix = "orderNumberPrefix",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::orderNumberSuffix),
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::timeFormat),
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::timezone),
AllowNullable(FetchedStoreProfile.FormatsAndUnits::timezoneOffsetInMinutes),
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::weightDecimalSeparator),
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::weightGroupSeparator),
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::weightPrecision),
Expand Down
Loading