Class OnboardingApi

java.lang.Object
travel.wink.sdk.extranet.api.OnboardingApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-11-08T09:36:20.822132243+07:00[Asia/Bangkok]") public class OnboardingApi extends Object
  • Constructor Details

    • OnboardingApi

      public OnboardingApi()
    • OnboardingApi

      @Autowired public OnboardingApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • registerHotel

      public reactor.core.publisher.Mono<HotelView> registerHotel(PropertyRegistrationRequest propertyRegistrationRequest, 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:
      propertyRegistrationRequest - The propertyRegistrationRequest parameter
      winkVersion - The winkVersion 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, String winkVersion) 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.

      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 identifier
      files - 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