Class StagedOrderSetPurchaseOrderNumberActionBuilder
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderSetPurchaseOrderNumberActionBuilder
- All Implemented Interfaces:
Builder<StagedOrderSetPurchaseOrderNumberAction>
public class StagedOrderSetPurchaseOrderNumberActionBuilder
extends Object
implements Builder<StagedOrderSetPurchaseOrderNumberAction>
StagedOrderSetPurchaseOrderNumberActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderSetPurchaseOrderNumberAction stagedOrderSetPurchaseOrderNumberAction = StagedOrderSetPurchaseOrderNumberAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedOrderSetPurchaseOrderNumberAction with checking for non-null required valuesbuilds StagedOrderSetPurchaseOrderNumberAction without checking for non-null required valuesValue to set.of()
factory method for an instance of StagedOrderSetPurchaseOrderNumberActionBuilderof
(StagedOrderSetPurchaseOrderNumberAction template) create builder for StagedOrderSetPurchaseOrderNumberAction instancepurchaseOrderNumber
(String purchaseOrderNumber) Value to set.
-
Constructor Details
-
StagedOrderSetPurchaseOrderNumberActionBuilder
public StagedOrderSetPurchaseOrderNumberActionBuilder()
-
-
Method Details
-
purchaseOrderNumber
public StagedOrderSetPurchaseOrderNumberActionBuilder purchaseOrderNumber(@Nullable String purchaseOrderNumber) Value to set.
- Parameters:
purchaseOrderNumber
- value to be set- Returns:
- Builder
-
getPurchaseOrderNumber
Value to set.
- Returns:
- purchaseOrderNumber
-
build
builds StagedOrderSetPurchaseOrderNumberAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<StagedOrderSetPurchaseOrderNumberAction>
- Returns:
- StagedOrderSetPurchaseOrderNumberAction
-
buildUnchecked
builds StagedOrderSetPurchaseOrderNumberAction without checking for non-null required values- Returns:
- StagedOrderSetPurchaseOrderNumberAction
-
of
factory method for an instance of StagedOrderSetPurchaseOrderNumberActionBuilder- Returns:
- builder
-
of
public static StagedOrderSetPurchaseOrderNumberActionBuilder of(StagedOrderSetPurchaseOrderNumberAction template) create builder for StagedOrderSetPurchaseOrderNumberAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-