Class SupplierLinksApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-12-27T18:00:24.319118463+07:00[Asia/Bangkok]") public class SupplierLinksApi extends Object
  • Constructor Details

    • SupplierLinksApi

      public SupplierLinksApi()
    • SupplierLinksApi

      @Autowired public SupplierLinksApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createSupplierUrl

      public reactor.core.publisher.Mono<SupplierUrlViewAffiliate> createSupplierUrl(String companyIdentifier, UpsertSupplierUrlRequestAffiliate upsertSupplierUrlRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Link Create a new shareable link

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      companyIdentifier - Create link owned by this owner identifier.
      upsertSupplierUrlRequestAffiliate - The upsertSupplierUrlRequestAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      SupplierUrlViewAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createSupplierUrlWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SupplierUrlViewAffiliate>> createSupplierUrlWithHttpInfo(String companyIdentifier, UpsertSupplierUrlRequestAffiliate upsertSupplierUrlRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Link Create a new shareable link

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      companyIdentifier - Create link owned by this owner identifier.
      upsertSupplierUrlRequestAffiliate - The upsertSupplierUrlRequestAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<SupplierUrlViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createSupplierUrlWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createSupplierUrlWithResponseSpec(String companyIdentifier, UpsertSupplierUrlRequestAffiliate upsertSupplierUrlRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Link Create a new shareable link

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      companyIdentifier - Create link owned by this owner identifier.
      upsertSupplierUrlRequestAffiliate - The upsertSupplierUrlRequestAffiliate 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
    • removeSupplierUrl

      public reactor.core.publisher.Mono<RemoveEntryResponseAffiliate> removeSupplierUrl(String companyIdentifier, String supplierUrlIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Link Delete a shareable link

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      companyIdentifier - Remove link owned by this owner identifier.
      supplierUrlIdentifier - Remove url with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      RemoveEntryResponseAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeSupplierUrlWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseAffiliate>> removeSupplierUrlWithHttpInfo(String companyIdentifier, String supplierUrlIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Link Delete a shareable link

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      companyIdentifier - Remove link owned by this owner identifier.
      supplierUrlIdentifier - Remove url with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RemoveEntryResponseAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeSupplierUrlWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeSupplierUrlWithResponseSpec(String companyIdentifier, String supplierUrlIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Link Delete a shareable link

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      companyIdentifier - Remove link owned by this owner identifier.
      supplierUrlIdentifier - Remove url with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSupplierUrl

      public reactor.core.publisher.Mono<SupplierUrlViewAffiliate> showSupplierUrl(String companyIdentifier, String supplierUrlIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Link Retrieve a specific shareable url for this seller

      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 - Show link owned by this owner identifier.
      supplierUrlIdentifier - Show link with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      SupplierUrlViewAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSupplierUrlWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SupplierUrlViewAffiliate>> showSupplierUrlWithHttpInfo(String companyIdentifier, String supplierUrlIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Link Retrieve a specific shareable url for this seller

      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 - Show link owned by this owner identifier.
      supplierUrlIdentifier - Show link with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<SupplierUrlViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSupplierUrlWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showSupplierUrlWithResponseSpec(String companyIdentifier, String supplierUrlIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Link Retrieve a specific shareable url for this seller

      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 - Show link owned by this owner identifier.
      supplierUrlIdentifier - Show link with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSupplierUrls

      public reactor.core.publisher.Flux<SupplierUrlViewAffiliate> showSupplierUrls(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Links Retrieve list of shareable urls for this seller

      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 - Show links list owned by this owner identifier.
      winkVersion - The winkVersion parameter
      Returns:
      List<SupplierUrlViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSupplierUrlsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SupplierUrlViewAffiliate>>> showSupplierUrlsWithHttpInfo(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Links Retrieve list of shareable urls for this seller

      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 - Show links list owned by this owner identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<SupplierUrlViewAffiliate>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSupplierUrlsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showSupplierUrlsWithResponseSpec(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Links Retrieve list of shareable urls for this seller

      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 - Show links list owned by this owner identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateSupplierUrl

      public reactor.core.publisher.Mono<SupplierUrlViewAffiliate> updateSupplierUrl(String companyIdentifier, String supplierUrlIdentifier, UpsertSupplierUrlRequestAffiliate upsertSupplierUrlRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update link Modify a shareable link

      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 - Update link owned by this owner identifier.
      supplierUrlIdentifier - Update url with this identifier.
      upsertSupplierUrlRequestAffiliate - The upsertSupplierUrlRequestAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      SupplierUrlViewAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateSupplierUrlWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SupplierUrlViewAffiliate>> updateSupplierUrlWithHttpInfo(String companyIdentifier, String supplierUrlIdentifier, UpsertSupplierUrlRequestAffiliate upsertSupplierUrlRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update link Modify a shareable link

      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 - Update link owned by this owner identifier.
      supplierUrlIdentifier - Update url with this identifier.
      upsertSupplierUrlRequestAffiliate - The upsertSupplierUrlRequestAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<SupplierUrlViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateSupplierUrlWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateSupplierUrlWithResponseSpec(String companyIdentifier, String supplierUrlIdentifier, UpsertSupplierUrlRequestAffiliate upsertSupplierUrlRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update link Modify a shareable link

      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 - Update link owned by this owner identifier.
      supplierUrlIdentifier - Update url with this identifier.
      upsertSupplierUrlRequestAffiliate - The upsertSupplierUrlRequestAffiliate 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