Skip to content

Commit 11898ed

Browse files
committed
ECWID-150828 Product reviews: sort fields alphabetically in ProductReviewMassUpdate
1 parent 82a4b4e commit 11898ed

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/main/kotlin/com/ecwid/apiclient/v3/dto/productreview/request/ProductReviewMassUpdate.kt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ import com.ecwid.apiclient.v3.dto.productreview.enums.ProductReviewStatus
66
import java.time.Instant
77

88
data class ProductReviewMassUpdate(
9-
val reviewIds: List<Long>? = null,
10-
val selectMode: ProductReviewSelectMode? = null,
119
val delete: Boolean = false,
12-
val newStatus: ProductReviewStatus? = null,
1310
val filters: Filters? = null,
11+
val newStatus: ProductReviewStatus? = null,
12+
val reviewIds: List<Long>? = null,
13+
val selectMode: ProductReviewSelectMode? = null,
1414
val sendUpdateToReviewsService: Boolean? = null,
1515
) : ApiRequestDTO {
1616

1717
data class Filters(
18-
val reviewId: List<Long>? = null,
18+
val createdFrom: Instant? = null,
19+
val createdTo: Instant? = null,
1920
val productId: List<Long>? = null,
2021
val orderId: List<Long>? = null,
21-
val status: ProductReviewStatus? = null,
22+
val reviewId: List<Long>? = null,
2223
val rating: List<Int>? = null,
23-
val createdFrom: Instant? = null,
24-
val createdTo: Instant? = null,
2524
val searchKeyword: String? = null,
25+
val status: ProductReviewStatus? = null,
2626
)
2727
}

0 commit comments

Comments
 (0)