Class AccountActivatedEvent
java.lang.Object
com.brodygaudel.bank.common.event.BaseEvent<String>
com.brodygaudel.bank.common.event.account.AccountActivatedEvent
Event representing the activation of an account in the system.
This event is triggered when an account is successfully activated. It includes the unique identifier of the account, the updated status, and the timestamp of the last update.
- See Also:
-
Constructor Summary
ConstructorDescriptionAccountActivatedEvent
(String id, AccountStatus status, LocalDateTime lastUpdate) Constructs a new AccountActivatedEvent with the specified details. -
Method Summary
-
Constructor Details
-
AccountActivatedEvent
Constructs a new AccountActivatedEvent with the specified details.- Parameters:
id
- The unique identifier associated with the event, representing the activated account.status
- The updated status of the account after activation.lastUpdate
- The timestamp of the last update, indicating when the account was activated.
-