Package com.dada.banking_project.dtos
Class AccountHolderDTO
java.lang.Object
com.dada.banking_project.dtos.AccountHolderDTO
A data transfer object representing an account holder.
-
Constructor Summary
ConstructorDescriptionConstructs a new, empty AccountHolderDTO object.AccountHolderDTO
(String username, String secretKey, LocalDate dateOfBirth, String mailingAdress, AddressDTO address) Constructs a new AccountHolderDTO object with the given parameters. -
Method Summary
-
Constructor Details
-
AccountHolderDTO
public AccountHolderDTO(String username, String secretKey, LocalDate dateOfBirth, String mailingAdress, AddressDTO address) Constructs a new AccountHolderDTO object with the given parameters.- Parameters:
username
- the username of the account holder.secretKey
- the secret key used for authentication.dateOfBirth
- the date of birth of the account holder.mailingAdress
- the mailing address of the account holder.address
- the address object representing the address of the account holder.
-
AccountHolderDTO
public AccountHolderDTO()Constructs a new, empty AccountHolderDTO object.
-