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