Class CustomLineItemDraftBuilder

java.lang.Object
com.commercetools.importapi.models.orders.CustomLineItemDraftBuilder
All Implemented Interfaces:
Builder<CustomLineItemDraft>

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

     CustomLineItemDraft customLineItemDraft = CustomLineItemDraft.builder()
             .name(nameBuilder -> nameBuilder)
             .money(moneyBuilder -> moneyBuilder)
             .totalPrice(totalPriceBuilder -> totalPriceBuilder)
             .slug("{slug}")
             .quantity(0.3)
             .build()