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