Class ReferenceApi

java.lang.Object
travel.wink.sdk.booking.engine.api.ReferenceApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-07-01T17:00:30.497997+07:00[Asia/Bangkok]") public class ReferenceApi extends Object
  • Constructor Details

    • ReferenceApi

      public ReferenceApi()
    • ReferenceApi

      @Autowired public ReferenceApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • showAllExchangeRates

      public reactor.core.publisher.Mono<PageExchangeRateView> showAllExchangeRates(Integer page, Integer size, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show all exchange rates Show exchange rates for target currency and all payment-supported currencies.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Parameters:
      page - The page parameter
      size - The size parameter
      accept - The accept parameter
      Returns:
      PageExchangeRateView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showAllExchangeRatesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageExchangeRateView>> showAllExchangeRatesWithHttpInfo(Integer page, Integer size, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showAvailableCodesForCategory

      public reactor.core.publisher.Flux<KeyValuePair> showAvailableCodesForCategory(String category, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show OTA codes Shows payment-supported OTA codes based on given category.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Parameters:
      category - Requested OTA code
      accept - The accept parameter
      Returns:
      List<KeyValuePair>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showAvailableCodesForCategoryWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showAvailableCodesForCategoryWithHttpInfo(String category, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showAvailableOtaCategories

      public reactor.core.publisher.Flux<KeyValuePair> showAvailableOtaCategories(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show OTA category codes Shows payment-supported OTA categories.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showAvailableOtaCategoriesWithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showCurrencies

      public reactor.core.publisher.Flux<String> showCurrencies() throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show currencies List of payment-supported currencies.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Returns:
      List<String>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showCurrenciesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<String>>> showCurrenciesWithHttpInfo() throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showExchangeRate

      public reactor.core.publisher.Mono<Quote> showExchangeRate(String sourceCurrency, String targetCurrency) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show exchange rate Show exchange rate between target and source currency

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Parameters:
      sourceCurrency - The sourceCurrency parameter
      targetCurrency - The targetCurrency parameter
      Returns:
      Quote
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showExchangeRateWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Quote>> showExchangeRateWithHttpInfo(String sourceCurrency, String targetCurrency) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showExchangeRateCount

      public reactor.core.publisher.Mono<CountResponse> showExchangeRateCount(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show exchange rates count Returns a count of number of quotes available.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Parameters:
      accept - The accept parameter
      Returns:
      CountResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showExchangeRateCountWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CountResponse>> showExchangeRateCountWithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showExchangeRateForTargetCurrency

      public reactor.core.publisher.Flux<Quote> showExchangeRateForTargetCurrency(String currency) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show exchange rates Show exchange rates for target currency and all payment-supported currencies.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Quote>>> showExchangeRateForTargetCurrencyWithHttpInfo(String currency) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showHotelNames

      public reactor.core.publisher.Flux<KeyValuePair> showHotelNames(String name, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Hotel Name Search Search for property by name.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showHotelNamesWithHttpInfo(String name, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showLanguages

      public reactor.core.publisher.Flux<Language> showLanguages() throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Languages Retrieve list of system languages

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Returns:
      List<Language>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showLanguagesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Language>>> showLanguagesWithHttpInfo() throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showLifestyles

      public reactor.core.publisher.Flux<KeyValuePair> showLifestyles(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Lifestyles Retrieve list of all supported lifestyles indicated by an array of key / value pairs.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showLifestylesWithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showPerks

      public reactor.core.publisher.Flux<KeyValuePair> showPerks(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Perks Retrieve list of perks

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showPerksWithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showSocialNetworks

      public reactor.core.publisher.Flux<KeyValuePair> showSocialNetworks(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Social Networks Retrieve list of all supported social networks

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showSocialNetworksWithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException