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="2024-04-25T09:03:50.356743433+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) Show hotel agreement Retrieve hotel's current agreementorg.springframework.web.reactive.function.client.WebClient.ResponseSpecshowHotelAgreementWithResponseSpec(String hotelIdentifier, String winkVersion) Show hotel agreement Retrieve hotel's current agreement
-
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
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 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
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<AgreementSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showHotelAgreementWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showHotelAgreementWithResponseSpec(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
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-