Class ChannelManagerApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-04-15T11:55:15.242722091+07:00[Asia/Bangkok]") public class ChannelManagerApi extends Object
  • Constructor Details

    • ChannelManagerApi

      public ChannelManagerApi()
    • ChannelManagerApi

      @Autowired public ChannelManagerApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • updateChannelManager

      public reactor.core.publisher.Mono<HotelViewSupplier> updateChannelManager(String hotelIdentifier, UpdateChannelManagerRequestSupplier updateChannelManagerRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Set channel manager Set which channel manager this property uses. Channel managers are not allowed access to rates until the property selects them as their channel manager.

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      200 - OK

      Parameters:
      hotelIdentifier - Set channel manager for this hotel identifier
      updateChannelManagerRequestSupplier - The updateChannelManagerRequestSupplier 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
    • updateChannelManagerWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelViewSupplier>> updateChannelManagerWithHttpInfo(String hotelIdentifier, UpdateChannelManagerRequestSupplier updateChannelManagerRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Set channel manager Set which channel manager this property uses. Channel managers are not allowed access to rates until the property selects them as their channel manager.

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      200 - OK

      Parameters:
      hotelIdentifier - Set channel manager for this hotel identifier
      updateChannelManagerRequestSupplier - The updateChannelManagerRequestSupplier 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
    • updateChannelManagerWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateChannelManagerWithResponseSpec(String hotelIdentifier, UpdateChannelManagerRequestSupplier updateChannelManagerRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Set channel manager Set which channel manager this property uses. Channel managers are not allowed access to rates until the property selects them as their channel manager.

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      200 - OK

      Parameters:
      hotelIdentifier - Set channel manager for this hotel identifier
      updateChannelManagerRequestSupplier - The updateChannelManagerRequestSupplier 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