Class DiscountedPriceDraftBuilder

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

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

     DiscountedPriceDraft discountedPriceDraft = DiscountedPriceDraft.builder()
             .value(valueBuilder -> valueBuilder)
             .discount(discountBuilder -> discountBuilder)
             .build()