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