Class OrderLineItemDiscountSetMessagePayloadBuilder

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

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

     OrderLineItemDiscountSetMessagePayload orderLineItemDiscountSetMessagePayload = OrderLineItemDiscountSetMessagePayload.builder()
             .lineItemId("{lineItemId}")
             .plusDiscountedPricePerQuantity(discountedPricePerQuantityBuilder -> discountedPricePerQuantityBuilder)
             .totalPrice(totalPriceBuilder -> totalPriceBuilder)
             .plusTaxedPricePortions(taxedPricePortionsBuilder -> taxedPricePortionsBuilder)
             .build()