Class CustomLineItemStateTransitionMessageBuilder

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

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

     CustomLineItemStateTransitionMessage customLineItemStateTransitionMessage = CustomLineItemStateTransitionMessage.builder()
             .id("{id}")
             .version(0.3)
             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .sequenceNumber(0.3)
             .resource(resourceBuilder -> resourceBuilder)
             .resourceVersion(0.3)
             .customLineItemId("{customLineItemId}")
             .transitionDate(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .quantity(0.3)
             .fromState(fromStateBuilder -> fromStateBuilder)
             .toState(toStateBuilder -> toStateBuilder)
             .build()