Class CustomerTitleSetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.CustomerTitleSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<CustomerTitleSetMessagePayload>
public class CustomerTitleSetMessagePayloadBuilder
extends Object
implements Builder<CustomerTitleSetMessagePayload>
CustomerTitleSetMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerTitleSetMessagePayload customerTitleSetMessagePayload = CustomerTitleSetMessagePayload.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerTitleSetMessagePayload with checking for non-null required valuesbuilds CustomerTitleSetMessagePayload without checking for non-null required valuesgetTitle()
Thetitle
that was set during the Set Title update action.of()
factory method for an instance of CustomerTitleSetMessagePayloadBuilderof
(CustomerTitleSetMessagePayload template) create builder for CustomerTitleSetMessagePayload instanceThetitle
that was set during the Set Title update action.
-
Constructor Details
-
CustomerTitleSetMessagePayloadBuilder
public CustomerTitleSetMessagePayloadBuilder()
-
-
Method Details
-
title
The
title
that was set during the Set Title update action.- Parameters:
title
- value to be set- Returns:
- Builder
-
getTitle
The
title
that was set during the Set Title update action.- Returns:
- title
-
build
builds CustomerTitleSetMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerTitleSetMessagePayload>
- Returns:
- CustomerTitleSetMessagePayload
-
buildUnchecked
builds CustomerTitleSetMessagePayload without checking for non-null required values- Returns:
- CustomerTitleSetMessagePayload
-
of
factory method for an instance of CustomerTitleSetMessagePayloadBuilder- Returns:
- builder
-
of
create builder for CustomerTitleSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-