Class AccountActivatedEvent

java.lang.Object
com.brodygaudel.bank.common.event.BaseEvent<String>
com.brodygaudel.bank.common.event.account.AccountActivatedEvent

public class AccountActivatedEvent extends BaseEvent<String>
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 Details

    • AccountActivatedEvent

      public AccountActivatedEvent(String id, AccountStatus status, LocalDateTime lastUpdate)
      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.