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="2023-03-18T08:52:26.126132332+07:00[Asia/Bangkok]")
public class OnboardingApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<HotelViewSupplier>registerHotel(PropertyRegistrationRequestSupplier propertyRegistrationRequestSupplier, String winkVersion) Register property Registers a new property with the wink.travel payment.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelViewSupplier>>registerHotelWithHttpInfo(PropertyRegistrationRequestSupplier propertyRegistrationRequestSupplier, String winkVersion) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<MultimediaViewSupplier>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<MultimediaViewSupplier>>>uploadHotelLogosWithHttpInfo(String hotelIdentifier, List<File> files)
-
Constructor Details
-
OnboardingApi
public OnboardingApi() -
OnboardingApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
registerHotel
public reactor.core.publisher.Mono<HotelViewSupplier> registerHotel(PropertyRegistrationRequestSupplier propertyRegistrationRequestSupplier, String winkVersion) 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.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
201 - Created
- Parameters:
propertyRegistrationRequestSupplier- The propertyRegistrationRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- HotelViewSupplier
- 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<HotelViewSupplier>> registerHotelWithHttpInfo(PropertyRegistrationRequestSupplier propertyRegistrationRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
uploadHotelLogos
public reactor.core.publisher.Flux<MultimediaViewSupplier> 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.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
207 - Multi-Status
- Parameters:
hotelIdentifier- Property identifierfiles- Multipart file array- Returns:
- List<MultimediaViewSupplier>
- 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<MultimediaViewSupplier>>> uploadHotelLogosWithHttpInfo(String hotelIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-