Class BookingApi

java.lang.Object
travel.wink.sdk.extranet.api.BookingApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-11-08T09:36:20.822132243+07:00[Asia/Bangkok]") public class BookingApi extends Object
  • Constructor Details

    • BookingApi

      public BookingApi()
    • BookingApi

      @Autowired public BookingApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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 identifier
      bookingIdentifier - Cancel booking with this identifier
      cancellationDetail - The cancellationDetail parameter
      winkVersion - 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 identifier
      bookingIdentifier - Check if booking can be cancelled with this identifier
      winkVersion - 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 owner
      bookingIdentifier - Booking identifier
      winkVersion - 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 identifier
      winkVersion - 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 identifier
      winkVersion - 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 identifier
      winkVersion - 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 hotel
      bookingIdentifier - Show booking with this identifier
      winkVersion - 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 identifier
      state - The state parameter
      winkVersion - 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 identifier
      state - Filter on the booking state
      pageNumber - Paginate booking list
      maxResults - Limit number of records to return
      search - Filter on email, first or last name to further narrow down the result set
      winkVersion - 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