Interface CartDiscountValueGiftLineItemDraft

All Superinterfaces:
CartDiscountValueDraft, Draft<CartDiscountValueGiftLineItemDraft>

public interface CartDiscountValueGiftLineItemDraft extends CartDiscountValueDraft, Draft<CartDiscountValueGiftLineItemDraft>

Can only be used in a CartDiscountDraft with no target specified. Hence, this type can not be used in the Change Value update action.


Example to create an instance using the builder pattern

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