Class AccountHolderDTO

java.lang.Object
com.dada.banking_project.dtos.AccountHolderDTO

public class AccountHolderDTO extends Object
A data transfer object representing an account holder.
  • 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.