Class DirectDiscountBuilder

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

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

     DirectDiscount directDiscount = DirectDiscount.builder()
             .id("{id}")
             .value(valueBuilder -> valueBuilder)
             .build()