Class DiscountedLineItemPortionDraftBuilder

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

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

     DiscountedLineItemPortionDraft discountedLineItemPortionDraft = DiscountedLineItemPortionDraft.builder()
             .discount(discountBuilder -> discountBuilder)
             .discountedAmount(discountedAmountBuilder -> discountedAmountBuilder)
             .build()