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()
.shipmentState(ShipmentState.SHIPPED)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedOrderChangeShipmentStateAction with checking for non-null required valuesbuilds StagedOrderChangeShipmentStateAction without checking for non-null required valuesNew shipment status of the Order.of()
factory method for an instance of StagedOrderChangeShipmentStateActionBuilderof
(StagedOrderChangeShipmentStateAction template) create builder for StagedOrderChangeShipmentStateAction instanceshipmentState
(ShipmentState shipmentState) New shipment status of the Order.
-
Constructor Details
-
StagedOrderChangeShipmentStateActionBuilder
public StagedOrderChangeShipmentStateActionBuilder()
-
-
Method Details
-
shipmentState
New shipment status of the Order.
- Parameters:
shipmentState
- value to be set- Returns:
- Builder
-
getShipmentState
New shipment status of the Order.
- 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
-