Class StagedQuoteBuilder

java.lang.Object
com.commercetools.api.models.staged_quote.StagedQuoteBuilder
All Implemented Interfaces:
Builder<StagedQuote>

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

     StagedQuote stagedQuote = StagedQuote.builder()
             .id("{id}")
             .version(0.3)
             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .stagedQuoteState(StagedQuoteState.IN_PROGRESS)
             .quoteRequest(quoteRequestBuilder -> quoteRequestBuilder)
             .quotationCart(quotationCartBuilder -> quotationCartBuilder)
             .build()