Class TextLineItemBuilder

java.lang.Object
com.commercetools.api.models.shopping_list.TextLineItemBuilder
All Implemented Interfaces:
Builder<TextLineItem>

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

     TextLineItem textLineItem = TextLineItem.builder()
             .addedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .id("{id}")
             .name(nameBuilder -> nameBuilder)
             .quantity(0.3)
             .build()