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