Uses of Class
com.unosquare.carmigo.dto.response.PassengerResponse
-
Uses of PassengerResponse in com.unosquare.carmigo.controller
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<PassengerResponse>
PassengerController.createPassenger()
Enables logged-in users to create a passenger's profile.org.springframework.http.ResponseEntity<PassengerResponse>
PassengerController.createPassengerById
(int passengerId) Enables logged-in admin users to create a passenger's profile for another user.org.springframework.http.ResponseEntity<PassengerResponse>
PassengerController.getCurrentPassengerProfile()
Enables logged-in users to see their passenger's profiles.org.springframework.http.ResponseEntity<PassengerResponse>
PassengerController.getPassengerById
(int passengerId) Enables logged-in admin users to see other passenger's profiles. -
Uses of PassengerResponse in com.unosquare.carmigo.service
Modifier and TypeMethodDescriptionPassengerService.createPassengerById
(int platformUserId) Creates a passenger.PassengerService.getPassengerById
(int passengerId) Fetches a passenger.