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