Package travel.wink.sdk.extranet.api
Class AgreementApi
java.lang.Object
travel.wink.sdk.extranet.api.AgreementApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-03-10T10:48:44.479471290+07:00[Asia/Bangkok]")
public class AgreementApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<AgreementSupplier>showHotelAgreement(String hotelIdentifier, String winkVersion) Show hotel agreement Retrieve hotel's current agreementreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AgreementSupplier>>showHotelAgreementWithHttpInfo(String hotelIdentifier, String winkVersion) reactor.core.publisher.Mono<HotelViewSupplier>updateHotelAgreement(String hotelIdentifier, AgreementSupplier agreementSupplier, String winkVersion) Update agreement Update hotel's current agreementreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelViewSupplier>>updateHotelAgreementWithHttpInfo(String hotelIdentifier, AgreementSupplier agreementSupplier, String winkVersion)
-
Constructor Details
-
AgreementApi
public AgreementApi() -
AgreementApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
showHotelAgreement
public reactor.core.publisher.Mono<AgreementSupplier> showHotelAgreement(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show hotel agreement Retrieve hotel's current agreement503 - 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- The hotelIdentifier parameterwinkVersion- The winkVersion parameter- Returns:
- AgreementSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showHotelAgreementWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AgreementSupplier>> showHotelAgreementWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateHotelAgreement
public reactor.core.publisher.Mono<HotelViewSupplier> updateHotelAgreement(String hotelIdentifier, AgreementSupplier agreementSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update agreement Update hotel's current agreement503 - 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- The hotelIdentifier parameteragreementSupplier- The agreementSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- HotelViewSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateHotelAgreementWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelViewSupplier>> updateHotelAgreementWithHttpInfo(String hotelIdentifier, AgreementSupplier agreementSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-