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 @@ -165,7 +165,9 @@ private fun FetchedStoreProfile.FormatsAndUnits.toUpdated(): UpdatedStoreProfile
timezone = timezone,
dimensionsUnit = dimensionsUnit?.toUpdated(),
orderNumberPrefix = orderNumberPrefix,
orderNumberSuffix = orderNumberSuffix
orderNumberSuffix = orderNumberSuffix,
orderNumberMinDigitsAmount = orderNumberMinDigitsAmount,
orderNumberNextNumber = orderNumberNextNumber,
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ data class UpdatedStoreProfile(
val timezone: String? = null,
val dimensionsUnit: DimensionUnit? = null,
val orderNumberPrefix: String? = null,
val orderNumberSuffix: String? = null
val orderNumberSuffix: String? = null,
val orderNumberMinDigitsAmount: Int? = null,
val orderNumberNextNumber: Int? = null,
)

enum class WeightUnit {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ data class FetchedStoreProfile(
val timezone: String? = null,
val dimensionsUnit: DimensionUnit? = null,
val orderNumberPrefix: String? = null,
val orderNumberSuffix: String? = null
val orderNumberSuffix: String? = null,
val orderNumberMinDigitsAmount: Int? = null,
val orderNumberNextNumber: Int? = null,
)

enum class WeightUnit {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::currencyTruncateZeroFractional),
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::dateFormat),
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::dimensionsUnit),
AllowNullable(FetchedStoreProfile.FormatsAndUnits::orderNumberMinDigitsAmount),
AllowNullable(FetchedStoreProfile.FormatsAndUnits::orderNumberNextNumber),
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::orderNumberPrefix),
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::orderNumberSuffix),
IgnoreNullable(FetchedStoreProfile.FormatsAndUnits::timeFormat),
Expand Down