Class ActiveAccountCommand
java.lang.Object
com.brodygaudel.bank.common.command.BaseCommand<String>
com.brodygaudel.bank.common.command.account.ActiveAccountCommand
Command to activate an account.
This command is used to initiate the activation of an account. It includes the unique identifier, the desired account status, and the timestamp of the last update inherited from the BaseCommand class.
- See Also:
-
Constructor Summary
ConstructorDescriptionActiveAccountCommand
(String id, AccountStatus status, LocalDateTime lastUpdate) Constructs a new instance of ActiveAccountCommand with the specified parameters. -
Method Summary
-
Constructor Details
-
ActiveAccountCommand
Constructs a new instance of ActiveAccountCommand with the specified parameters.- Parameters:
id
- The unique identifier for the account to be activated.status
- The status to set the account to after activation.lastUpdate
- The timestamp of the last update associated with the activation.
-