From d0a6ccaa48fef42d745cd2b7a738ba713c54e617 Mon Sep 17 00:00:00 2001 From: kitty Date: Tue, 16 Apr 2024 17:49:29 +0400 Subject: [PATCH] ECWID-138287 Product Reviews: separate list of options from product name --- .../v3/dto/productreview/result/FetchedProductReview.kt | 1 + .../v3/rule/nullablepropertyrules/FetchedProductReviewRules.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/dto/productreview/result/FetchedProductReview.kt b/src/main/kotlin/com/ecwid/apiclient/v3/dto/productreview/result/FetchedProductReview.kt index 1bbec6a6..318d9939 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/dto/productreview/result/FetchedProductReview.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/dto/productreview/result/FetchedProductReview.kt @@ -9,6 +9,7 @@ data class FetchedProductReview( val id: Long? = null, val productId: Long? = null, val productName: String? = null, + val productOptions: List? = null, val customerId: Long? = null, val orderId: Long? = null, val orderNumber: String? = null, diff --git a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedProductReviewRules.kt b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedProductReviewRules.kt index 1000cd58..f49b48cd 100644 --- a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedProductReviewRules.kt +++ b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedProductReviewRules.kt @@ -14,6 +14,7 @@ val fetchedProductReviewNullablePropertyRules: List> AllowNullable(FetchedProductReview::orderNumber), AllowNullable(FetchedProductReview::productId), AllowNullable(FetchedProductReview::productName), + AllowNullable(FetchedProductReview::productOptions), AllowNullable(FetchedProductReview::rating), AllowNullable(FetchedProductReview::review), AllowNullable(FetchedProductReview::reviewerInfo),