Interface CustomerPasswordTokenReference
- All Superinterfaces:
Reference
,ReferenceMixin
Reference to a CustomerToken for password reset.
Example to create an instance using the builder pattern
CustomerPasswordTokenReference customerPasswordTokenReference = CustomerPasswordTokenReference.builder()
.id("{id}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CustomerPasswordTokenReference -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerPasswordTokenReferencebuilder
(CustomerPasswordTokenReference template) create builder for CustomerPasswordTokenReference instancedeepCopy
(CustomerPasswordTokenReference template) factory method to create a deep copy of CustomerPasswordTokenReference@NotNull String
getId()
Unique identifier of the referenced CustomerToken.of()
factory methodof
(CustomerPasswordTokenReference template) factory method to create a shallow copy CustomerPasswordTokenReferencevoid
Unique identifier of the referenced CustomerToken.static com.fasterxml.jackson.core.type.TypeReference<CustomerPasswordTokenReference>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.common.Reference
getTypeId, withReference
Methods inherited from interface com.commercetools.api.models.common.ReferenceMixin
toResourceIdentifier
-
Field Details
-
CUSTOMER_PASSWORD_TOKEN
discriminator value for CustomerPasswordTokenReference- See Also:
-
-
Method Details
-
getId
Unique identifier of the referenced CustomerToken.
- Specified by:
getId
in interfaceReference
- Specified by:
getId
in interfaceReferenceMixin
- Returns:
- id
-
setId
Unique identifier of the referenced CustomerToken.
-
of
factory method- Returns:
- instance of CustomerPasswordTokenReference
-
of
factory method to create a shallow copy CustomerPasswordTokenReference- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CustomerPasswordTokenReference deepCopy(@Nullable CustomerPasswordTokenReference template) factory method to create a deep copy of CustomerPasswordTokenReference- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerPasswordTokenReference- Returns:
- builder
-
builder
create builder for CustomerPasswordTokenReference instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerPasswordTokenReference
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<CustomerPasswordTokenReference> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-