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