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