Class StagedOrderSetOrderNumberActionBuilder
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderSetOrderNumberActionBuilder
- All Implemented Interfaces:
Builder<StagedOrderSetOrderNumberAction>
public class StagedOrderSetOrderNumberActionBuilder
extends Object
implements Builder<StagedOrderSetOrderNumberAction>
StagedOrderSetOrderNumberActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderSetOrderNumberAction stagedOrderSetOrderNumberAction = StagedOrderSetOrderNumberAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedOrderSetOrderNumberAction with checking for non-null required valuesbuilds StagedOrderSetOrderNumberAction without checking for non-null required valuesValue to set.of()
factory method for an instance of StagedOrderSetOrderNumberActionBuilderof
(StagedOrderSetOrderNumberAction template) create builder for StagedOrderSetOrderNumberAction instanceorderNumber
(String orderNumber) Value to set.
-
Constructor Details
-
StagedOrderSetOrderNumberActionBuilder
public StagedOrderSetOrderNumberActionBuilder()
-
-
Method Details
-
orderNumber
Value to set. Must be unique across a Project. Once set, the value cannot be changed.
- Parameters:
orderNumber
- value to be set- Returns:
- Builder
-
getOrderNumber
Value to set. Must be unique across a Project. Once set, the value cannot be changed.
- Returns:
- orderNumber
-
build
builds StagedOrderSetOrderNumberAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<StagedOrderSetOrderNumberAction>
- Returns:
- StagedOrderSetOrderNumberAction
-
buildUnchecked
builds StagedOrderSetOrderNumberAction without checking for non-null required values- Returns:
- StagedOrderSetOrderNumberAction
-
of
factory method for an instance of StagedOrderSetOrderNumberActionBuilder- Returns:
- builder
-
of
create builder for StagedOrderSetOrderNumberAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-