Class OrderLineItemRemovedMessageBuilder

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

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

     OrderLineItemRemovedMessage orderLineItemRemovedMessage = OrderLineItemRemovedMessage.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)
             .lineItemId("{lineItemId}")
             .removedQuantity(0.3)
             .newQuantity(0.3)
             .plusNewState(newStateBuilder -> newStateBuilder)
             .newTotalPrice(newTotalPriceBuilder -> newTotalPriceBuilder)
             .build()