Class AgentResponsesQuoteRequestSuccessBuilder
- All Implemented Interfaces:
Builder<AgentResponsesQuoteRequestSuccess>
Example to create an instance using the builder pattern
AgentResponsesQuoteRequestSuccess agentResponsesQuoteRequestSuccess = AgentResponsesQuoteRequestSuccess.builder()
.threadId("{threadId}")
.entity(entityBuilder -> entityBuilder)
.cartId("{cartId}")
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds AgentResponsesQuoteRequestSuccess with checking for non-null required valuesbuilds AgentResponsesQuoteRequestSuccess without checking for non-null required valuesidof the underlying Cart.entity(QuoteRequest entity) The created QuoteRequest in full commercetools REST representation.entity(Function<QuoteRequestBuilder, QuoteRequestBuilder> builder) The created QuoteRequest in full commercetools REST representation.idof the underlying Cart.The created QuoteRequest in full commercetools REST representation.Identifier of the workflow run that produced this response.Non-fatal issues encountered while processing the request.of()factory method for an instance of AgentResponsesQuoteRequestSuccessBuilderof(AgentResponsesQuoteRequestSuccess template) create builder for AgentResponsesQuoteRequestSuccess instanceplusWarnings(WarningObject... warnings) Non-fatal issues encountered while processing the request.plusWarnings(Function<WarningObjectBuilder, Builder<? extends WarningObject>> builder) Non-fatal issues encountered while processing the request.Identifier of the workflow run that produced this response.warnings(WarningObject... warnings) Non-fatal issues encountered while processing the request.warnings(List<WarningObject> warnings) Non-fatal issues encountered while processing the request.withEntity(Function<QuoteRequestBuilder, QuoteRequest> builder) The created QuoteRequest in full commercetools REST representation.withWarnings(Function<WarningObjectBuilder, Builder<? extends WarningObject>> builder) Non-fatal issues encountered while processing the request.
-
Constructor Details
-
AgentResponsesQuoteRequestSuccessBuilder
public AgentResponsesQuoteRequestSuccessBuilder()
-
-
Method Details
-
warnings
Non-fatal issues encountered while processing the request. Present only when at least one warning is returned.
- Parameters:
warnings- value to be set- Returns:
- Builder
-
warnings
Non-fatal issues encountered while processing the request. Present only when at least one warning is returned.
- Parameters:
warnings- value to be set- Returns:
- Builder
-
plusWarnings
Non-fatal issues encountered while processing the request. Present only when at least one warning is returned.
- Parameters:
warnings- value to be set- Returns:
- Builder
-
plusWarnings
public AgentResponsesQuoteRequestSuccessBuilder plusWarnings(Function<WarningObjectBuilder, Builder<? extends WarningObject>> builder) Non-fatal issues encountered while processing the request. Present only when at least one warning is returned.
- Parameters:
builder- function to build the warnings value- Returns:
- Builder
-
withWarnings
public AgentResponsesQuoteRequestSuccessBuilder withWarnings(Function<WarningObjectBuilder, Builder<? extends WarningObject>> builder) Non-fatal issues encountered while processing the request. Present only when at least one warning is returned.
- Parameters:
builder- function to build the warnings value- Returns:
- Builder
-
threadId
Identifier of the workflow run that produced this response.
- Parameters:
threadId- value to be set- Returns:
- Builder
-
entity
public AgentResponsesQuoteRequestSuccessBuilder entity(Function<QuoteRequestBuilder, QuoteRequestBuilder> builder) The created QuoteRequest in full commercetools REST representation.
- Parameters:
builder- function to build the entity value- Returns:
- Builder
-
withEntity
public AgentResponsesQuoteRequestSuccessBuilder withEntity(Function<QuoteRequestBuilder, QuoteRequest> builder) The created QuoteRequest in full commercetools REST representation.
- Parameters:
builder- function to build the entity value- Returns:
- Builder
-
entity
The created QuoteRequest in full commercetools REST representation.
- Parameters:
entity- value to be set- Returns:
- Builder
-
cartId
idof the underlying Cart.- Parameters:
cartId- value to be set- Returns:
- Builder
-
getWarnings
Non-fatal issues encountered while processing the request. Present only when at least one warning is returned.
- Returns:
- warnings
-
getThreadId
Identifier of the workflow run that produced this response.
- Returns:
- threadId
-
getEntity
The created QuoteRequest in full commercetools REST representation.
- Returns:
- entity
-
getCartId
idof the underlying Cart.- Returns:
- cartId
-
build
builds AgentResponsesQuoteRequestSuccess with checking for non-null required values- Specified by:
buildin interfaceBuilder<AgentResponsesQuoteRequestSuccess>- Returns:
- AgentResponsesQuoteRequestSuccess
-
buildUnchecked
builds AgentResponsesQuoteRequestSuccess without checking for non-null required values- Returns:
- AgentResponsesQuoteRequestSuccess
-
of
factory method for an instance of AgentResponsesQuoteRequestSuccessBuilder- Returns:
- builder
-
of
public static AgentResponsesQuoteRequestSuccessBuilder of(AgentResponsesQuoteRequestSuccess template) create builder for AgentResponsesQuoteRequestSuccess instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-