Class BookingApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<BookingView>cancelBooking(String bookingIdentifier, CancellationDetail cancellationDetail) Cancel Booking Cancel a booking by its booking identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingView>>cancelBookingWithHttpInfo(String bookingIdentifier, CancellationDetail cancellationDetail) reactor.core.publisher.Flux<BookingView>cancelGroupBooking(String groupIdentifier, CancellationDetail cancellationDetail) Cancel Group Booking Cancel a group booking by its group identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BookingView>>>cancelGroupBookingWithHttpInfo(String groupIdentifier, CancellationDetail cancellationDetail) reactor.core.publisher.Mono<BookingConfirmations>createAgentBooking(CreateAgentBookingRequest createAgentBookingRequest) Create Agent Booking Create agent booking.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingConfirmations>>createAgentBookingWithHttpInfo(CreateAgentBookingRequest createAgentBookingRequest) reactor.core.publisher.Mono<BookingConfirmations>createMerchantBooking(CreateMerchantBookingRequest createMerchantBookingRequest) Create Merchant Booking Create a merchant booking.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingConfirmations>>createMerchantBookingWithHttpInfo(CreateMerchantBookingRequest createMerchantBookingRequest) reactor.core.publisher.Mono<BooleanResponse>resendBookingConfirmationEmail(String bookingIdentifier, String accept) Resend Booking Confirmation Resends booking confirmation email to traveler.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BooleanResponse>>resendBookingConfirmationEmailWithHttpInfo(String bookingIdentifier, String accept) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<BookingView>showBooking(String bookingIdentifier, String accept) Show Booking Retrieve a booking by its booking identifier.reactor.core.publisher.Mono<PageBookingView>showBookingGrid(State state) Show Booking Grid Retrieve paginated bookings based on a query statereactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageBookingView>>showBookingGridWithHttpInfo(State state) reactor.core.publisher.Mono<PageBookingView>showBookings(Integer page, Integer size, String accept) Show Booking List Retrieve bookings in a paginated listreactor.core.publisher.Flux<BookingView>showBookingsByReviewState(String state, String accept) Show Bookings by Review List bookings by their review statereactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BookingView>>>showBookingsByReviewStateWithHttpInfo(String state, String accept) reactor.core.publisher.Flux<BookingView>showBookingsByState(String state, String accept) Show Bookings by Time Retrieve bookings for a date statereactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BookingView>>>showBookingsByStateWithHttpInfo(String state, String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageBookingView>>showBookingsWithHttpInfo(Integer page, Integer size, String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingView>>showBookingWithHttpInfo(String bookingIdentifier, String accept) reactor.core.publisher.Flux<BookingView>showGroupedBookings(String groupIdentifier, String accept) Show Grouped Bookings Retrieve a list of bookings by group identifier.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BookingView>>>showGroupedBookingsWithHttpInfo(String groupIdentifier, String accept)
-
Constructor Details
-
BookingApi
public BookingApi() -
BookingApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
cancelBooking
public reactor.core.publisher.Mono<BookingView> cancelBooking(String bookingIdentifier, CancellationDetail cancellationDetail) throws org.springframework.web.reactive.function.client.WebClientResponseException Cancel Booking Cancel a booking by its booking identifier503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
202 - Accepted
- Parameters:
bookingIdentifier- Cancel booking by identifiercancellationDetail- The cancellationDetail parameter- Returns:
- BookingView
- 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<BookingView>> cancelBookingWithHttpInfo(String bookingIdentifier, CancellationDetail cancellationDetail) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
cancelGroupBooking
public reactor.core.publisher.Flux<BookingView> cancelGroupBooking(String groupIdentifier, CancellationDetail cancellationDetail) throws org.springframework.web.reactive.function.client.WebClientResponseException Cancel Group Booking Cancel a group booking by its group identifier503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
202 - Accepted
- Parameters:
groupIdentifier- Cancel booking by group identifiercancellationDetail- The cancellationDetail parameter- Returns:
- List<BookingView>
- 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<BookingView>>> cancelGroupBookingWithHttpInfo(String groupIdentifier, CancellationDetail cancellationDetail) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
createAgentBooking
public reactor.core.publisher.Mono<BookingConfirmations> createAgentBooking(CreateAgentBookingRequest createAgentBookingRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Agent Booking Create agent booking. Expects the agent to be a registered agent with TripPay and have available funds to cover the booking amount.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
201 - Created
- Parameters:
createAgentBookingRequest- The createAgentBookingRequest parameter- Returns:
- BookingConfirmations
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createAgentBookingWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingConfirmations>> createAgentBookingWithHttpInfo(CreateAgentBookingRequest createAgentBookingRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
createMerchantBooking
public reactor.core.publisher.Mono<BookingConfirmations> createMerchantBooking(CreateMerchantBookingRequest createMerchantBookingRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Merchant Booking Create a merchant booking. Expects a TripPay contract to be available and a authenticated traveler user to be making the booking.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
201 - Created
- Parameters:
createMerchantBookingRequest- The createMerchantBookingRequest parameter- Returns:
- BookingConfirmations
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createMerchantBookingWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingConfirmations>> createMerchantBookingWithHttpInfo(CreateMerchantBookingRequest createMerchantBookingRequest) 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 bookingIdentifier, String accept) 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:
bookingIdentifier- Retrieve booking by identifieraccept- The accept 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 bookingIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showBooking
public reactor.core.publisher.Mono<BookingView> showBooking(String bookingIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Booking Retrieve a booking by its booking identifier. User needs to be authenticated.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:
bookingIdentifier- Retrieve booking by identifieraccept- The accept parameter- Returns:
- BookingView
- 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<BookingView>> showBookingWithHttpInfo(String bookingIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showBookingGrid
public reactor.core.publisher.Mono<PageBookingView> showBookingGrid(State state) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Booking Grid Retrieve paginated bookings based on a query state503 - 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:
state- The state parameter- Returns:
- PageBookingView
- 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<PageBookingView>> showBookingGridWithHttpInfo(State state) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showBookings
public reactor.core.publisher.Mono<PageBookingView> showBookings(Integer page, Integer size, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Booking List Retrieve bookings in a paginated list503 - 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:
page- Page to start retrieving records forsize- Number of records to retrieveaccept- The accept parameter- Returns:
- PageBookingView
- 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<PageBookingView>> showBookingsWithHttpInfo(Integer page, Integer size, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showBookingsByReviewState
public reactor.core.publisher.Flux<BookingView> showBookingsByReviewState(String state, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Bookings by Review List bookings by their review state503 - 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:
state- Retrieve bookings by review stateaccept- The accept parameter- Returns:
- List<BookingView>
- 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<BookingView>>> showBookingsByReviewStateWithHttpInfo(String state, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showBookingsByState
public reactor.core.publisher.Flux<BookingView> showBookingsByState(String state, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Bookings by Time Retrieve bookings for a date state503 - 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:
state- Retrieve bookings by stateaccept- The accept parameter- Returns:
- List<BookingView>
- 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<BookingView>>> showBookingsByStateWithHttpInfo(String state, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showGroupedBookings
public reactor.core.publisher.Flux<BookingView> showGroupedBookings(String groupIdentifier, 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.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:
groupIdentifier- Retrieve booking by identifieraccept- The accept parameter- Returns:
- List<BookingView>
- 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<BookingView>>> showGroupedBookingsWithHttpInfo(String groupIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-