Module: apis/bookingSet

Methods

(async, inner) createBookingSet(data) → {Promise.<response>}

Create a new booking set.
Parameters:
Name Type Description
data object The data to create the new booking set.
Source:
Returns:
response to the request.
Type
Promise.<response>

(async, inner) getBookingSetById(bookingSetId) → {Promise.<response>}

Get a specific booking set given its ID.
Parameters:
Name Type Description
bookingSetId string ID of the booking set to retrieve.
Source:
Returns:
response to the request.
Type
Promise.<response>

(async, inner) getBookingSets(params) → {Promise.<response>}

Get all booking sets for a hotel.
Parameters:
Name Type Default Description
params object {} Optional params to be passed to request.
Source:
Returns:
response to the request.
Type
Promise.<response>

(async, inner) updateBookingSet(bookingSetId, data) → {Promise.<response>}

Update a specific booking set given its ID.
Parameters:
Name Type Description
bookingSetId string ID of the booking set to update.
data object The updates to be applied to the booking set.
Source:
Returns:
response to the request.
Type
Promise.<response>