getReservation

fun getReservation(reservationId: String): Reservation?

Gets a Reservation object from the database given its reservationId.

Return

The Reservation object with the specified reservationId if it exists. null otherwise.

Parameters

reservationId

The reservationId to search for.