Class CustomerSetLastNameActionBuilder
java.lang.Object
com.commercetools.api.models.customer.CustomerSetLastNameActionBuilder
- All Implemented Interfaces:
Builder<CustomerSetLastNameAction>
public class CustomerSetLastNameActionBuilder
extends Object
implements Builder<CustomerSetLastNameAction>
CustomerSetLastNameActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerSetLastNameAction customerSetLastNameAction = CustomerSetLastNameAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerSetLastNameAction with checking for non-null required valuesbuilds CustomerSetLastNameAction without checking for non-null required valuesValue to set.Value to set.of()
factory method for an instance of CustomerSetLastNameActionBuilderof
(CustomerSetLastNameAction template) create builder for CustomerSetLastNameAction instance
-
Constructor Details
-
CustomerSetLastNameActionBuilder
public CustomerSetLastNameActionBuilder()
-
-
Method Details
-
lastName
Value to set. If empty, any existing value is removed.
- Parameters:
lastName
- value to be set- Returns:
- Builder
-
getLastName
Value to set. If empty, any existing value is removed.
- Returns:
- lastName
-
build
builds CustomerSetLastNameAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerSetLastNameAction>
- Returns:
- CustomerSetLastNameAction
-
buildUnchecked
builds CustomerSetLastNameAction without checking for non-null required values- Returns:
- CustomerSetLastNameAction
-
of
factory method for an instance of CustomerSetLastNameActionBuilder- Returns:
- builder
-
of
create builder for CustomerSetLastNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-