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