Class CustomerPasswordTokenReferenceBuilder
java.lang.Object
com.commercetools.api.models.customer.CustomerPasswordTokenReferenceBuilder
- All Implemented Interfaces:
Builder<CustomerPasswordTokenReference>
public class CustomerPasswordTokenReferenceBuilder
extends Object
implements Builder<CustomerPasswordTokenReference>
CustomerPasswordTokenReferenceBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerPasswordTokenReference customerPasswordTokenReference = CustomerPasswordTokenReference.builder()
.id("{id}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerPasswordTokenReference with checking for non-null required valuesbuilds CustomerPasswordTokenReference without checking for non-null required valuesgetId()
Unique identifier of the referenced CustomerToken.Unique identifier of the referenced CustomerToken.of()
factory method for an instance of CustomerPasswordTokenReferenceBuilderof
(CustomerPasswordTokenReference template) create builder for CustomerPasswordTokenReference instance
-
Constructor Details
-
CustomerPasswordTokenReferenceBuilder
public CustomerPasswordTokenReferenceBuilder()
-
-
Method Details
-
id
Unique identifier of the referenced CustomerToken.
- Parameters:
id
- value to be set- Returns:
- Builder
-
getId
Unique identifier of the referenced CustomerToken.
- Returns:
- id
-
build
builds CustomerPasswordTokenReference with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerPasswordTokenReference>
- Returns:
- CustomerPasswordTokenReference
-
buildUnchecked
builds CustomerPasswordTokenReference without checking for non-null required values- Returns:
- CustomerPasswordTokenReference
-
of
factory method for an instance of CustomerPasswordTokenReferenceBuilder- Returns:
- builder
-
of
create builder for CustomerPasswordTokenReference instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-