Package com.commercetools.api.models.me
Class MyCustomerSetLastNameActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyCustomerSetLastNameActionBuilder
- All Implemented Interfaces:
Builder<MyCustomerSetLastNameAction>
public class MyCustomerSetLastNameActionBuilder
extends Object
implements Builder<MyCustomerSetLastNameAction>
MyCustomerSetLastNameActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyCustomerSetLastNameAction myCustomerSetLastNameAction = MyCustomerSetLastNameAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds MyCustomerSetLastNameAction with checking for non-null required valuesbuilds MyCustomerSetLastNameAction without checking for non-null required valuesValue to set.Value to set.of()
factory method for an instance of MyCustomerSetLastNameActionBuilderof
(MyCustomerSetLastNameAction template) create builder for MyCustomerSetLastNameAction instance
-
Constructor Details
-
MyCustomerSetLastNameActionBuilder
public MyCustomerSetLastNameActionBuilder()
-
-
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 MyCustomerSetLastNameAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<MyCustomerSetLastNameAction>
- Returns:
- MyCustomerSetLastNameAction
-
buildUnchecked
builds MyCustomerSetLastNameAction without checking for non-null required values- Returns:
- MyCustomerSetLastNameAction
-
of
factory method for an instance of MyCustomerSetLastNameActionBuilder- Returns:
- builder
-
of
create builder for MyCustomerSetLastNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-