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 @@ -12,6 +12,7 @@ fun FetchedProduct.toUpdated(): UpdatedProduct {
description = description,
descriptionTranslated = descriptionTranslated,
sku = sku,
customSlug = customSlug,

enabled = enabled,
quantity = quantity,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ data class UpdatedProduct(
val description: String? = null,
val descriptionTranslated: LocalizedValueMap? = null,
val sku: String? = null,
val customSlug: String? = null,
val isSampleProduct: Boolean? = null,

val enabled: Boolean? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ data class FetchedProduct(
val sku: String = "",
val isSampleProduct: Boolean? = null,
val url: String? = null,
val customSlug: String? = null,

val created: Date = Date(),
val createTimestamp: Int = 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ val fetchedProductNullablePropertyRules: List<NullablePropertyRule<*, *>> = list
IgnoreNullable(FetchedProduct::tax),
IgnoreNullable(FetchedProduct::unlimited),
IgnoreNullable(FetchedProduct::url),
AllowNullable(FetchedProduct::customSlug),
IgnoreNullable(FetchedProduct::warningLimit),
IgnoreNullable(FetchedProduct::weight),
IgnoreNullable(FetchedProduct::wholesalePrices),
Expand Down