Class OrderLineItemRemovedMessagePayloadBuilder

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

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

     OrderLineItemRemovedMessagePayload orderLineItemRemovedMessagePayload = OrderLineItemRemovedMessagePayload.builder()
             .lineItemId("{lineItemId}")
             .removedQuantity(0.3)
             .newQuantity(0.3)
             .plusNewState(newStateBuilder -> newStateBuilder)
             .newTotalPrice(newTotalPriceBuilder -> newTotalPriceBuilder)
             .build()