Class PropertyApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-27T09:29:05.118372+07:00[Asia/Bangkok]") public class PropertyApi extends Object
  • Constructor Details

    • PropertyApi

      public PropertyApi()
    • PropertyApi

      @Autowired public PropertyApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • isHotelNameUnique

      public reactor.core.publisher.Mono<UniqueResult> isHotelNameUnique(String key, String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Check hotel name uniqueness Check if hotel name is a unique.

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      key - Search for uniqueness for this hotel name.
      hotelIdentifier - Optional, existing hotel identifier
      accept - The accept parameter
      Returns:
      UniqueResult
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • isHotelNameUniqueWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UniqueResult>> isHotelNameUniqueWithHttpInfo(String key, String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • onboardToKYCPath

      public reactor.core.publisher.Mono<Wizard> onboardToKYCPath(String hotelIdentifier) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Begin Property Verification KYC required for properties in the U.S..

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      Returns:
      Wizard
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • onboardToKYCPathWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Wizard>> onboardToKYCPathWithHttpInfo(String hotelIdentifier) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showHotelByManager

      public reactor.core.publisher.Mono<HotelView> showHotelByManager(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show hotel Retrieve hotel by hotel identifier

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Retrieve property record for this hotel identifier
      accept - The accept parameter
      Returns:
      HotelView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showHotelByManagerWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> showHotelByManagerWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showHotelStatus

      public reactor.core.publisher.Mono<HotelStatus> showHotelStatus(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show hotel status Retrieve hotel status

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show property status for this hotel identifier
      accept - The accept parameter
      Returns:
      HotelStatus
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showHotelStatusWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelStatus>> showHotelStatusWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showHotelsByManager

      public reactor.core.publisher.Flux<HotelView> showHotelsByManager(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show hotels Retrieve a list of all your hotels

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      accept - The accept parameter
      Returns:
      List<HotelView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showHotelsByManagerWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<HotelView>>> showHotelsByManagerWithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateBasics

      public reactor.core.publisher.Mono<BasicHotelInformation> updateBasics(String hotelIdentifier, BasicHotelInformation basicHotelInformation) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update information Update basic property information

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update basic information for this hotel identifier
      basicHotelInformation - The basicHotelInformation parameter
      Returns:
      BasicHotelInformation
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateBasicsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BasicHotelInformation>> updateBasicsWithHttpInfo(String hotelIdentifier, BasicHotelInformation basicHotelInformation) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateHotelStatus

      public reactor.core.publisher.Mono<HotelStatus> updateHotelStatus(String hotelIdentifier, HotelStatus hotelStatus) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update hotel status Update hotel status

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Change status for this hotel identifier
      hotelStatus - The hotelStatus parameter
      Returns:
      HotelStatus
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateHotelStatusWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelStatus>> updateHotelStatusWithHttpInfo(String hotelIdentifier, HotelStatus hotelStatus) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateServices

      public reactor.core.publisher.Mono<PropertyAmenities> updateServices(String hotelIdentifier, PropertyAmenities propertyAmenities) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update property services Manage property amenity, accessibility and security features.

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Set services for this hotel identifier
      propertyAmenities - The propertyAmenities parameter
      Returns:
      PropertyAmenities
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateServicesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PropertyAmenities>> updateServicesWithHttpInfo(String hotelIdentifier, PropertyAmenities propertyAmenities) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException