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

    Interface ReviewStateTransitionMessagePayload

    Generated after a successful Transition State update action.

    interface ReviewStateTransitionMessagePayload {
        force: boolean;
        newIncludedInStatistics: boolean;
        newState: StateReference;
        oldIncludedInStatistics: boolean;
        oldState?: StateReference;
        target?: Reference;
        type: "ReviewStateTransition";
    }

    Hierarchy (View Summary)

    Index

    Properties

    force: boolean

    Whether State transition validations were turned off during the Transition State update action.

    newIncludedInStatistics: boolean

    Whether the new Review was taken into account in the rating statistics of the target after the state transition.

    newState: StateReference

    State of the Review after the Transition State update action.

    oldIncludedInStatistics: boolean

    Whether the old Review was taken into account in the rating statistics of the target before the state transition.

    oldState?: StateReference

    State of the Review before the Transition State update action.

    target?: Reference

    Reference to the resource that the Review belongs to.

    type: "ReviewStateTransition"