Class CustomerDateOfBirthSetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.CustomerDateOfBirthSetMessagePayloadBuilder
- All Implemented Interfaces:
- Builder<CustomerDateOfBirthSetMessagePayload>
public class CustomerDateOfBirthSetMessagePayloadBuilder
extends Object
implements Builder<CustomerDateOfBirthSetMessagePayload>
CustomerDateOfBirthSetMessagePayloadBuilder
 
Example to create an instance using the builder pattern
 
Example to create an instance using the builder pattern
     CustomerDateOfBirthSetMessagePayload customerDateOfBirthSetMessagePayload = CustomerDateOfBirthSetMessagePayload.builder()
             .build()
 - 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()builds CustomerDateOfBirthSetMessagePayload with checking for non-null required valuesbuilds CustomerDateOfBirthSetMessagePayload without checking for non-null required valuesdateOfBirth(LocalDate dateOfBirth) ThedateOfBirththat was set during the Set Date of Birth update action.ThedateOfBirththat was set during the Set Date of Birth update action.of()factory method for an instance of CustomerDateOfBirthSetMessagePayloadBuilderof(CustomerDateOfBirthSetMessagePayload template) create builder for CustomerDateOfBirthSetMessagePayload instance
- 
Constructor Details- 
CustomerDateOfBirthSetMessagePayloadBuilderpublic CustomerDateOfBirthSetMessagePayloadBuilder()
 
- 
- 
Method Details- 
dateOfBirthThe dateOfBirththat was set during the Set Date of Birth update action.- Parameters:
- dateOfBirth- value to be set
- Returns:
- Builder
 
- 
getDateOfBirthThe dateOfBirththat was set during the Set Date of Birth update action.- Returns:
- dateOfBirth
 
- 
buildbuilds CustomerDateOfBirthSetMessagePayload with checking for non-null required values- Specified by:
- buildin interface- Builder<CustomerDateOfBirthSetMessagePayload>
- Returns:
- CustomerDateOfBirthSetMessagePayload
 
- 
buildUncheckedbuilds CustomerDateOfBirthSetMessagePayload without checking for non-null required values- Returns:
- CustomerDateOfBirthSetMessagePayload
 
- 
offactory method for an instance of CustomerDateOfBirthSetMessagePayloadBuilder- Returns:
- builder
 
- 
ofpublic static CustomerDateOfBirthSetMessagePayloadBuilder of(CustomerDateOfBirthSetMessagePayload template) create builder for CustomerDateOfBirthSetMessagePayload instance- Parameters:
- template- instance with prefilled values for the builder
- Returns:
- builder
 
 
-