ReservationResult - gomeddo/js-sdk GitHub Wiki
Note
Coming soon
Object containing the results of a ReservationRequest including methods to get the individual reservations.
Example
const matchingReservations = reservationResult.getReservations()
numberOfReservations
Syntax
numberOfReservations()
Return value: The number of reservations in the result.
Description
Gets the number of reservations in the result.
getReservationIds
Syntax
getReservationIds()
Return value: A list of all the reservation ids in the result.
Description
Gets a list of all the reservation ids in the result.
getReservation
Syntax
getReservation(idOrName)
Parameters:
idOrName
The id of name of the reservation you want to receive
Return value: The Reservation matching the id of name.
getReservations
Syntax
getReservations()
Return value: A list of all Reservations.