Skip to content

Commit d5fbdf1

Browse files
authored
Merge pull request #401 from Ecwid/ECWID-138287
ECWID-138287 Product Reviews: separate list of options from product name
2 parents 7ca13e8 + d0a6cca commit d5fbdf1

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/kotlin/com/ecwid/apiclient/v3/dto/productreview/result/FetchedProductReview.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ data class FetchedProductReview(
99
val id: Long? = null,
1010
val productId: Long? = null,
1111
val productName: String? = null,
12+
val productOptions: List<String>? = null,
1213
val customerId: Long? = null,
1314
val orderId: Long? = null,
1415
val orderNumber: String? = null,

src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedProductReviewRules.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ val fetchedProductReviewNullablePropertyRules: List<NullablePropertyRule<*, *>>
1414
AllowNullable(FetchedProductReview::orderNumber),
1515
AllowNullable(FetchedProductReview::productId),
1616
AllowNullable(FetchedProductReview::productName),
17+
AllowNullable(FetchedProductReview::productOptions),
1718
AllowNullable(FetchedProductReview::rating),
1819
AllowNullable(FetchedProductReview::review),
1920
AllowNullable(FetchedProductReview::reviewerInfo),

0 commit comments

Comments
 (0)