Class OnboardingApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-24T11:29:25.504149142+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<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

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      propertyRegistrationRequestSupplier - The propertyRegistrationRequestSupplier parameter
      winkVersion - 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

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      propertyRegistrationRequestSupplier - The propertyRegistrationRequestSupplier parameter
      winkVersion - 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

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      propertyRegistrationRequestSupplier - The propertyRegistrationRequestSupplier parameter
      winkVersion - 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

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Property identifier
      files - 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

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Property identifier
      files - 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

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Property identifier
      files - Multipart file array
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API