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