Class DiscountOnTotalPriceBuilder

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

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

     DiscountOnTotalPrice discountOnTotalPrice = DiscountOnTotalPrice.builder()
             .discountedAmount(discountedAmountBuilder -> discountedAmountBuilder)
             .plusIncludedDiscounts(includedDiscountsBuilder -> includedDiscountsBuilder)
             .build()