Class StagedOrderSetCustomTypeActionBuilder
- All Implemented Interfaces:
Builder<StagedOrderSetCustomTypeAction>
Example to create an instance using the builder pattern
StagedOrderSetCustomTypeAction stagedOrderSetCustomTypeAction = StagedOrderSetCustomTypeAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds StagedOrderSetCustomTypeAction with checking for non-null required valuesbuilds StagedOrderSetCustomTypeAction without checking for non-null required valuesfields(FieldContainer fields) Object containing the Custom Fields fields for the Order Edit.Object containing the Custom Fields fields for the Order Edit.Object containing 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 StagedOrderSetCustomTypeActionBuilderof(StagedOrderSetCustomTypeAction template) create builder for StagedOrderSetCustomTypeAction 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.Object containing the Custom Fields fields for the Order Edit.Defines the Type that extends the Order Edit with Custom Fields.
-
Constructor Details
-
StagedOrderSetCustomTypeActionBuilder
public StagedOrderSetCustomTypeActionBuilder()
-
-
Method Details
-
type
public StagedOrderSetCustomTypeActionBuilder 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 StagedOrderSetCustomTypeActionBuilder 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 StagedOrderSetCustomTypeActionBuilder fields(Function<FieldContainerBuilder, FieldContainerBuilder> builder) Object containing the Custom Fields fields for the Order Edit.
Required if at least one Custom Field is defined as required in the
fieldDefinitionsof the referenced Type.- Parameters:
builder- function to build the fields value- Returns:
- Builder
-
withFields
public StagedOrderSetCustomTypeActionBuilder withFields(Function<FieldContainerBuilder, FieldContainer> builder) Object containing the Custom Fields fields for the Order Edit.
Required if at least one Custom Field is defined as required in the
fieldDefinitionsof the referenced Type.- Parameters:
builder- function to build the fields value- Returns:
- Builder
-
fields
Object containing the Custom Fields fields for the Order Edit.
Required if at least one Custom Field is defined as required in the
fieldDefinitionsof the referenced Type.- 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
Object containing the Custom Fields fields for the Order Edit.
Required if at least one Custom Field is defined as required in the
fieldDefinitionsof the referenced Type.- Returns:
- fields
-
build
builds StagedOrderSetCustomTypeAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<StagedOrderSetCustomTypeAction>- Returns:
- StagedOrderSetCustomTypeAction
-
buildUnchecked
builds StagedOrderSetCustomTypeAction without checking for non-null required values- Returns:
- StagedOrderSetCustomTypeAction
-
of
factory method for an instance of StagedOrderSetCustomTypeActionBuilder- Returns:
- builder
-
of
create builder for StagedOrderSetCustomTypeAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-