@@ -14,7 +14,7 @@ data class ProductReviewSearchRequest(
1414 val productId : String? = null ,
1515 val orderId : String? = null ,
1616 val status : ProductReviewStatus ? = null ,
17- val rating : Int ? = null ,
17+ val rating : String ? = null ,
1818 val createdFrom : Instant ? = null ,
1919 val createdTo : Instant ? = null ,
2020 val updatedFrom : Instant ? = null ,
@@ -40,7 +40,7 @@ data class ProductReviewSearchRequest(
4040 request.productId?.let { put(" productId" , it) }
4141 request.orderId?.let { put(" orderId" , it) }
4242 request.status?.let { put(" status" , it.toString()) }
43- request.rating?.let { put(" rating" , it.toString() ) }
43+ request.rating?.let { put(" rating" , it) }
4444 request.createdFrom?.let { put(" createdFrom" , TimeUnit .MILLISECONDS .toSeconds(it.toEpochMilli()).toString()) }
4545 request.createdTo?.let { put(" createdTo" , TimeUnit .MILLISECONDS .toSeconds(it.toEpochMilli()).toString()) }
4646 request.updatedFrom?.let { put(" updatedFrom" , TimeUnit .MILLISECONDS .toSeconds(it.toEpochMilli()).toString()) }
0 commit comments