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="2022-05-28T13:49:39.867864+07:00[Asia/Bangkok]")
public class AgreementApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<Agreement>showHotelAgreement(String hotelIdentifier, String accept) Show hotel agreement Retrieve hotel's current agreementreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Agreement>>showHotelAgreementWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<BooleanResponse>updateHotelAgreement(String hotelIdentifier, Agreement agreement) Update agreement Update hotel's current agreementreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BooleanResponse>>updateHotelAgreementWithHttpInfo(String hotelIdentifier, Agreement agreement)
-
Constructor Details
-
AgreementApi
public AgreementApi() -
AgreementApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
showHotelAgreement
public reactor.core.publisher.Mono<Agreement> showHotelAgreement(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show hotel agreement Retrieve hotel's current agreement405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameteraccept- The accept parameter- Returns:
- Agreement
- 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<Agreement>> showHotelAgreementWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateHotelAgreement
public reactor.core.publisher.Mono<BooleanResponse> updateHotelAgreement(String hotelIdentifier, Agreement agreement) throws org.springframework.web.reactive.function.client.WebClientResponseException Update agreement Update hotel's current agreement405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameteragreement- The agreement parameter- Returns:
- BooleanResponse
- 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<BooleanResponse>> updateHotelAgreementWithHttpInfo(String hotelIdentifier, Agreement agreement) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-