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