Class AffiliateApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-28T12:37:26.819025+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<PageDisplayCompany> browseAffiliates(String hotelIdentifier, State state) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show pageable inventory Retrieve page of inventory for specified property.

      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:
      hotelIdentifier - The hotelIdentifier parameter
      state - The state parameter
      Returns:
      PageDisplayCompany
      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<PageDisplayCompany>> browseAffiliatesWithHttpInfo(String hotelIdentifier, State state) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showAffiliate

      public reactor.core.publisher.Mono<DisplayCompany> showAffiliate(String hotelIdentifier, String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show affiliate Retrieve affiliate information specified by identifier

      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:
      hotelIdentifier - The hotelIdentifier parameter
      companyIdentifier - The companyIdentifier parameter
      accept - The accept parameter
      Returns:
      DisplayCompany
      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<DisplayCompany>> showAffiliateWithHttpInfo(String hotelIdentifier, String companyIdentifier, 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 hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show unique affiliate cities Retrieve a list of unique cities where affiliates live

      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:
      hotelIdentifier - The hotelIdentifier 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 hotelIdentifier, 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 hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show unique affiliate countries Retrieve a list of unique countries where affiliates live

      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:
      hotelIdentifier - The hotelIdentifier 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 hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException