Class DiscoverApi

java.lang.Object
travel.wink.sdk.affiliate.api.DiscoverApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-09-16T10:41:04.695846072+07:00[Asia/Bangkok]") public class DiscoverApi extends Object
  • Constructor Details

    • DiscoverApi

      public DiscoverApi()
    • DiscoverApi

      @Autowired public DiscoverApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • showCitiesForInventory

      public reactor.core.publisher.Flux<GeoName> showCitiesForInventory(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Inventory Cities Retrieve list of cities affiliate has access to.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - List cities for inventory on behalf of this owner identifier.
      accept - The accept parameter
      Returns:
      List<GeoName>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showCitiesForInventoryWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<GeoName>>> showCitiesForInventoryWithHttpInfo(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showCountriesForInventory

      public reactor.core.publisher.Flux<Country> showCountriesForInventory(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Inventory Countries Retrieve list of countries affiliate has access to.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - List countries for inventory on behalf of this owner identifier.
      accept - The accept parameter
      Returns:
      List<Country>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showCountriesForInventoryWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Country>>> showCountriesForInventoryWithHttpInfo(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showDynamicSellerInventory

      public reactor.core.publisher.Mono<PageSellerInventory> showDynamicSellerInventory(String companyIdentifier, DynamicSellerListRequest dynamicSellerListRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Inventory Search Retrieves a paginated result set based on the search criteria of the caller.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - Browse inventory on behalf of this owner identifier.
      dynamicSellerListRequest - The dynamicSellerListRequest parameter
      Returns:
      PageSellerInventory
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showDynamicSellerInventoryWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageSellerInventory>> showDynamicSellerInventoryWithHttpInfo(String companyIdentifier, DynamicSellerListRequest dynamicSellerListRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException