Class OnboardingApi
-
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) Register property Registers a new property with the wink.travel payment.org.springframework.web.reactive.function.client.WebClient.ResponseSpecregisterHotelWithResponseSpec(PropertyRegistrationRequestSupplier propertyRegistrationRequestSupplier, String winkVersion) Register property Registers a new property with the wink.travel payment.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) Upload hotel logo Upload images of hotel logo that wink.travel can use for marketing purposes.org.springframework.web.reactive.function.client.WebClient.ResponseSpecuploadHotelLogosWithResponseSpec(String hotelIdentifier, List<File> files) Upload hotel logo Upload images of hotel logo that wink.travel can use for marketing purposes.
-
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
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
400 - Bad Request
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 Register property Registers a new property with the wink.travel payment. This is the minimum required dataset to onboard a property.503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
400 - Bad Request
201 - Created
- Parameters:
propertyRegistrationRequestSupplier- The propertyRegistrationRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<HotelViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
registerHotelWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec registerHotelWithResponseSpec(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
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
400 - Bad Request
201 - Created
- Parameters:
propertyRegistrationRequestSupplier- The propertyRegistrationRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
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
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
400 - Bad Request
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 Upload hotel logo Upload images of hotel logo that wink.travel can use for marketing purposes.503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
400 - Bad Request
207 - Multi-Status
- Parameters:
hotelIdentifier- Property identifierfiles- Multipart file array- Returns:
- ResponseEntity<List<MultimediaViewSupplier>>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
uploadHotelLogosWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec uploadHotelLogosWithResponseSpec(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
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
400 - Bad Request
207 - Multi-Status
- Parameters:
hotelIdentifier- Property identifierfiles- Multipart file array- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-