Class StagedOrderSetReturnItemCustomTypeActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<StagedOrderSetReturnItemCustomTypeAction>
Example to create an instance using the builder pattern
StagedOrderSetReturnItemCustomTypeAction stagedOrderSetReturnItemCustomTypeAction = StagedOrderSetReturnItemCustomTypeAction.builder()
.returnItemId("{returnItemId}")
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedOrderSetReturnItemCustomTypeAction with checking for non-null required valuesbuilds StagedOrderSetReturnItemCustomTypeAction without checking for non-null required valuesfields
(FieldContainer fields) Sets the Custom Fields fields for the ReturnItem.Sets the Custom Fields fields for the ReturnItem.Sets the Custom Fields fields for the ReturnItem.value of returnItemId}getType()
Defines the Type that extends the ReturnItem with Custom Fields.of()
factory method for an instance of StagedOrderSetReturnItemCustomTypeActionBuilderof
(StagedOrderSetReturnItemCustomTypeAction template) create builder for StagedOrderSetReturnItemCustomTypeAction instancereturnItemId
(String returnItemId) set the value to the returnItemIdtype
(TypeResourceIdentifier type) Defines the Type that extends the ReturnItem with Custom Fields.Defines the Type that extends the ReturnItem with Custom Fields.Sets the Custom Fields fields for the ReturnItem.Defines the Type that extends the ReturnItem with Custom Fields.
-
Constructor Details
-
StagedOrderSetReturnItemCustomTypeActionBuilder
-
-
Method Details
-
returnItemId
set the value to the returnItemId- Parameters:
returnItemId
- value to be set- Returns:
- Builder
-
type
public StagedOrderSetReturnItemCustomTypeActionBuilder type(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifierBuilder> builder) Defines the Type that extends the ReturnItem with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ReturnItem.
- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
withType
public StagedOrderSetReturnItemCustomTypeActionBuilder withType(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifier> builder) Defines the Type that extends the ReturnItem with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ReturnItem.
- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
type
Defines the Type that extends the ReturnItem with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ReturnItem.
- Parameters:
type
- value to be set- Returns:
- Builder
-
fields
public StagedOrderSetReturnItemCustomTypeActionBuilder fields(Function<FieldContainerBuilder, FieldContainerBuilder> builder) Sets the Custom Fields fields for the ReturnItem.
- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
withFields
public StagedOrderSetReturnItemCustomTypeActionBuilder withFields(Function<FieldContainerBuilder, FieldContainer> builder) Sets the Custom Fields fields for the ReturnItem.
- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
fields
Sets the Custom Fields fields for the ReturnItem.
- Parameters:
fields
- value to be set- Returns:
- Builder
-
getReturnItemId
value of returnItemId}- Returns:
- returnItemId
-
getType
Defines the Type that extends the ReturnItem with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ReturnItem.
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the ReturnItem.
- Returns:
- fields
-
build
builds StagedOrderSetReturnItemCustomTypeAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<StagedOrderSetReturnItemCustomTypeAction>
- Returns:
- StagedOrderSetReturnItemCustomTypeAction
-
buildUnchecked
builds StagedOrderSetReturnItemCustomTypeAction without checking for non-null required values- Returns:
- StagedOrderSetReturnItemCustomTypeAction
-
of
factory method for an instance of StagedOrderSetReturnItemCustomTypeActionBuilder- Returns:
- builder
-
of
public static StagedOrderSetReturnItemCustomTypeActionBuilder of(StagedOrderSetReturnItemCustomTypeAction template) create builder for StagedOrderSetReturnItemCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-