Class BookingApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-26T20:16:53.154776164+07:00[Asia/Bangkok]", comments="Generator version: 7.13.0") 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)
    • cancelBooking

      public reactor.core.publisher.Mono<BookingBooker> cancelBooking(@Nonnull String bookingIdentifier, @Nonnull CancellationDetailBooker cancellationDetailBooker, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Cancel Booking Cancel a booking by its booking identifier

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      bookingIdentifier - Cancel booking by identifier
      cancellationDetailBooker - The cancellationDetailBooker parameter
      winkVersion - The winkVersion parameter
      Returns:
      BookingBooker
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • cancelBookingWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingBooker>> cancelBookingWithHttpInfo(@Nonnull String bookingIdentifier, @Nonnull CancellationDetailBooker cancellationDetailBooker, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Cancel Booking Cancel a booking by its booking identifier

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      bookingIdentifier - Cancel booking by identifier
      cancellationDetailBooker - The cancellationDetailBooker parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<BookingBooker>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • cancelBookingWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec cancelBookingWithResponseSpec(@Nonnull String bookingIdentifier, @Nonnull CancellationDetailBooker cancellationDetailBooker, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Cancel Booking Cancel a booking by its booking identifier

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      bookingIdentifier - Cancel booking by identifier
      cancellationDetailBooker - The cancellationDetailBooker parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • cancelGroupBooking

      public reactor.core.publisher.Flux<BookingBooker> cancelGroupBooking(@Nonnull String groupIdentifier, @Nonnull CancellationDetailBooker cancellationDetailBooker, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Cancel Group Booking Cancel a group booking by its group identifier

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      groupIdentifier - Cancel booking by group identifier
      cancellationDetailBooker - The cancellationDetailBooker parameter
      winkVersion - The winkVersion parameter
      Returns:
      List<BookingBooker>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • cancelGroupBookingWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BookingBooker>>> cancelGroupBookingWithHttpInfo(@Nonnull String groupIdentifier, @Nonnull CancellationDetailBooker cancellationDetailBooker, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Cancel Group Booking Cancel a group booking by its group identifier

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      groupIdentifier - Cancel booking by group identifier
      cancellationDetailBooker - The cancellationDetailBooker parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<BookingBooker>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • cancelGroupBookingWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec cancelGroupBookingWithResponseSpec(@Nonnull String groupIdentifier, @Nonnull CancellationDetailBooker cancellationDetailBooker, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Cancel Group Booking Cancel a group booking by its group identifier

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      groupIdentifier - Cancel booking by group identifier
      cancellationDetailBooker - The cancellationDetailBooker parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • resendBookingConfirmationEmail

      public reactor.core.publisher.Mono<BooleanResponseBooker> resendBookingConfirmationEmail(@Nonnull String bookingIdentifier, @Nullable Object body, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Resend Booking Confirmation Resends booking confirmation email to traveler.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      bookingIdentifier - Retrieve booking by identifier
      body - Empty request body
      winkVersion - The winkVersion parameter
      Returns:
      BooleanResponseBooker
      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<BooleanResponseBooker>> resendBookingConfirmationEmailWithHttpInfo(@Nonnull String bookingIdentifier, @Nullable Object body, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Resend Booking Confirmation Resends booking confirmation email to traveler.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      bookingIdentifier - Retrieve booking by identifier
      body - Empty request body
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<BooleanResponseBooker>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • resendBookingConfirmationEmailWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec resendBookingConfirmationEmailWithResponseSpec(@Nonnull String bookingIdentifier, @Nullable Object body, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Resend Booking Confirmation Resends booking confirmation email to traveler.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      bookingIdentifier - Retrieve booking by identifier
      body - Empty request body
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBooking

      public reactor.core.publisher.Mono<BookingBooker> showBooking(@Nonnull String bookingIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Booking Retrieve a booking by its booking identifier.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      bookingIdentifier - Retrieve booking by identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      BookingBooker
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBookingWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingBooker>> showBookingWithHttpInfo(@Nonnull String bookingIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Booking Retrieve a booking by its booking identifier.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      bookingIdentifier - Retrieve booking by identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<BookingBooker>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBookingWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showBookingWithResponseSpec(@Nonnull String bookingIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Booking Retrieve a booking by its booking identifier.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      bookingIdentifier - Retrieve booking by identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBookingByTransactionId

      public reactor.core.publisher.Mono<BookingBooker> showBookingByTransactionId(@Nonnull String transactionIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Booking by TX ID Retrieve a booking by its transaction identifier.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      transactionIdentifier - Retrieve booking by transaction identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      BookingBooker
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBookingByTransactionIdWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingBooker>> showBookingByTransactionIdWithHttpInfo(@Nonnull String transactionIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Booking by TX ID Retrieve a booking by its transaction identifier.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      transactionIdentifier - Retrieve booking by transaction identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<BookingBooker>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBookingByTransactionIdWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showBookingByTransactionIdWithResponseSpec(@Nonnull String transactionIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Booking by TX ID Retrieve a booking by its transaction identifier.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      transactionIdentifier - Retrieve booking by transaction identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBookingGrid

      public reactor.core.publisher.Mono<PageBookingBooker> showBookingGrid(@Nonnull StateBooker stateBooker, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Search Bookings Retrieve paginated bookings based on a query state

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      stateBooker - The stateBooker parameter
      winkVersion - The winkVersion parameter
      Returns:
      PageBookingBooker
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBookingGridWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageBookingBooker>> showBookingGridWithHttpInfo(@Nonnull StateBooker stateBooker, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Search Bookings Retrieve paginated bookings based on a query state

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      stateBooker - The stateBooker parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<PageBookingBooker>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBookingGridWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showBookingGridWithResponseSpec(@Nonnull StateBooker stateBooker, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Search Bookings Retrieve paginated bookings based on a query state

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      stateBooker - The stateBooker parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBookings

      public reactor.core.publisher.Mono<PageBookingBooker> showBookings(@Nullable Integer page, @Nullable Integer size, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Booking List Retrieve bookings in a paginated list

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      page - Page to start retrieving records for
      size - Number of records to retrieve
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      PageBookingBooker
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBookingsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageBookingBooker>> showBookingsWithHttpInfo(@Nullable Integer page, @Nullable Integer size, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Booking List Retrieve bookings in a paginated list

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      page - Page to start retrieving records for
      size - Number of records to retrieve
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<PageBookingBooker>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBookingsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showBookingsWithResponseSpec(@Nullable Integer page, @Nullable Integer size, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Booking List Retrieve bookings in a paginated list

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      page - Page to start retrieving records for
      size - Number of records to retrieve
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBookingsByReviewState

      public reactor.core.publisher.Flux<BookingBooker> showBookingsByReviewState(@Nullable String state, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Bookings by Review List bookings by their review state

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      state - Retrieve bookings by review state
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      List<BookingBooker>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBookingsByReviewStateWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BookingBooker>>> showBookingsByReviewStateWithHttpInfo(@Nullable String state, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Bookings by Review List bookings by their review state

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      state - Retrieve bookings by review state
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<List<BookingBooker>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBookingsByReviewStateWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showBookingsByReviewStateWithResponseSpec(@Nullable String state, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Bookings by Review List bookings by their review state

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      state - Retrieve bookings by review state
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBookingsByState

      public reactor.core.publisher.Flux<BookingBooker> showBookingsByState(@Nullable String state, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Bookings by Time Retrieve bookings for a date state

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      state - Retrieve bookings by state
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      List<BookingBooker>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBookingsByStateWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BookingBooker>>> showBookingsByStateWithHttpInfo(@Nullable String state, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Bookings by Time Retrieve bookings for a date state

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      state - Retrieve bookings by state
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<List<BookingBooker>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showBookingsByStateWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showBookingsByStateWithResponseSpec(@Nullable String state, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Bookings by Time Retrieve bookings for a date state

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      state - Retrieve bookings by state
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showGroupedBookings

      public reactor.core.publisher.Flux<BookingBooker> showGroupedBookings(@Nonnull String groupIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Grouped Bookings Retrieve a list of bookings by group identifier. User needs to be authenticated.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      groupIdentifier - Retrieve booking by identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      List<BookingBooker>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showGroupedBookingsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BookingBooker>>> showGroupedBookingsWithHttpInfo(@Nonnull String groupIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Grouped Bookings Retrieve a list of bookings by group identifier. User needs to be authenticated.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      groupIdentifier - Retrieve booking by identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<List<BookingBooker>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showGroupedBookingsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showGroupedBookingsWithResponseSpec(@Nonnull String groupIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Grouped Bookings Retrieve a list of bookings by group identifier. User needs to be authenticated.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      groupIdentifier - Retrieve booking by identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API