Uses of Record Class
org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.account.AccountDTO
Packages that use AccountDTO
Package
Description
-
Uses of AccountDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller that return types with arguments of type AccountDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<AccountDTO> AccountController.createUserAccount(AccountDTO accountDTO, org.springframework.security.core.userdetails.UserDetails userDetails) Registers a bank account for a userMethods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller with parameters of type AccountDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<AccountDTO> AccountController.createUserAccount(AccountDTO accountDTO, org.springframework.security.core.userdetails.UserDetails userDetails) Registers a bank account for a user -
Uses of AccountDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.user
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.user that return AccountDTOModifier and TypeMethodDescription@NotNull AccountDTOUserResponse.savingAccount()Returns the value of thesavingAccountrecord component.@NotNull AccountDTOUserResponse.spendingAccount()Returns the value of thespendingAccountrecord component.Constructors in org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.user with parameters of type AccountDTOModifierConstructorDescriptionUserResponse(Long id, @NotNull String firstName, @NotNull String lastName, @NotNull String username, @NotNull @Email String email, @NotNull AccountDTO spendingAccount, @NotNull AccountDTO savingAccount, @NotNull BigDecimal savedAmount, @NotNull Set<BadgeDTO> badges, @NotNull Boolean hasPasskey) Creates an instance of aUserResponserecord class. -
Uses of AccountDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper that return AccountDTOModifier and TypeMethodDescriptionConverts to dto from entity for accountMethods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper with parameters of type AccountDTOModifier and TypeMethodDescriptionAccountMapper.toEntity(AccountDTO account) Converts from dto to entity for account -
Uses of AccountDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service that return AccountDTOModifier and TypeMethodDescriptionAccountService.saveAccount(AccountDTO accountDTO, User user) Saves a new account based on the provided DTO and associates it with the given user.Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service with parameters of type AccountDTOModifier and TypeMethodDescriptionAccountService.saveAccount(AccountDTO accountDTO, User user) Saves a new account based on the provided DTO and associates it with the given user.