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