Class ReferenceApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-28T13:49:18.655773+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)
    • 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
    • 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