Class AgreementApi

java.lang.Object
travel.wink.sdk.extranet.api.AgreementApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-11T13:46:18.379510+07:00[Asia/Bangkok]") public class AgreementApi extends Object
  • Constructor Details

    • AgreementApi

      public AgreementApi()
    • AgreementApi

      @Autowired public AgreementApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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 agreement

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      accept - 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<HotelView> updateHotelAgreement(String hotelIdentifier, Agreement agreement) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update agreement Update hotel's current agreement

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      agreement - The agreement parameter
      Returns:
      HotelView
      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<HotelView>> updateHotelAgreementWithHttpInfo(String hotelIdentifier, Agreement agreement) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException