Class BookingApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<BookingView>cancelHotelBooking(String hotelIdentifier, String bookingIdentifier, CancellationDetail cancellationDetail, String winkVersion) Cancel Booking Booking is cancelled by the property.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingView>>cancelHotelBookingWithHttpInfo(String hotelIdentifier, String bookingIdentifier, CancellationDetail cancellationDetail, String winkVersion) reactor.core.publisher.Mono<BookingCancellable>isBookingCancellable(String hotelIdentifier, String bookingIdentifier, String winkVersion) 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 winkVersion) reactor.core.publisher.Mono<BooleanResponse>resendBookingConfirmationEmail(String hotelIdentifier, String bookingIdentifier, String winkVersion) Resend Booking Confirmation Resends booking confirmation email to traveler.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BooleanResponse>>resendBookingConfirmationEmailWithHttpInfo(String hotelIdentifier, String bookingIdentifier, String winkVersion) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<KeyValuePair>showActiveAffiliates(String hotelIdentifier, String winkVersion) 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 winkVersion) reactor.core.publisher.Flux<KeyValuePair>showActiveMasterRates(String hotelIdentifier, String winkVersion) 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 winkVersion) reactor.core.publisher.Mono<BookingCount>showBookingsCount(String hotelIdentifier, String winkVersion) 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 winkVersion) reactor.core.publisher.Mono<BookingView>showHotelBooking(String hotelIdentifier, String bookingIdentifier, String winkVersion) Show Booking Retrieve a single booking specific by its identifier.reactor.core.publisher.Mono<PageBookingView>showHotelBookings(String hotelIdentifier, State state, String winkVersion) 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 winkVersion) 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 winkVersion) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageBookingView>>showHotelBookingsWithHttpInfo(String hotelIdentifier, State state, String winkVersion) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingView>>showHotelBookingWithHttpInfo(String hotelIdentifier, String bookingIdentifier, String winkVersion)
-
Constructor Details
-
BookingApi
public BookingApi() -
BookingApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
cancelHotelBooking
public reactor.core.publisher.Mono<BookingView> cancelHotelBooking(String hotelIdentifier, String bookingIdentifier, CancellationDetail cancellationDetail, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Cancel Booking Booking is cancelled by the property.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Cancel booking for hotel with this identifierbookingIdentifier- Cancel booking with this identifiercancellationDetail- The cancellationDetail parameterwinkVersion- The winkVersion 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, String winkVersion) 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 winkVersion) 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.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Check if booking can be cancelled for hotel with this identifierbookingIdentifier- Check if booking can be cancelled with this identifierwinkVersion- The winkVersion 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 winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
resendBookingConfirmationEmail
public reactor.core.publisher.Mono<BooleanResponse> resendBookingConfirmationEmail(String hotelIdentifier, String bookingIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Resend Booking Confirmation Resends booking confirmation email to traveler.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Booking ownerbookingIdentifier- Booking identifierwinkVersion- The winkVersion parameter- Returns:
- BooleanResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
resendBookingConfirmationEmailWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BooleanResponse>> resendBookingConfirmationEmailWithHttpInfo(String hotelIdentifier, String bookingIdentifier, String winkVersion) 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 winkVersion) 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.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Show active affiliates for hotel with this identifierwinkVersion- The winkVersion 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 winkVersion) 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 winkVersion) 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.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Show booked master rates for this hotel identifierwinkVersion- The winkVersion 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 winkVersion) 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 winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Upcoming Booking Count Retrieve the number of upcoming bookings that arrive today for the specific hotel.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Show active booking count for hotel with this identifierwinkVersion- The winkVersion 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 winkVersion) 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 winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Booking Retrieve a single booking specific by its identifier.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Show booking owned by this hotelbookingIdentifier- Show booking with this identifierwinkVersion- The winkVersion 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 winkVersion) 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, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Bookings Grid Retrieve page of bookings for a specific hotel with advanced filtering rules.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Show bookings for hotel with this identifierstate- The state parameterwinkVersion- The winkVersion 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, String winkVersion) 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 winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Bookings Retrieve bookings for hotel with simple filter rules.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
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 setwinkVersion- The winkVersion 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 winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-