Class DiscountedLineItemPortionBuilder

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

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

     DiscountedLineItemPortion discountedLineItemPortion = DiscountedLineItemPortion.builder()
             .discount(discountBuilder -> discountBuilder)
             .discountedAmount(discountedAmountBuilder -> discountedAmountBuilder)
             .build()
 
  • Constructor Details

    • DiscountedLineItemPortionBuilder

      public DiscountedLineItemPortionBuilder()
  • Method Details