Class MasterRateApi

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

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

    • MasterRateApi

      public MasterRateApi()
    • MasterRateApi

      @Autowired public MasterRateApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • setPerks

      public reactor.core.publisher.Mono<MasterRateViewSupplier> setPerks(String hotelIdentifier, String masterRateIdentifier, SetMasterRatePerkRequestSupplier setMasterRatePerkRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Set Master Rate Perks Manage perks for this master rate.

      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 - Update existing master rate owned by this hotel identifier.
      masterRateIdentifier - Update existing master rate with this identifier.
      setMasterRatePerkRequestSupplier - The setMasterRatePerkRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      MasterRateViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • setPerksWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<MasterRateViewSupplier>> setPerksWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, SetMasterRatePerkRequestSupplier setMasterRatePerkRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Set Master Rate Perks Manage perks for this master rate.

      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 - Update existing master rate owned by this hotel identifier.
      masterRateIdentifier - Update existing master rate with this identifier.
      setMasterRatePerkRequestSupplier - The setMasterRatePerkRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<MasterRateViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • setPerksWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec setPerksWithResponseSpec(String hotelIdentifier, String masterRateIdentifier, SetMasterRatePerkRequestSupplier setMasterRatePerkRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Set Master Rate Perks Manage perks for this master rate.

      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 - Update existing master rate owned by this hotel identifier.
      masterRateIdentifier - Update existing master rate with this identifier.
      setMasterRatePerkRequestSupplier - The setMasterRatePerkRequestSupplier 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
    • showMasterRate

      public reactor.core.publisher.Mono<MasterRateViewSupplier> showMasterRate(String hotelIdentifier, String masterRateIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Master Rate Retrieve a master rate by its identifier

      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 - Show single master rate owned by this hotel identifier.
      masterRateIdentifier - Show single master rate with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      MasterRateViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showMasterRateWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<MasterRateViewSupplier>> showMasterRateWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Master Rate Retrieve a master rate by its identifier

      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 - Show single master rate owned by this hotel identifier.
      masterRateIdentifier - Show single master rate with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<MasterRateViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showMasterRateWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showMasterRateWithResponseSpec(String hotelIdentifier, String masterRateIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Master Rate Retrieve a master rate by its identifier

      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 - Show single master rate owned by this hotel identifier.
      masterRateIdentifier - Show single master rate with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showMasterRates1

      public reactor.core.publisher.Flux<MasterRateViewSupplier> showMasterRates1(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Master Rates Retrieve list of master rates

      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 - Show all master rates owned by this hotel identifier.
      winkVersion - The winkVersion parameter
      Returns:
      List<MasterRateViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showMasterRates1WithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<MasterRateViewSupplier>>> showMasterRates1WithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Master Rates Retrieve list of master rates

      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 - Show all master rates owned by this hotel identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<MasterRateViewSupplier>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showMasterRates1WithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showMasterRates1WithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Master Rates Retrieve list of master rates

      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 - Show all master rates owned by this hotel identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • toggleMasterRate

      public reactor.core.publisher.Mono<MasterRateViewSupplier> toggleMasterRate(String hotelIdentifier, String masterRateIdentifier, ToggleMasterRateRequestSupplier toggleMasterRateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Toggle Master Rate Update a master rate by its identifier

      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 - Update existing master rate owned by this hotel identifier.
      masterRateIdentifier - Update existing master rate with this identifier.
      toggleMasterRateRequestSupplier - The toggleMasterRateRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      MasterRateViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • toggleMasterRateWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<MasterRateViewSupplier>> toggleMasterRateWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, ToggleMasterRateRequestSupplier toggleMasterRateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Toggle Master Rate Update a master rate by its identifier

      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 - Update existing master rate owned by this hotel identifier.
      masterRateIdentifier - Update existing master rate with this identifier.
      toggleMasterRateRequestSupplier - The toggleMasterRateRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<MasterRateViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • toggleMasterRateWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec toggleMasterRateWithResponseSpec(String hotelIdentifier, String masterRateIdentifier, ToggleMasterRateRequestSupplier toggleMasterRateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Toggle Master Rate Update a master rate by its identifier

      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 - Update existing master rate owned by this hotel identifier.
      masterRateIdentifier - Update existing master rate with this identifier.
      toggleMasterRateRequestSupplier - The toggleMasterRateRequestSupplier 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