Class CustomerPasswordTokenCreatedMessagePayloadImpl
java.lang.Object
com.commercetools.api.models.message.CustomerPasswordTokenCreatedMessagePayloadImpl
- All Implemented Interfaces:
CustomerPasswordTokenCreatedMessagePayload
,MessagePayload
,MessagePayloadMixin
,io.vrap.rmf.base.client.ModelBase
public class CustomerPasswordTokenCreatedMessagePayloadImpl
extends Object
implements CustomerPasswordTokenCreatedMessagePayload, io.vrap.rmf.base.client.ModelBase
Generated after a successful Create password reset token for Customer request. The resource
property of the Message is a CustomerPasswordTokenReference.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.message.CustomerPasswordTokenCreatedMessagePayload
CUSTOMER_PASSWORD_TOKEN_CREATED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Unique identifier of the Customer.Date and time (UTC) the password token expires.getType()
int
hashCode()
void
setCustomerId
(String customerId) Unique identifier of the Customer.void
setExpiresAt
(ZonedDateTime expiresAt) Date and time (UTC) the password token expires.toString()
Methods inherited from interface com.commercetools.api.models.message.CustomerPasswordTokenCreatedMessagePayload
withCustomerPasswordTokenCreatedMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayload
withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
CustomerPasswordTokenCreatedMessagePayloadImpl
public CustomerPasswordTokenCreatedMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getCustomerId
Unique identifier of the Customer.
- Specified by:
getCustomerId
in interfaceCustomerPasswordTokenCreatedMessagePayload
- Returns:
- customerId
-
getExpiresAt
Date and time (UTC) the password token expires.
- Specified by:
getExpiresAt
in interfaceCustomerPasswordTokenCreatedMessagePayload
- Returns:
- expiresAt
-
setCustomerId
Description copied from interface:CustomerPasswordTokenCreatedMessagePayload
Unique identifier of the Customer.
- Specified by:
setCustomerId
in interfaceCustomerPasswordTokenCreatedMessagePayload
- Parameters:
customerId
- value to be set
-
setExpiresAt
Description copied from interface:CustomerPasswordTokenCreatedMessagePayload
Date and time (UTC) the password token expires.
- Specified by:
setExpiresAt
in interfaceCustomerPasswordTokenCreatedMessagePayload
- Parameters:
expiresAt
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-