Class SupplierApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-10-18T16:39:06.144766291+07:00[Asia/Bangkok]") public class SupplierApi extends Object
  • Constructor Details

    • SupplierApi

      public SupplierApi()
    • SupplierApi

      @Autowired public SupplierApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • browseSuppliers

      public reactor.core.publisher.Mono<PageHotelOnMapView> browseSuppliers(String companyIdentifier, State state) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show suppliers Retrieve page of suppliers.

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      state - The state parameter
      Returns:
      PageHotelOnMapView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • browseSuppliersWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageHotelOnMapView>> browseSuppliersWithHttpInfo(String companyIdentifier, State state) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showSupplier

      public reactor.core.publisher.Mono<HotelOnMapView> showSupplier(String companyIdentifier, String supplierIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show supplier Retrieve supplier information specified by identifier

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelOnMapView>> showSupplierWithHttpInfo(String companyIdentifier, String supplierIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showUniqueCityList

      public reactor.core.publisher.Flux<KeyValuePair> showUniqueCityList(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show unique supplier cities Retrieve a list of unique cities where suppliers live

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier 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
    • showUniqueCityListWithHttpInfo

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

      public reactor.core.publisher.Flux<KeyValuePair> showUniqueCountryList(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show unique supplier countries Retrieve a list of unique countries where suppliers live

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier 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
    • showUniqueCountryListWithHttpInfo

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