Class DiscountedPriceBuilder

java.lang.Object
com.commercetools.api.models.common.DiscountedPriceBuilder
All Implemented Interfaces:
Builder<DiscountedPrice>

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

     DiscountedPrice discountedPrice = DiscountedPrice.builder()
             .value(valueBuilder -> valueBuilder)
             .discount(discountBuilder -> discountBuilder)
             .build()