Class DiscountedTotalPricePortionBuilder

java.lang.Object
com.commercetools.api.models.cart.DiscountedTotalPricePortionBuilder
All Implemented Interfaces:
Builder<DiscountedTotalPricePortion>

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

     DiscountedTotalPricePortion discountedTotalPricePortion = DiscountedTotalPricePortion.builder()
             .discount(discountBuilder -> discountBuilder)
             .discountedAmount(discountedAmountBuilder -> discountedAmountBuilder)
             .build()