File tree Expand file tree Collapse file tree
main/kotlin/com/ecwid/apiclient/v3/dto/productreview/request
test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ data class ProductReviewSearchRequest(
1919 val createdTo : Instant ? = null ,
2020 val updatedFrom : Instant ? = null ,
2121 val updatedTo : Instant ? = null ,
22+ val searchKeyword : String? = null ,
2223 val sortBy : ProductReviewSortOrder ? = null ,
2324 val limit : Int = 100 ,
2425 override val offset : Int = 0 ,
@@ -44,6 +45,7 @@ data class ProductReviewSearchRequest(
4445 request.createdTo?.let { put(" createdTo" , TimeUnit .MILLISECONDS .toSeconds(it.toEpochMilli()).toString()) }
4546 request.updatedFrom?.let { put(" updatedFrom" , TimeUnit .MILLISECONDS .toSeconds(it.toEpochMilli()).toString()) }
4647 request.updatedTo?.let { put(" updatedTo" , TimeUnit .MILLISECONDS .toSeconds(it.toEpochMilli()).toString()) }
48+ request.searchKeyword?.let { put(" searchKeyword" , it) }
4749 request.sortBy?.let { put(" sortBy" , it.name) }
4850 put(" offset" , request.offset.toString())
4951 put(" limit" , request.limit.toString())
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ val productReviewSearchRequestNullablePropertyRules: List<NullablePropertyRule<*
1111 AllowNullable (ProductReviewSearchRequest ::productId),
1212 AllowNullable (ProductReviewSearchRequest ::rating),
1313 AllowNullable (ProductReviewSearchRequest ::reviewId),
14+ AllowNullable (ProductReviewSearchRequest ::searchKeyword),
1415 AllowNullable (ProductReviewSearchRequest ::sortBy),
1516 AllowNullable (ProductReviewSearchRequest ::status),
1617 AllowNullable (ProductReviewSearchRequest ::updatedFrom),
You can’t perform that action at this time.
0 commit comments