Skip to content

Commit

Permalink
ECWID-133812 Added missing fields for product reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
kitty-ecwid committed Jan 29, 2024
1 parent 6c4d753 commit 73b0ad9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import java.util.*
import java.util.concurrent.TimeUnit

data class ProductReviewsSearchRequest(
val reviewId: Int? = null,
val productId: Int? = null,
val orderId: Int? = null,
val reviewId: Long? = null,
val productId: Long? = null,
val orderId: Long? = null,
val status: ProductReviewStatus? = null,
val createdFrom: Date? = null,
val createdTo: Date? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ import java.util.*
data class FetchedProductReview(
val id: Long? = null,
val productId: Long? = null,
val productName: String? = null,
val customerId: Long? = null,
val orderId: Long? = null,
val orderNumber: String? = null,
val orderItemId: Long? = null,
val status: ProductReviewStatus? = null,
val rating: Int? = null,
val review: String? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ val fetchedProductReviewNullablePropertyRules: List<NullablePropertyRule<*, *>>
AllowNullable(FetchedProductReview::customerId),
AllowNullable(FetchedProductReview::id),
AllowNullable(FetchedProductReview::orderId),
AllowNullable(FetchedProductReview::orderItemId),
AllowNullable(FetchedProductReview::orderNumber),
AllowNullable(FetchedProductReview::productId),
AllowNullable(FetchedProductReview::productName),
AllowNullable(FetchedProductReview::rating),
AllowNullable(FetchedProductReview::review),
AllowNullable(FetchedProductReview::reviewerInfo),
Expand Down

0 comments on commit 73b0ad9

Please sign in to comment.