Class CustomerCompanyNameSetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.CustomerCompanyNameSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<CustomerCompanyNameSetMessagePayload>
public class CustomerCompanyNameSetMessagePayloadBuilder
extends Object
implements Builder<CustomerCompanyNameSetMessagePayload>
CustomerCompanyNameSetMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerCompanyNameSetMessagePayload customerCompanyNameSetMessagePayload = CustomerCompanyNameSetMessagePayload.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerCompanyNameSetMessagePayload with checking for non-null required valuesbuilds CustomerCompanyNameSetMessagePayload without checking for non-null required valuescompanyName
(String companyName) ThecompanyName
that was set during the Set Company Name update action.ThecompanyName
that was set during the Set Company Name update action.of()
factory method for an instance of CustomerCompanyNameSetMessagePayloadBuilderof
(CustomerCompanyNameSetMessagePayload template) create builder for CustomerCompanyNameSetMessagePayload instance
-
Constructor Details
-
CustomerCompanyNameSetMessagePayloadBuilder
public CustomerCompanyNameSetMessagePayloadBuilder()
-
-
Method Details
-
companyName
The
companyName
that was set during the Set Company Name update action.- Parameters:
companyName
- value to be set- Returns:
- Builder
-
getCompanyName
The
companyName
that was set during the Set Company Name update action.- Returns:
- companyName
-
build
builds CustomerCompanyNameSetMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerCompanyNameSetMessagePayload>
- Returns:
- CustomerCompanyNameSetMessagePayload
-
buildUnchecked
builds CustomerCompanyNameSetMessagePayload without checking for non-null required values- Returns:
- CustomerCompanyNameSetMessagePayload
-
of
factory method for an instance of CustomerCompanyNameSetMessagePayloadBuilder- Returns:
- builder
-
of
public static CustomerCompanyNameSetMessagePayloadBuilder of(CustomerCompanyNameSetMessagePayload template) create builder for CustomerCompanyNameSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-