Package travel.wink.sdk.affiliate.api
Class AffiliateLeadApi
java.lang.Object
travel.wink.sdk.affiliate.api.AffiliateLeadApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-12T16:59:18.389569124+07:00[Asia/Bangkok]")
public class AffiliateLeadApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<SupplierLeadAffiliate> createLead(String companyIdentifier, GooglePlaceDetailRequestAffiliate googlePlaceDetailRequestAffiliate, String winkVersion) Create lead Creates a new supplier lead based on information retrieved from Google Placesreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SupplierLeadAffiliate>> createLeadWithHttpInfo(String companyIdentifier, GooglePlaceDetailRequestAffiliate googlePlaceDetailRequestAffiliate, String winkVersion) Create lead Creates a new supplier lead based on information retrieved from Google Placesorg.springframework.web.reactive.function.client.WebClient.ResponseSpeccreateLeadWithResponseSpec(String companyIdentifier, GooglePlaceDetailRequestAffiliate googlePlaceDetailRequestAffiliate, String winkVersion) Create lead Creates a new supplier lead based on information retrieved from Google PlacesvoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
AffiliateLeadApi
public AffiliateLeadApi() -
AffiliateLeadApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createLead
public reactor.core.publisher.Mono<SupplierLeadAffiliate> createLead(String companyIdentifier, GooglePlaceDetailRequestAffiliate googlePlaceDetailRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create lead Creates a new supplier lead based on information retrieved from Google Places503 - 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 lead by this owner identifier.googlePlaceDetailRequestAffiliate- The googlePlaceDetailRequestAffiliate parameterwinkVersion- The winkVersion parameter- Returns:
- SupplierLeadAffiliate
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createLeadWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SupplierLeadAffiliate>> createLeadWithHttpInfo(String companyIdentifier, GooglePlaceDetailRequestAffiliate googlePlaceDetailRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create lead Creates a new supplier lead based on information retrieved from Google Places503 - 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 lead by this owner identifier.googlePlaceDetailRequestAffiliate- The googlePlaceDetailRequestAffiliate parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<SupplierLeadAffiliate>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createLeadWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createLeadWithResponseSpec(String companyIdentifier, GooglePlaceDetailRequestAffiliate googlePlaceDetailRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create lead Creates a new supplier lead based on information retrieved from Google Places503 - 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 lead by this owner identifier.googlePlaceDetailRequestAffiliate- The googlePlaceDetailRequestAffiliate parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-