Class ReviewStateTransitionMessagePayloadBuilder

java.lang.Object
com.commercetools.api.models.message.ReviewStateTransitionMessagePayloadBuilder
All Implemented Interfaces:
Builder<ReviewStateTransitionMessagePayload>

public class ReviewStateTransitionMessagePayloadBuilder extends Object implements Builder<ReviewStateTransitionMessagePayload>
ReviewStateTransitionMessagePayloadBuilder
Example to create an instance using the builder pattern

     ReviewStateTransitionMessagePayload reviewStateTransitionMessagePayload = ReviewStateTransitionMessagePayload.builder()
             .newState(newStateBuilder -> newStateBuilder)
             .oldIncludedInStatistics(true)
             .newIncludedInStatistics(true)
             .force(true)
             .build()