Class OrderSetOrderNumberActionBuilder
java.lang.Object
com.commercetools.api.models.order.OrderSetOrderNumberActionBuilder
- All Implemented Interfaces:
Builder<OrderSetOrderNumberAction>
public class OrderSetOrderNumberActionBuilder
extends Object
implements Builder<OrderSetOrderNumberAction>
OrderSetOrderNumberActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSetOrderNumberAction orderSetOrderNumberAction = OrderSetOrderNumberAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderSetOrderNumberAction with checking for non-null required valuesbuilds OrderSetOrderNumberAction without checking for non-null required valuesValue to set.of()
factory method for an instance of OrderSetOrderNumberActionBuilderof
(OrderSetOrderNumberAction template) create builder for OrderSetOrderNumberAction instanceorderNumber
(String orderNumber) Value to set.
-
Constructor Details
-
OrderSetOrderNumberActionBuilder
public OrderSetOrderNumberActionBuilder()
-
-
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 OrderSetOrderNumberAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderSetOrderNumberAction>
- Returns:
- OrderSetOrderNumberAction
-
buildUnchecked
builds OrderSetOrderNumberAction without checking for non-null required values- Returns:
- OrderSetOrderNumberAction
-
of
factory method for an instance of OrderSetOrderNumberActionBuilder- Returns:
- builder
-
of
create builder for OrderSetOrderNumberAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-