Class ReferenceApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<PageExchangeRateView>showAllExchangeRates(Integer page, Integer size, String accept) Show all exchange rates Show exchange rates for target currency and all payment-supported currencies.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageExchangeRateView>>showAllExchangeRatesWithHttpInfo(Integer page, Integer size, String accept) reactor.core.publisher.Flux<KeyValuePair>showAvailableCodesForCategory(String category, String accept) Show OTA codes Shows payment-supported OTA codes based on given category.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showAvailableCodesForCategoryWithHttpInfo(String category, String accept) reactor.core.publisher.Flux<KeyValuePair>showAvailableOtaCategories(String accept) Show OTA category codes Shows payment-supported OTA categories.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>reactor.core.publisher.Flux<String>Show currencies List of payment-supported currencies.reactor.core.publisher.Mono<Quote>showExchangeRate(String sourceCurrency, String targetCurrency) Show exchange rate Show exchange rate between target and source currencyreactor.core.publisher.Mono<CountResponse>showExchangeRateCount(String accept) Show exchange rates count Returns a count of number of quotes available.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CountResponse>>reactor.core.publisher.Flux<Quote>showExchangeRateForTargetCurrency(String currency) Show exchange rates Show exchange rates for target currency and all payment-supported currencies.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Quote>>showExchangeRateWithHttpInfo(String sourceCurrency, String targetCurrency) reactor.core.publisher.Flux<KeyValuePair>showHotelNames(String name, String accept) Hotel Name Search Search for property by name.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showHotelNamesWithHttpInfo(String name, String accept) reactor.core.publisher.Flux<Language>503 - Service Unavailablereactor.core.publisher.Flux<KeyValuePair>showLifestyles(String accept) Show Lifestyles Retrieve list of all supported lifestyles indicated by an array of key / value pairs.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showLifestylesWithHttpInfo(String accept) reactor.core.publisher.Flux<KeyValuePair>Show Perks Retrieve list of perksreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showPerksWithHttpInfo(String accept) reactor.core.publisher.Flux<KeyValuePair>showSocialNetworks(String accept) Show Social Networks Retrieve list of all supported social networksreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showSocialNetworksWithHttpInfo(String accept)
-
Constructor Details
-
ReferenceApi
public ReferenceApi() -
ReferenceApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
page- The page parametersize- The size parameteraccept- 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.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
category- Requested OTA codeaccept- 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.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
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.WebClientResponseExceptionShow currencies List of payment-supported currencies.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
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 currency503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
sourceCurrency- The sourceCurrency parametertargetCurrency- 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.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
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.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
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.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
name- The name parameteraccept- 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.WebClientResponseException503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
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.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
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 perks503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
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 networks503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
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
-