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