Class DailyRateApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-20T22:26:49.575007+07:00[Asia/Bangkok]") public class DailyRateApi extends Object
  • Constructor Details

    • DailyRateApi

      public DailyRateApi()
    • DailyRateApi

      @Autowired public DailyRateApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • bulkUpdateRate

      public reactor.core.publisher.Flux<Rate> bulkUpdateRate(String hotelIdentifier, String masterRateIdentifier, DailyRateUpdate dailyRateUpdate) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Daily Rates by Range Bulk update daily rates by date range

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - Update daily rates by date range owned by this hotel identifier.
      masterRateIdentifier - Update daily rates by date range owned by this master rate.
      dailyRateUpdate - The dailyRateUpdate parameter
      Returns:
      List<Rate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • bulkUpdateRateWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Rate>>> bulkUpdateRateWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, DailyRateUpdate dailyRateUpdate) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • bulkUpdateRate1

      public reactor.core.publisher.Flux<Rate> bulkUpdateRate1(String hotelIdentifier, String masterRateIdentifier, DailyRateListUpdate dailyRateListUpdate) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Daily Rates by List Update daily rates with list of daily rate records.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - Update daily rates list owned by this hotel identifier.
      masterRateIdentifier - Update daily rates list owned by this master rate.
      dailyRateListUpdate - The dailyRateListUpdate parameter
      Returns:
      List<Rate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • bulkUpdateRate1WithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Rate>>> bulkUpdateRate1WithHttpInfo(String hotelIdentifier, String masterRateIdentifier, DailyRateListUpdate dailyRateListUpdate) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • createTestBooking

      public reactor.core.publisher.Mono<BookingView> createTestBooking(String hotelIdentifier, BookingTestRequest bookingTestRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Test Rate / Availability Test whether the rates and availability for a sales channel is coming backing the way the property wants

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      bookingTestRequest - The bookingTestRequest parameter
      Returns:
      BookingView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createTestBookingWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingView>> createTestBookingWithHttpInfo(String hotelIdentifier, BookingTestRequest bookingTestRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showAllHotelRates

      public reactor.core.publisher.Flux<Rate> showAllHotelRates(String hotelIdentifier, DateRange dateRange) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Daily Rates by Hotel Retrieve daily rates for all master rates by date range

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - Show daily rate list owned by this hotel identifier.
      dateRange - The dateRange parameter
      Returns:
      List<Rate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showAllHotelRatesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Rate>>> showAllHotelRatesWithHttpInfo(String hotelIdentifier, DateRange dateRange) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showAllMasterRatesRates

      public reactor.core.publisher.Flux<Rate> showAllMasterRatesRates(String hotelIdentifier, String masterRateIdentifier, DateRange dateRange) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Daily Rates by Master Rate Retrieve daily rates for a master rate for date range

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - Show daily rate list owned by this hotel identifier.
      masterRateIdentifier - Show daily rate list owned by this master rate.
      dateRange - The dateRange parameter
      Returns:
      List<Rate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showAllMasterRatesRatesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Rate>>> showAllMasterRatesRatesWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, DateRange dateRange) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showChannels

      public reactor.core.publisher.Flux<ChannelName> showChannels(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      List Sales Channels List sales channels for property

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      accept - The accept parameter
      Returns:
      List<ChannelName>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showChannelsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<ChannelName>>> showChannelsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showDailyRatesPage

      public reactor.core.publisher.Mono<PageRate> showDailyRatesPage(String hotelIdentifier, String masterRateIdentifier, State state) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Daily Rate Page Retrieve daily rates for a master rate within a certain date range.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - Show daily rate page owned by this hotel identifier.
      masterRateIdentifier - Show daily rate page owned by this master rate.
      state - The state parameter
      Returns:
      PageRate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showDailyRatesPageWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageRate>> showDailyRatesPageWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, State state) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showDescriptiveInventory

      public reactor.core.publisher.Flux<DescriptiveRoom> showDescriptiveInventory(String hotelIdentifier, RateTester rateTester) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Test Rate / Availability Test whether the rates and availability for a sales channel is coming backing the way the property wants

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      rateTester - The rateTester parameter
      Returns:
      List<DescriptiveRoom>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showDescriptiveInventoryWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<DescriptiveRoom>>> showDescriptiveInventoryWithHttpInfo(String hotelIdentifier, RateTester rateTester) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException