Class CustomerPasswordUpdatedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.CustomerPasswordUpdatedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<CustomerPasswordUpdatedMessagePayload>
public class CustomerPasswordUpdatedMessagePayloadBuilder
extends Object
implements Builder<CustomerPasswordUpdatedMessagePayload>
CustomerPasswordUpdatedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerPasswordUpdatedMessagePayload customerPasswordUpdatedMessagePayload = CustomerPasswordUpdatedMessagePayload.builder()
.reset(true)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerPasswordUpdatedMessagePayload with checking for non-null required valuesbuilds CustomerPasswordUpdatedMessagePayload without checking for non-null required valuesgetReset()
Whether the Customer's password was updated during the Reset password or Change password flow.of()
factory method for an instance of CustomerPasswordUpdatedMessagePayloadBuilderof
(CustomerPasswordUpdatedMessagePayload template) create builder for CustomerPasswordUpdatedMessagePayload instanceWhether the Customer's password was updated during the Reset password or Change password flow.
-
Constructor Details
-
CustomerPasswordUpdatedMessagePayloadBuilder
public CustomerPasswordUpdatedMessagePayloadBuilder()
-
-
Method Details
-
reset
Whether the Customer's password was updated during the Reset password or Change password flow.
- Parameters:
reset
- value to be set- Returns:
- Builder
-
getReset
Whether the Customer's password was updated during the Reset password or Change password flow.
- Returns:
- reset
-
build
builds CustomerPasswordUpdatedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerPasswordUpdatedMessagePayload>
- Returns:
- CustomerPasswordUpdatedMessagePayload
-
buildUnchecked
builds CustomerPasswordUpdatedMessagePayload without checking for non-null required values- Returns:
- CustomerPasswordUpdatedMessagePayload
-
of
factory method for an instance of CustomerPasswordUpdatedMessagePayloadBuilder- Returns:
- builder
-
of
public static CustomerPasswordUpdatedMessagePayloadBuilder of(CustomerPasswordUpdatedMessagePayload template) create builder for CustomerPasswordUpdatedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-