Class StagedOrderSetCustomerIdActionBuilder
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderSetCustomerIdActionBuilder
- All Implemented Interfaces:
Builder<StagedOrderSetCustomerIdAction>
public class StagedOrderSetCustomerIdActionBuilder
extends Object
implements Builder<StagedOrderSetCustomerIdAction>
StagedOrderSetCustomerIdActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderSetCustomerIdAction stagedOrderSetCustomerIdAction = StagedOrderSetCustomerIdAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedOrderSetCustomerIdAction with checking for non-null required valuesbuilds StagedOrderSetCustomerIdAction without checking for non-null required valuescustomerId
(String customerId) id
of an existing Customer.id
of an existing Customer.of()
factory method for an instance of StagedOrderSetCustomerIdActionBuilderof
(StagedOrderSetCustomerIdAction template) create builder for StagedOrderSetCustomerIdAction instance
-
Constructor Details
-
StagedOrderSetCustomerIdActionBuilder
public StagedOrderSetCustomerIdActionBuilder()
-
-
Method Details
-
customerId
id
of an existing Customer. If empty, any existing value is removed.- Parameters:
customerId
- value to be set- Returns:
- Builder
-
getCustomerId
id
of an existing Customer. If empty, any existing value is removed.- Returns:
- customerId
-
build
builds StagedOrderSetCustomerIdAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<StagedOrderSetCustomerIdAction>
- Returns:
- StagedOrderSetCustomerIdAction
-
buildUnchecked
builds StagedOrderSetCustomerIdAction without checking for non-null required values- Returns:
- StagedOrderSetCustomerIdAction
-
of
factory method for an instance of StagedOrderSetCustomerIdActionBuilder- Returns:
- builder
-
of
create builder for StagedOrderSetCustomerIdAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-