Class TravelAgentApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<BookingViewAgent> cancelBookingAsTravelAgent(String companyIdentifier, String bookingIdentifier, CancellationDetailAgent cancellationDetailAgent, String winkVersion) Cancel Booking Cancel a booking by its booking identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingViewAgent>> cancelBookingAsTravelAgentWithHttpInfo(String companyIdentifier, String bookingIdentifier, CancellationDetailAgent cancellationDetailAgent, String winkVersion) Cancel Booking Cancel a booking by its booking identifierorg.springframework.web.reactive.function.client.WebClient.ResponseSpeccancelBookingAsTravelAgentWithResponseSpec(String companyIdentifier, String bookingIdentifier, CancellationDetailAgent cancellationDetailAgent, String winkVersion) Cancel Booking Cancel a booking by its booking identifierreactor.core.publisher.Mono<BookingConfirmationsAgent> createAgentBooking(CreateAgentBookingRequestAgent createAgentBookingRequestAgent, String winkVersion) Create Agent Booking Create agent booking.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingConfirmationsAgent>> createAgentBookingWithHttpInfo(CreateAgentBookingRequestAgent createAgentBookingRequestAgent, String winkVersion) Create Agent Booking Create agent booking.org.springframework.web.reactive.function.client.WebClient.ResponseSpeccreateAgentBookingWithResponseSpec(CreateAgentBookingRequestAgent createAgentBookingRequestAgent, String winkVersion) Create Agent Booking Create agent booking.reactor.core.publisher.Mono<BooleanResponseAgent> resendBookingConfirmationEmailAsTravelAgent(String companyIdentifier, String bookingIdentifier, Object body, String winkVersion) Resend Booking Confirmation Resends booking confirmation email to traveler.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BooleanResponseAgent>> resendBookingConfirmationEmailAsTravelAgentWithHttpInfo(String companyIdentifier, String bookingIdentifier, Object body, String winkVersion) Resend Booking Confirmation Resends booking confirmation email to traveler.org.springframework.web.reactive.function.client.WebClient.ResponseSpecresendBookingConfirmationEmailAsTravelAgentWithResponseSpec(String companyIdentifier, String bookingIdentifier, Object body, String winkVersion) Resend Booking Confirmation Resends booking confirmation email to traveler.voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<BookingViewAgent> showBookingAsTravelAgent(String companyIdentifier, String bookingIdentifier, String winkVersion, String accept) Show Booking Show a booking record by its identifier.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingViewAgent>> showBookingAsTravelAgentWithHttpInfo(String companyIdentifier, String bookingIdentifier, String winkVersion, String accept) Show Booking Show a booking record by its identifier.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowBookingAsTravelAgentWithResponseSpec(String companyIdentifier, String bookingIdentifier, String winkVersion, String accept) Show Booking Show a booking record by its identifier.reactor.core.publisher.Mono<PageBookingViewAgent> showBookingGridAsTravelAgent(String companyIdentifier, StateAgent stateAgent, String winkVersion) Show Bookings Show bookings for the company that helped create those booking.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageBookingViewAgent>> showBookingGridAsTravelAgentWithHttpInfo(String companyIdentifier, StateAgent stateAgent, String winkVersion) Show Bookings Show bookings for the company that helped create those booking.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowBookingGridAsTravelAgentWithResponseSpec(String companyIdentifier, StateAgent stateAgent, String winkVersion) Show Bookings Show bookings for the company that helped create those booking.reactor.core.publisher.Mono<CompanyViewAgent> updateAgent(String companyIdentifier, UpsertTravelAgentRequestAgent upsertTravelAgentRequestAgent, String winkVersion) Update Agent Update an existing agentreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyViewAgent>> updateAgentWithHttpInfo(String companyIdentifier, UpsertTravelAgentRequestAgent upsertTravelAgentRequestAgent, String winkVersion) Update Agent Update an existing agentorg.springframework.web.reactive.function.client.WebClient.ResponseSpecupdateAgentWithResponseSpec(String companyIdentifier, UpsertTravelAgentRequestAgent upsertTravelAgentRequestAgent, String winkVersion) Update Agent Update an existing agent
-
Constructor Details
-
TravelAgentApi
public TravelAgentApi() -
TravelAgentApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
cancelBookingAsTravelAgent
public reactor.core.publisher.Mono<BookingViewAgent> cancelBookingAsTravelAgent(String companyIdentifier, String bookingIdentifier, CancellationDetailAgent cancellationDetailAgent, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Cancel Booking Cancel a booking by its booking identifier500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
companyIdentifier- Cancel booking owned by company identifierbookingIdentifier- Cancel booking by identifiercancellationDetailAgent- The cancellationDetailAgent parameterwinkVersion- The winkVersion parameter- Returns:
- BookingViewAgent
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
cancelBookingAsTravelAgentWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingViewAgent>> cancelBookingAsTravelAgentWithHttpInfo(String companyIdentifier, String bookingIdentifier, CancellationDetailAgent cancellationDetailAgent, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Cancel Booking Cancel a booking by its booking identifier500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
companyIdentifier- Cancel booking owned by company identifierbookingIdentifier- Cancel booking by identifiercancellationDetailAgent- The cancellationDetailAgent parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<BookingViewAgent>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
cancelBookingAsTravelAgentWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec cancelBookingAsTravelAgentWithResponseSpec(String companyIdentifier, String bookingIdentifier, CancellationDetailAgent cancellationDetailAgent, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Cancel Booking Cancel a booking by its booking identifier500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
companyIdentifier- Cancel booking owned by company identifierbookingIdentifier- Cancel booking by identifiercancellationDetailAgent- The cancellationDetailAgent parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createAgentBooking
public reactor.core.publisher.Mono<BookingConfirmationsAgent> createAgentBooking(CreateAgentBookingRequestAgent createAgentBookingRequestAgent, String winkVersion) 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.500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
201 - Created
- Parameters:
createAgentBookingRequestAgent- The createAgentBookingRequestAgent parameterwinkVersion- The winkVersion parameter- Returns:
- BookingConfirmationsAgent
- 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<BookingConfirmationsAgent>> createAgentBookingWithHttpInfo(CreateAgentBookingRequestAgent createAgentBookingRequestAgent, String winkVersion) 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.500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
201 - Created
- Parameters:
createAgentBookingRequestAgent- The createAgentBookingRequestAgent parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<BookingConfirmationsAgent>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createAgentBookingWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createAgentBookingWithResponseSpec(CreateAgentBookingRequestAgent createAgentBookingRequestAgent, String winkVersion) 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.500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
201 - Created
- Parameters:
createAgentBookingRequestAgent- The createAgentBookingRequestAgent parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
resendBookingConfirmationEmailAsTravelAgent
public reactor.core.publisher.Mono<BooleanResponseAgent> resendBookingConfirmationEmailAsTravelAgent(String companyIdentifier, String bookingIdentifier, Object body, 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:
companyIdentifier- Resend booking owned by company identifierbookingIdentifier- Resend booking by identifierbody- Empty request bodywinkVersion- The winkVersion parameter- Returns:
- BooleanResponseAgent
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
resendBookingConfirmationEmailAsTravelAgentWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BooleanResponseAgent>> resendBookingConfirmationEmailAsTravelAgentWithHttpInfo(String companyIdentifier, String bookingIdentifier, Object body, 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:
companyIdentifier- Resend booking owned by company identifierbookingIdentifier- Resend booking by identifierbody- Empty request bodywinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<BooleanResponseAgent>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
resendBookingConfirmationEmailAsTravelAgentWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec resendBookingConfirmationEmailAsTravelAgentWithResponseSpec(String companyIdentifier, String bookingIdentifier, Object body, 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:
companyIdentifier- Resend booking owned by company identifierbookingIdentifier- Resend booking by identifierbody- Empty request bodywinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showBookingAsTravelAgent
public reactor.core.publisher.Mono<BookingViewAgent> showBookingAsTravelAgent(String companyIdentifier, String bookingIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Booking Show a booking record by its identifier.500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
companyIdentifier- Show booking for company identifierbookingIdentifier- Show booking with booking identifierwinkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- BookingViewAgent
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showBookingAsTravelAgentWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingViewAgent>> showBookingAsTravelAgentWithHttpInfo(String companyIdentifier, String bookingIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Booking Show a booking record by its identifier.500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
companyIdentifier- Show booking for company identifierbookingIdentifier- Show booking with booking identifierwinkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseEntity<BookingViewAgent>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showBookingAsTravelAgentWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showBookingAsTravelAgentWithResponseSpec(String companyIdentifier, String bookingIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Booking Show a booking record by its identifier.500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
companyIdentifier- Show booking for company identifierbookingIdentifier- Show booking with booking identifierwinkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showBookingGridAsTravelAgent
public reactor.core.publisher.Mono<PageBookingViewAgent> showBookingGridAsTravelAgent(String companyIdentifier, StateAgent stateAgent, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Bookings Show bookings for the company that helped create those booking.500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
companyIdentifier- Show bookings for company identifierstateAgent- The stateAgent parameterwinkVersion- The winkVersion parameter- Returns:
- PageBookingViewAgent
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showBookingGridAsTravelAgentWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageBookingViewAgent>> showBookingGridAsTravelAgentWithHttpInfo(String companyIdentifier, StateAgent stateAgent, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Bookings Show bookings for the company that helped create those booking.500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
companyIdentifier- Show bookings for company identifierstateAgent- The stateAgent parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<PageBookingViewAgent>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showBookingGridAsTravelAgentWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showBookingGridAsTravelAgentWithResponseSpec(String companyIdentifier, StateAgent stateAgent, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Bookings Show bookings for the company that helped create those booking.500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
companyIdentifier- Show bookings for company identifierstateAgent- The stateAgent parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateAgent
public reactor.core.publisher.Mono<CompanyViewAgent> updateAgent(String companyIdentifier, UpsertTravelAgentRequestAgent upsertTravelAgentRequestAgent, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Agent Update an existing agent500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
companyIdentifier- Update agent by company idupsertTravelAgentRequestAgent- The upsertTravelAgentRequestAgent parameterwinkVersion- The winkVersion parameter- Returns:
- CompanyViewAgent
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateAgentWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyViewAgent>> updateAgentWithHttpInfo(String companyIdentifier, UpsertTravelAgentRequestAgent upsertTravelAgentRequestAgent, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Agent Update an existing agent500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
companyIdentifier- Update agent by company idupsertTravelAgentRequestAgent- The upsertTravelAgentRequestAgent parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<CompanyViewAgent>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateAgentWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateAgentWithResponseSpec(String companyIdentifier, UpsertTravelAgentRequestAgent upsertTravelAgentRequestAgent, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Agent Update an existing agent500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
companyIdentifier- Update agent by company idupsertTravelAgentRequestAgent- The upsertTravelAgentRequestAgent parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-