Class OrderEditSetKeyActionBuilder
java.lang.Object
com.commercetools.api.models.order_edit.OrderEditSetKeyActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<OrderEditSetKeyAction>
public class OrderEditSetKeyActionBuilder
extends Object
implements io.vrap.rmf.base.client.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()
Ifkey
is absent ornull
, this field will be removed if it exists.Ifkey
is absent ornull
, this field will be removed if it exists.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
If
key
is absent ornull
, this field will be removed if it exists.- Parameters:
key
- value to be set- Returns:
- Builder
-
getKey
If
key
is absent ornull
, this field will be removed if it exists.- Returns:
- key
-
build
builds OrderEditSetKeyAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<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
-