Class StagedOrderRemoveCustomLineItemActionBuilder
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderRemoveCustomLineItemActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<StagedOrderRemoveCustomLineItemAction>
public class StagedOrderRemoveCustomLineItemActionBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<StagedOrderRemoveCustomLineItemAction>
StagedOrderRemoveCustomLineItemActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderRemoveCustomLineItemAction stagedOrderRemoveCustomLineItemAction = StagedOrderRemoveCustomLineItemAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedOrderRemoveCustomLineItemAction with checking for non-null required valuesbuilds StagedOrderRemoveCustomLineItemAction without checking for non-null required valuescustomLineItemId
(String customLineItemId) id
of the CustomLineItem to update.customLineItemKey
(String customLineItemKey) key
of the CustomLineItem to update.id
of the CustomLineItem to update.key
of the CustomLineItem to update.of()
factory method for an instance of StagedOrderRemoveCustomLineItemActionBuilderof
(StagedOrderRemoveCustomLineItemAction template) create builder for StagedOrderRemoveCustomLineItemAction instance
-
Constructor Details
-
StagedOrderRemoveCustomLineItemActionBuilder
public StagedOrderRemoveCustomLineItemActionBuilder()
-
-
Method Details
-
customLineItemId
public StagedOrderRemoveCustomLineItemActionBuilder customLineItemId(@Nullable String customLineItemId) id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Parameters:
customLineItemId
- value to be set- Returns:
- Builder
-
customLineItemKey
public StagedOrderRemoveCustomLineItemActionBuilder customLineItemKey(@Nullable String customLineItemKey) key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Parameters:
customLineItemKey
- value to be set- Returns:
- Builder
-
getCustomLineItemId
id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Returns:
- customLineItemId
-
getCustomLineItemKey
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Returns:
- customLineItemKey
-
build
builds StagedOrderRemoveCustomLineItemAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<StagedOrderRemoveCustomLineItemAction>
- Returns:
- StagedOrderRemoveCustomLineItemAction
-
buildUnchecked
builds StagedOrderRemoveCustomLineItemAction without checking for non-null required values- Returns:
- StagedOrderRemoveCustomLineItemAction
-
of
factory method for an instance of StagedOrderRemoveCustomLineItemActionBuilder- Returns:
- builder
-
of
public static StagedOrderRemoveCustomLineItemActionBuilder of(StagedOrderRemoveCustomLineItemAction template) create builder for StagedOrderRemoveCustomLineItemAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-