Uses of Record Class
org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.account.AccountResponseDTO
Packages that use AccountResponseDTO
Package
Description
-
Uses of AccountResponseDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller that return types with arguments of type AccountResponseDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<AccountResponseDTO> AccountController.getUserAccount
(org.springframework.security.core.userdetails.UserDetails userDetails) Gets a user's accountorg.springframework.http.ResponseEntity
<AccountResponseDTO> AccountController.updateUserAccount
(AccountUpdateDTO accountUpdateDTO, org.springframework.security.core.userdetails.UserDetails userDetails) Updates a user's account -
Uses of AccountResponseDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service that return AccountResponseDTOModifier and TypeMethodDescriptionAccountService.findUserAccounts
(User user) Retrieves the saving and spending accounts associated with the specified user.AccountService.updateAccount
(AccountUpdateDTO accountUpdateDTO, User user) Updates an existing account of the specified user based on the provided update DTO.