Class SupplierApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-08-24T16:35:23.308163582+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<PageHotelOnMapViewAffiliate> browseSuppliers(String companyIdentifier, StateAffiliate stateAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show suppliers Retrieve page of suppliers.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      stateAffiliate - The stateAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      PageHotelOnMapViewAffiliate
      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<PageHotelOnMapViewAffiliate>> browseSuppliersWithHttpInfo(String companyIdentifier, StateAffiliate stateAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show suppliers Retrieve page of suppliers.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      stateAffiliate - The stateAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<PageHotelOnMapViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • browseSuppliersWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec browseSuppliersWithResponseSpec(String companyIdentifier, StateAffiliate stateAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show suppliers Retrieve page of suppliers.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      stateAffiliate - The stateAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showLatestSupplier

      public reactor.core.publisher.Flux<HotelOnMapViewAffiliate> showLatestSupplier(String companyIdentifier, Integer page, Integer size, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Latest Inventory Retrieves a list of latest available inventory.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - Browse suppliers on behalf of this owner identifier.
      page - Skip to page.
      size - Skip to page.
      winkVersion - The winkVersion parameter
      Returns:
      List<HotelOnMapViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showLatestSupplierWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<HotelOnMapViewAffiliate>>> showLatestSupplierWithHttpInfo(String companyIdentifier, Integer page, Integer size, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Latest Inventory Retrieves a list of latest available inventory.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - Browse suppliers on behalf of this owner identifier.
      page - Skip to page.
      size - Skip to page.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<HotelOnMapViewAffiliate>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showLatestSupplierWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showLatestSupplierWithResponseSpec(String companyIdentifier, Integer page, Integer size, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Latest Inventory Retrieves a list of latest available inventory.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - Browse suppliers on behalf of this owner identifier.
      page - Skip to page.
      size - Skip to page.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSupplier

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

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      supplierIdentifier - The supplierIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      HotelOnMapViewAffiliate
      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<HotelOnMapViewAffiliate>> showSupplierWithHttpInfo(String companyIdentifier, String supplierIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show supplier Retrieve supplier information specified by identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      supplierIdentifier - The supplierIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<HotelOnMapViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSupplierWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showSupplierWithResponseSpec(String companyIdentifier, String supplierIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show supplier Retrieve supplier information specified by identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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

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

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      List<KeyValuePairAffiliate>
      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<KeyValuePairAffiliate>>> showUniqueCityListWithHttpInfo(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show unique supplier cities Retrieve a list of unique cities where suppliers live

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<KeyValuePairAffiliate>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showUniqueCityListWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showUniqueCityListWithResponseSpec(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show unique supplier cities Retrieve a list of unique cities where suppliers live

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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

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

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      List<KeyValuePairAffiliate>
      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<KeyValuePairAffiliate>>> showUniqueCountryListWithHttpInfo(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show unique supplier countries Retrieve a list of unique countries where suppliers live

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<KeyValuePairAffiliate>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showUniqueCountryListWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showUniqueCountryListWithResponseSpec(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show unique supplier countries Retrieve a list of unique countries where suppliers live

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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