Class AffiliateApi

java.lang.Object
travel.wink.sdk.extranet.api.AffiliateApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-06T10:49:48.675577965+07:00[Asia/Bangkok]") public class AffiliateApi extends Object
  • Constructor Details

    • AffiliateApi

      public AffiliateApi()
    • AffiliateApi

      @Autowired public AffiliateApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • browseAffiliates

      public reactor.core.publisher.Mono<PageDisplayCompanyWithSalesMetricsSupplier> browseAffiliates(String hotelIdentifier, StateSupplier stateSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show affiliates Retrieve page of affiliates.

      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:
      hotelIdentifier - The hotelIdentifier parameter
      stateSupplier - The stateSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      PageDisplayCompanyWithSalesMetricsSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • browseAffiliatesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageDisplayCompanyWithSalesMetricsSupplier>> browseAffiliatesWithHttpInfo(String hotelIdentifier, StateSupplier stateSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show affiliates Retrieve page of affiliates.

      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:
      hotelIdentifier - The hotelIdentifier parameter
      stateSupplier - The stateSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<PageDisplayCompanyWithSalesMetricsSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • browseAffiliatesWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec browseAffiliatesWithResponseSpec(String hotelIdentifier, StateSupplier stateSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show affiliates Retrieve page of affiliates.

      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:
      hotelIdentifier - The hotelIdentifier parameter
      stateSupplier - The stateSupplier 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
    • showAffiliate

      public reactor.core.publisher.Mono<CompanyDetailsBookingSalesMetricsSupplier> showAffiliate(String hotelIdentifier, String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show affiliate Retrieve affiliate 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:
      hotelIdentifier - The hotelIdentifier parameter
      companyIdentifier - The companyIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      CompanyDetailsBookingSalesMetricsSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showAffiliateWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyDetailsBookingSalesMetricsSupplier>> showAffiliateWithHttpInfo(String hotelIdentifier, String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show affiliate Retrieve affiliate 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:
      hotelIdentifier - The hotelIdentifier parameter
      companyIdentifier - The companyIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<CompanyDetailsBookingSalesMetricsSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showAffiliateWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showAffiliateWithResponseSpec(String hotelIdentifier, String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show affiliate Retrieve affiliate 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:
      hotelIdentifier - The hotelIdentifier parameter
      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
    • showUniqueCityList

      public reactor.core.publisher.Flux<KeyValuePairSupplier> showUniqueCityList(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show unique affiliate cities Retrieve a list of unique cities where affiliates 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:
      hotelIdentifier - The hotelIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      List<KeyValuePairSupplier>
      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<KeyValuePairSupplier>>> showUniqueCityListWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show unique affiliate cities Retrieve a list of unique cities where affiliates 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:
      hotelIdentifier - The hotelIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<KeyValuePairSupplier>>
      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 hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show unique affiliate cities Retrieve a list of unique cities where affiliates 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:
      hotelIdentifier - The hotelIdentifier 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<KeyValuePairSupplier> showUniqueCountryList(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show unique affiliate countries Retrieve a list of unique countries where affiliates 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:
      hotelIdentifier - The hotelIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      List<KeyValuePairSupplier>
      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<KeyValuePairSupplier>>> showUniqueCountryListWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show unique affiliate countries Retrieve a list of unique countries where affiliates 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:
      hotelIdentifier - The hotelIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<KeyValuePairSupplier>>
      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 hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show unique affiliate countries Retrieve a list of unique countries where affiliates 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:
      hotelIdentifier - The hotelIdentifier 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