Class DirectDiscountDraftBuilder

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

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

     DirectDiscountDraft directDiscountDraft = DirectDiscountDraft.builder()
             .value(valueBuilder -> valueBuilder)
             .build()