Class BookingApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<BookingView>cancelHotelBooking(String hotelIdentifier, String bookingIdentifier, CancellationDetail cancellationDetail) Cancel Booking Booking is cancelled by the property.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingView>>cancelHotelBookingWithHttpInfo(String hotelIdentifier, String bookingIdentifier, CancellationDetail cancellationDetail) reactor.core.publisher.Mono<BookingCancellable>isBookingCancellable(String hotelIdentifier, String bookingIdentifier, String accept) Is Booking Cancellable Checks to see whether this booking (or group booking) can be cancelled by either the traveler or the hotel.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingCancellable>>isBookingCancellableWithHttpInfo(String hotelIdentifier, String bookingIdentifier, String accept) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<KeyValuePair>showActiveAffiliates(String hotelIdentifier, String accept) Show Active Affiliates Return a geoname list of unique affiliates that have brought the property bookings.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showActiveAffiliatesWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Flux<KeyValuePair>showActiveMasterRates(String hotelIdentifier, String accept) Show Active Master Rates Return a geoname list of unique master rates that have been booked.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showActiveMasterRatesWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<BookingCount>showBookingsCount(String hotelIdentifier, String accept) Upcoming Booking Count Retrieve the number of upcoming bookings that arrive today for the specific hotel.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingCount>>showBookingsCountWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<BookingView>showHotelBooking(String hotelIdentifier, String bookingIdentifier, String accept) Show Booking Retrieve a single booking specific by its identifier.reactor.core.publisher.Mono<PageBookingView>showHotelBookings(String hotelIdentifier, State state) Show Bookings Grid Retrieve page of bookings for a specific hotel with advanced filtering rules.reactor.core.publisher.Mono<PageBookingView>showHotelBookings1(String hotelIdentifier, String state, Integer pageNumber, Integer maxResults, String search, String accept) Show Bookings Retrieve bookings for hotel with simple filter rules.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageBookingView>>showHotelBookings1WithHttpInfo(String hotelIdentifier, String state, Integer pageNumber, Integer maxResults, String search, String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageBookingView>>showHotelBookingsWithHttpInfo(String hotelIdentifier, State state) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingView>>showHotelBookingWithHttpInfo(String hotelIdentifier, String bookingIdentifier, String accept)
-
Constructor Details
-
BookingApi
public BookingApi() -
BookingApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
cancelHotelBooking
public reactor.core.publisher.Mono<BookingView> cancelHotelBooking(String hotelIdentifier, String bookingIdentifier, CancellationDetail cancellationDetail) throws org.springframework.web.reactive.function.client.WebClientResponseException Cancel Booking Booking is cancelled by the property.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Cancel booking for hotel with this identifierbookingIdentifier- Cancel booking with this identifiercancellationDetail- The cancellationDetail parameter- Returns:
- BookingView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
cancelHotelBookingWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingView>> cancelHotelBookingWithHttpInfo(String hotelIdentifier, String bookingIdentifier, CancellationDetail cancellationDetail) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
isBookingCancellable
public reactor.core.publisher.Mono<BookingCancellable> isBookingCancellable(String hotelIdentifier, String bookingIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Is Booking Cancellable Checks to see whether this booking (or group booking) can be cancelled by either the traveler or the hotel.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Check if booking can be cancelled for hotel with this identifierbookingIdentifier- Check if booking can be cancelled with this identifieraccept- The accept parameter- Returns:
- BookingCancellable
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
isBookingCancellableWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingCancellable>> isBookingCancellableWithHttpInfo(String hotelIdentifier, String bookingIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showActiveAffiliates
public reactor.core.publisher.Flux<KeyValuePair> showActiveAffiliates(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Active Affiliates Return a geoname list of unique affiliates that have brought the property bookings. This is helpful data you can use to filter on within your dataset.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Show active affiliates for hotel with this identifieraccept- The accept parameter- Returns:
- List<KeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showActiveAffiliatesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showActiveAffiliatesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showActiveMasterRates
public reactor.core.publisher.Flux<KeyValuePair> showActiveMasterRates(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Active Master Rates Return a geoname list of unique master rates that have been booked. This is helpful data you can use to filter on within your dataset.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Show booked master rates for this hotel identifieraccept- The accept parameter- Returns:
- List<KeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showActiveMasterRatesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showActiveMasterRatesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showBookingsCount
public reactor.core.publisher.Mono<BookingCount> showBookingsCount(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Upcoming Booking Count Retrieve the number of upcoming bookings that arrive today for the specific hotel.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Show active booking count for hotel with this identifieraccept- The accept parameter- Returns:
- BookingCount
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showBookingsCountWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingCount>> showBookingsCountWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showHotelBooking
public reactor.core.publisher.Mono<BookingView> showHotelBooking(String hotelIdentifier, String bookingIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Booking Retrieve a single booking specific by its identifier.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Show booking owned by this hotelbookingIdentifier- Show booking with this identifieraccept- The accept parameter- Returns:
- BookingView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showHotelBookingWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingView>> showHotelBookingWithHttpInfo(String hotelIdentifier, String bookingIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showHotelBookings
public reactor.core.publisher.Mono<PageBookingView> showHotelBookings(String hotelIdentifier, State state) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Bookings Grid Retrieve page of bookings for a specific hotel with advanced filtering rules.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Show bookings for hotel with this identifierstate- The state parameter- Returns:
- PageBookingView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showHotelBookingsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageBookingView>> showHotelBookingsWithHttpInfo(String hotelIdentifier, State state) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showHotelBookings1
public reactor.core.publisher.Mono<PageBookingView> showHotelBookings1(String hotelIdentifier, String state, Integer pageNumber, Integer maxResults, String search, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Bookings Retrieve bookings for hotel with simple filter rules.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Show bookings for hotel with this identifierstate- Filter on the booking statepageNumber- Paginate booking listmaxResults- Limit number of records to returnsearch- Filter on email, first or last name to further narrow down the result setaccept- The accept parameter- Returns:
- PageBookingView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showHotelBookings1WithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageBookingView>> showHotelBookings1WithHttpInfo(String hotelIdentifier, String state, Integer pageNumber, Integer maxResults, String search, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-