Class CustomerSetExternalIdActionBuilder
java.lang.Object
com.commercetools.api.models.customer.CustomerSetExternalIdActionBuilder
- All Implemented Interfaces:
Builder<CustomerSetExternalIdAction>
public class CustomerSetExternalIdActionBuilder
extends Object
implements Builder<CustomerSetExternalIdAction>
CustomerSetExternalIdActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerSetExternalIdAction customerSetExternalIdAction = CustomerSetExternalIdAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerSetExternalIdAction with checking for non-null required valuesbuilds CustomerSetExternalIdAction without checking for non-null required valuesexternalId
(String externalId) Value to set.Value to set.of()
factory method for an instance of CustomerSetExternalIdActionBuilderof
(CustomerSetExternalIdAction template) create builder for CustomerSetExternalIdAction instance
-
Constructor Details
-
CustomerSetExternalIdActionBuilder
public CustomerSetExternalIdActionBuilder()
-
-
Method Details
-
externalId
Value to set. If empty, any existing value is removed.
- Parameters:
externalId
- value to be set- Returns:
- Builder
-
getExternalId
Value to set. If empty, any existing value is removed.
- Returns:
- externalId
-
build
builds CustomerSetExternalIdAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerSetExternalIdAction>
- Returns:
- CustomerSetExternalIdAction
-
buildUnchecked
builds CustomerSetExternalIdAction without checking for non-null required values- Returns:
- CustomerSetExternalIdAction
-
of
factory method for an instance of CustomerSetExternalIdActionBuilder- Returns:
- builder
-
of
create builder for CustomerSetExternalIdAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-