Class OrderSetReturnItemCustomTypeActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<OrderSetReturnItemCustomTypeAction>
Example to create an instance using the builder pattern
OrderSetReturnItemCustomTypeAction orderSetReturnItemCustomTypeAction = OrderSetReturnItemCustomTypeAction.builder()
.returnItemId("{returnItemId}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderSetReturnItemCustomTypeAction with checking for non-null required valuesbuilds OrderSetReturnItemCustomTypeAction 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 OrderSetReturnItemCustomTypeActionBuilderof
(OrderSetReturnItemCustomTypeAction template) create builder for OrderSetReturnItemCustomTypeAction 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
-
OrderSetReturnItemCustomTypeActionBuilder
-
-
Method Details
-
returnItemId
set the value to the returnItemId- Parameters:
returnItemId
- value to be set- Returns:
- Builder
-
type
public OrderSetReturnItemCustomTypeActionBuilder 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 OrderSetReturnItemCustomTypeActionBuilder 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 OrderSetReturnItemCustomTypeActionBuilder 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 OrderSetReturnItemCustomTypeActionBuilder 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 OrderSetReturnItemCustomTypeAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<OrderSetReturnItemCustomTypeAction>
- Returns:
- OrderSetReturnItemCustomTypeAction
-
buildUnchecked
builds OrderSetReturnItemCustomTypeAction without checking for non-null required values- Returns:
- OrderSetReturnItemCustomTypeAction
-
of
factory method for an instance of OrderSetReturnItemCustomTypeActionBuilder- Returns:
- builder
-
of
public static OrderSetReturnItemCustomTypeActionBuilder of(OrderSetReturnItemCustomTypeAction template) create builder for OrderSetReturnItemCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-