Class DiscountedLineItemPortionBuilder

java.lang.Object
com.commercetools.history.models.common.DiscountedLineItemPortionBuilder
All Implemented Interfaces:
Builder<DiscountedLineItemPortion>

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

     DiscountedLineItemPortion discountedLineItemPortion = DiscountedLineItemPortion.builder()
             .discount(discountBuilder -> discountBuilder)
             .discountedAmount(discountedAmountBuilder -> discountedAmountBuilder)
             .build()