Class OrderEditSetKeyActionBuilder
java.lang.Object
com.commercetools.api.models.order_edit.OrderEditSetKeyActionBuilder
- All Implemented Interfaces:
Builder<OrderEditSetKeyAction>
OrderEditSetKeyActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderEditSetKeyAction orderEditSetKeyAction = OrderEditSetKeyAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderEditSetKeyAction with checking for non-null required valuesbuilds OrderEditSetKeyAction without checking for non-null required valuesgetKey()
Value to set.Value to set.static OrderEditSetKeyActionBuilder
of()
factory method for an instance of OrderEditSetKeyActionBuilderstatic OrderEditSetKeyActionBuilder
of
(OrderEditSetKeyAction template) create builder for OrderEditSetKeyAction instance
-
Constructor Details
-
OrderEditSetKeyActionBuilder
public OrderEditSetKeyActionBuilder()
-
-
Method Details
-
key
Value to set. If empty, any existing value will be removed.
- Parameters:
key
- value to be set- Returns:
- Builder
-
getKey
Value to set. If empty, any existing value will be removed.
- Returns:
- key
-
build
builds OrderEditSetKeyAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderEditSetKeyAction>
- Returns:
- OrderEditSetKeyAction
-
buildUnchecked
builds OrderEditSetKeyAction without checking for non-null required values- Returns:
- OrderEditSetKeyAction
-
of
factory method for an instance of OrderEditSetKeyActionBuilder- Returns:
- builder
-
of
create builder for OrderEditSetKeyAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-