Class QuoteRequestSetCustomTypeActionBuilder
- All Implemented Interfaces:
Builder<QuoteRequestSetCustomTypeAction>
Example to create an instance using the builder pattern
QuoteRequestSetCustomTypeAction quoteRequestSetCustomTypeAction = QuoteRequestSetCustomTypeAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds QuoteRequestSetCustomTypeAction with checking for non-null required valuesbuilds QuoteRequestSetCustomTypeAction without checking for non-null required valuesfields
(FieldContainer fields) Sets the Custom Fields fields for the QuoteRequest.Sets the Custom Fields fields for the QuoteRequest.Sets the Custom Fields fields for the QuoteRequest.getType()
Defines the Type that extends the QuoteRequest with Custom Fields.of()
factory method for an instance of QuoteRequestSetCustomTypeActionBuilderof
(QuoteRequestSetCustomTypeAction template) create builder for QuoteRequestSetCustomTypeAction instancetype
(TypeResourceIdentifier type) Defines the Type that extends the QuoteRequest with Custom Fields.Defines the Type that extends the QuoteRequest with Custom Fields.Sets the Custom Fields fields for the QuoteRequest.Defines the Type that extends the QuoteRequest with Custom Fields.
-
Constructor Details
-
QuoteRequestSetCustomTypeActionBuilder
public QuoteRequestSetCustomTypeActionBuilder()
-
-
Method Details
-
type
public QuoteRequestSetCustomTypeActionBuilder type(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifierBuilder> builder) Defines the Type that extends the QuoteRequest with Custom Fields. If absent, any existing Type and Custom Fields are removed from the QuoteRequest.
- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
withType
public QuoteRequestSetCustomTypeActionBuilder withType(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifier> builder) Defines the Type that extends the QuoteRequest with Custom Fields. If absent, any existing Type and Custom Fields are removed from the QuoteRequest.
- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
type
Defines the Type that extends the QuoteRequest with Custom Fields. If absent, any existing Type and Custom Fields are removed from the QuoteRequest.
- Parameters:
type
- value to be set- Returns:
- Builder
-
fields
public QuoteRequestSetCustomTypeActionBuilder fields(Function<FieldContainerBuilder, FieldContainerBuilder> builder) Sets the Custom Fields fields for the QuoteRequest.
- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
withFields
public QuoteRequestSetCustomTypeActionBuilder withFields(Function<FieldContainerBuilder, FieldContainer> builder) Sets the Custom Fields fields for the QuoteRequest.
- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
fields
Sets the Custom Fields fields for the QuoteRequest.
- Parameters:
fields
- value to be set- Returns:
- Builder
-
getType
Defines the Type that extends the QuoteRequest with Custom Fields. If absent, any existing Type and Custom Fields are removed from the QuoteRequest.
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the QuoteRequest.
- Returns:
- fields
-
build
builds QuoteRequestSetCustomTypeAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<QuoteRequestSetCustomTypeAction>
- Returns:
- QuoteRequestSetCustomTypeAction
-
buildUnchecked
builds QuoteRequestSetCustomTypeAction without checking for non-null required values- Returns:
- QuoteRequestSetCustomTypeAction
-
of
factory method for an instance of QuoteRequestSetCustomTypeActionBuilder- Returns:
- builder
-
of
create builder for QuoteRequestSetCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-