Class CartDiscountValueGiftLineItemDraftBuilder

java.lang.Object
com.commercetools.api.models.cart_discount.CartDiscountValueGiftLineItemDraftBuilder
All Implemented Interfaces:
Builder<CartDiscountValueGiftLineItemDraft>

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

     CartDiscountValueGiftLineItemDraft cartDiscountValueGiftLineItemDraft = CartDiscountValueGiftLineItemDraft.builder()
             .product(productBuilder -> productBuilder)
             .variantId(0.3)
             .build()