Class CustomerEmailVerifyBuilder
java.lang.Object
com.commercetools.api.models.customer.CustomerEmailVerifyBuilder
- All Implemented Interfaces:
Builder<CustomerEmailVerify>
CustomerEmailVerifyBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerEmailVerify customerEmailVerify = CustomerEmailVerify.builder()
.tokenValue("{tokenValue}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerEmailVerify with checking for non-null required valuesbuilds CustomerEmailVerify without checking for non-null required valuesValue of the token to verify Customer email.Expected version of the Customer.static CustomerEmailVerifyBuilder
of()
factory method for an instance of CustomerEmailVerifyBuilderstatic CustomerEmailVerifyBuilder
of
(CustomerEmailVerify template) create builder for CustomerEmailVerify instancetokenValue
(String tokenValue) Value of the token to verify Customer email.Expected version of the Customer.
-
Constructor Details
-
CustomerEmailVerifyBuilder
public CustomerEmailVerifyBuilder()
-
-
Method Details
-
version
Expected version of the Customer.
- Parameters:
version
- value to be set- Returns:
- Builder
-
tokenValue
Value of the token to verify Customer email.
- Parameters:
tokenValue
- value to be set- Returns:
- Builder
-
getVersion
Expected version of the Customer.
- Returns:
- version
-
getTokenValue
Value of the token to verify Customer email.
- Returns:
- tokenValue
-
build
builds CustomerEmailVerify with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerEmailVerify>
- Returns:
- CustomerEmailVerify
-
buildUnchecked
builds CustomerEmailVerify without checking for non-null required values- Returns:
- CustomerEmailVerify
-
of
factory method for an instance of CustomerEmailVerifyBuilder- Returns:
- builder
-
of
create builder for CustomerEmailVerify instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-