Skip to content

Commit 82a4b4e

Browse files
committed
ECWID-150828 Product reviews: added temporary sendUpdateToReviewsService field to ProductReviewMassUpdate
1 parent de4559d commit 82a4b4e

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ data class ProductReviewMassUpdate(
1111
val delete: Boolean = false,
1212
val newStatus: ProductReviewStatus? = null,
1313
val filters: Filters? = null,
14+
val sendUpdateToReviewsService: Boolean? = null,
1415
) : ApiRequestDTO {
1516

1617
data class Filters(
@@ -22,5 +23,5 @@ data class ProductReviewMassUpdate(
2223
val createdFrom: Instant? = null,
2324
val createdTo: Instant? = null,
2425
val searchKeyword: String? = null,
25-
)
26+
)
2627
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ val productReviewMassUpdateRequestNullablePropertyRules: List<NullablePropertyRu
1717
AllowNullable(ProductReviewMassUpdate::newStatus),
1818
AllowNullable(ProductReviewMassUpdate::reviewIds),
1919
AllowNullable(ProductReviewMassUpdate::selectMode),
20+
AllowNullable(ProductReviewMassUpdate::sendUpdateToReviewsService),
2021
)

0 commit comments

Comments
 (0)