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-08-05T21:41:24.797077847+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, String accept) Show hotel agreement Retrieve hotel's current agreementreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AgreementSupplier>> showHotelAgreementWithHttpInfo(String hotelIdentifier, String winkVersion, String accept) Show hotel agreement Retrieve hotel's current agreementorg.springframework.web.reactive.function.client.WebClient.ResponseSpecshowHotelAgreementWithResponseSpec(String hotelIdentifier, String winkVersion, String accept) 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, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show hotel agreement Retrieve hotel's current agreement403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Retrieve agreement for hotel with this identifierwinkVersion- The winkVersion parameteraccept- The accept 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, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show hotel agreement Retrieve hotel's current agreement403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Retrieve agreement for hotel with this identifierwinkVersion- The winkVersion parameteraccept- The accept 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, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show hotel agreement Retrieve hotel's current agreement403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Retrieve agreement for hotel with this 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
-