@gradientedge/commercetools-utils
    Preparing search index...

    Interface ReviewRatingSetMessagePayload

    Generated after a successful Set Rating update action.

    interface ReviewRatingSetMessagePayload {
        includedInStatistics: boolean;
        newRating?: number;
        oldRating?: number;
        target?: Reference;
        type: "ReviewRatingSet";
    }

    Hierarchy (View Summary)

    Index

    Properties

    includedInStatistics: boolean

    Whether the Review was taken into account in the ratings statistics of the target.

    newRating?: number

    The rating of the Review after the Set Rating update action.

    oldRating?: number

    The rating of the Review before the Set Rating update action.

    target?: Reference

    Reference to the resource that the Review belongs to.

    type: "ReviewRatingSet"