Interface CustomerEmailTokenReference
- All Superinterfaces:
Reference
,ReferenceMixin
Reference to a CustomerToken for email verification.
Example to create an instance using the builder pattern
CustomerEmailTokenReference customerEmailTokenReference = CustomerEmailTokenReference.builder()
.id("{id}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CustomerEmailTokenReference -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerEmailTokenReferencebuilder
(CustomerEmailTokenReference template) create builder for CustomerEmailTokenReference instancestatic CustomerEmailTokenReference
deepCopy
(CustomerEmailTokenReference template) factory method to create a deep copy of CustomerEmailTokenReference@NotNull String
getId()
Unique identifier of the referenced CustomerToken.static CustomerEmailTokenReference
of()
factory methodstatic CustomerEmailTokenReference
of
(CustomerEmailTokenReference template) factory method to create a shallow copy CustomerEmailTokenReferencevoid
Unique identifier of the referenced CustomerToken.static com.fasterxml.jackson.core.type.TypeReference<CustomerEmailTokenReference>
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_EMAIL_TOKEN
discriminator value for CustomerEmailTokenReference- 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 CustomerEmailTokenReference
-
of
factory method to create a shallow copy CustomerEmailTokenReference- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CustomerEmailTokenReference deepCopy(@Nullable CustomerEmailTokenReference template) factory method to create a deep copy of CustomerEmailTokenReference- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerEmailTokenReference- Returns:
- builder
-
builder
create builder for CustomerEmailTokenReference instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerEmailTokenReference
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-