Class AgreementApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-30T09:50:32.356842367+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<AgreementSupplier> showHotelAgreement(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show hotel agreement Retrieve hotel's current agreement

      503 - 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 parameter
      winkVersion - 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 agreement

      503 - 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 parameter
      winkVersion - 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 agreement

      503 - 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 parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • 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 agreement

      503 - 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 parameter
      agreementSupplier - The agreementSupplier parameter
      winkVersion - 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
      Update agreement Update hotel's current agreement

      503 - 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 parameter
      agreementSupplier - The agreementSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<HotelViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateHotelAgreementWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateHotelAgreementWithResponseSpec(String hotelIdentifier, AgreementSupplier agreementSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update agreement Update hotel's current agreement

      503 - 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 parameter
      agreementSupplier - The agreementSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API