Package travel.wink.sdk.extranet.api
Class OnboardingApi
java.lang.Object
travel.wink.sdk.extranet.api.OnboardingApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-29T13:20:57.452361+07:00[Asia/Bangkok]")
public class OnboardingApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<HotelView>registerHotel(PropertyRegistrationRequest propertyRegistrationRequest) Register property Registers a new property with the wink.travel payment.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>>registerHotelWithHttpInfo(PropertyRegistrationRequest propertyRegistrationRequest) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<Multimedia>uploadHotelLogos(String hotelIdentifier, List<File> files) Upload hotel logo Upload images of hotel logo that wink.travel can use for marketing purposes.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Multimedia>>>uploadHotelLogosWithHttpInfo(String hotelIdentifier, List<File> files)
-
Constructor Details
-
OnboardingApi
public OnboardingApi() -
OnboardingApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
registerHotel
public reactor.core.publisher.Mono<HotelView> registerHotel(PropertyRegistrationRequest propertyRegistrationRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Register property Registers a new property with the wink.travel payment. This is the minimum required dataset to onboard a 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
201 - Created
- Parameters:
propertyRegistrationRequest- The propertyRegistrationRequest parameter- Returns:
- HotelView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
registerHotelWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> registerHotelWithHttpInfo(PropertyRegistrationRequest propertyRegistrationRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
uploadHotelLogos
public reactor.core.publisher.Flux<Multimedia> uploadHotelLogos(String hotelIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException Upload hotel logo Upload images of hotel logo that wink.travel can use for marketing purposes.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
207 - Multi-Status
- Parameters:
hotelIdentifier- Property identifierfiles- Multipart file array- Returns:
- List<Multimedia>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
uploadHotelLogosWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Multimedia>>> uploadHotelLogosWithHttpInfo(String hotelIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-