Class StagedOrderChangeShipmentStateActionBuilder
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderChangeShipmentStateActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<StagedOrderChangeShipmentStateAction>
public class StagedOrderChangeShipmentStateActionBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<StagedOrderChangeShipmentStateAction>
StagedOrderChangeShipmentStateActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderChangeShipmentStateAction stagedOrderChangeShipmentStateAction = StagedOrderChangeShipmentStateAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedOrderChangeShipmentStateAction with checking for non-null required valuesbuilds StagedOrderChangeShipmentStateAction without checking for non-null required valuesvalue of shipmentState}of()
factory method for an instance of StagedOrderChangeShipmentStateActionBuilderof
(StagedOrderChangeShipmentStateAction template) create builder for StagedOrderChangeShipmentStateAction instanceshipmentState
(ShipmentState shipmentState) set the value to the shipmentState
-
Constructor Details
-
StagedOrderChangeShipmentStateActionBuilder
-
-
Method Details
-
shipmentState
public StagedOrderChangeShipmentStateActionBuilder shipmentState(@Nullable ShipmentState shipmentState) set the value to the shipmentState- Parameters:
shipmentState
- value to be set- Returns:
- Builder
-
getShipmentState
value of shipmentState}- Returns:
- shipmentState
-
build
builds StagedOrderChangeShipmentStateAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<StagedOrderChangeShipmentStateAction>
- Returns:
- StagedOrderChangeShipmentStateAction
-
buildUnchecked
builds StagedOrderChangeShipmentStateAction without checking for non-null required values- Returns:
- StagedOrderChangeShipmentStateAction
-
of
factory method for an instance of StagedOrderChangeShipmentStateActionBuilder- Returns:
- builder
-
of
public static StagedOrderChangeShipmentStateActionBuilder of(StagedOrderChangeShipmentStateAction template) create builder for StagedOrderChangeShipmentStateAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-