Class ChannelManagerApi

java.lang.Object
travel.wink.sdk.channel.manager.api.ChannelManagerApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-20T21:56:17.262387+07:00[Asia/Bangkok]") public class ChannelManagerApi extends Object
  • Constructor Details

    • ChannelManagerApi

      public ChannelManagerApi()
    • ChannelManagerApi

      @Autowired public ChannelManagerApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • showProperties

      public reactor.core.publisher.Mono<PageableNestedResourcePropertyEntityModel> showProperties(Integer page, Integer size, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Properties The properties endpoint provides the entry point into the listener and is used to list properties you have access to.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      page - Page through all properties owned by your account
      size - Limit results of records per page
      accept - The accept parameter
      Returns:
      PageableNestedResourcePropertyEntityModel
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertiesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageableNestedResourcePropertyEntityModel>> showPropertiesWithHttpInfo(Integer page, Integer size, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showProperty

      public reactor.core.publisher.Mono<PropertyWithRoomRateNestedResourcePropertyRoomRateEntityModel> showProperty(String propertyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Property Retrieves property record for identifier.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record for this propertyIdentifier
      accept - The accept parameter
      Returns:
      PropertyWithRoomRateNestedResourcePropertyRoomRateEntityModel
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PropertyWithRoomRateNestedResourcePropertyRoomRateEntityModel>> showPropertyWithHttpInfo(String propertyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showPropertyBooking

      public reactor.core.publisher.Mono<PropertyBookingEntityModel> showPropertyBooking(String propertyIdentifier, String bookingIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Booking Retrieves a specific booking by property / booking combo.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record owned by propertyIdentifier
      bookingIdentifier - Retrieve record for this bookingIdentifier
      accept - The accept parameter
      Returns:
      PropertyBookingEntityModel
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyBookingWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PropertyBookingEntityModel>> showPropertyBookingWithHttpInfo(String propertyIdentifier, String bookingIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showPropertyBookings

      public reactor.core.publisher.Mono<PropertyBookingsWithBookingNestedEntityModelPropertyBookingEntityModel> showPropertyBookings(String propertyIdentifier, OffsetDateTime startDate, OffsetDateTime endDate, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Bookings Retrieves a list of all bookings created for the specified property within the specified date range.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record owned by this propertyIdentifier
      startDate - Limit results on date range starting with
      endDate - Limit results on date range ending with
      accept - The accept parameter
      Returns:
      PropertyBookingsWithBookingNestedEntityModelPropertyBookingEntityModel
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyBookingsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PropertyBookingsWithBookingNestedEntityModelPropertyBookingEntityModel>> showPropertyBookingsWithHttpInfo(String propertyIdentifier, OffsetDateTime startDate, OffsetDateTime endDate, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showPropertyRoomRate

      public reactor.core.publisher.Mono<PropertyRateEntityModel> showPropertyRoomRate(String propertyIdentifier, String masterRateIdentifier, String rateIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Daily Rate Retrieves a single daily rate for property / master rate / daily rate identifier combo.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record owned by this propertyIdentifier
      masterRateIdentifier - Retrieve record owned by this masterRateIdentifier
      rateIdentifier - Retrieve rate for this rateIdentifier
      accept - The accept parameter
      Returns:
      PropertyRateEntityModel
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyRoomRateWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PropertyRateEntityModel>> showPropertyRoomRateWithHttpInfo(String propertyIdentifier, String masterRateIdentifier, String rateIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showPropertyRoomRates

      public reactor.core.publisher.Mono<PropertyRoomRateWithRateNestedEntityModelPropertyRateEntityModel> showPropertyRoomRates(String propertyIdentifier, String masterRateIdentifier, LocalDate startDate, LocalDate endDate, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Daily Rates Retrieves all daily rates for for property / master rate combo and a date range.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record owned by this propertyIdentifier
      masterRateIdentifier - Retrieve record owned by this masterRateIdentifier
      startDate - Limit results on date range starting with
      endDate - Limit results on date range ending with
      accept - The accept parameter
      Returns:
      PropertyRoomRateWithRateNestedEntityModelPropertyRateEntityModel
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyRoomRatesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PropertyRoomRateWithRateNestedEntityModelPropertyRateEntityModel>> showPropertyRoomRatesWithHttpInfo(String propertyIdentifier, String masterRateIdentifier, LocalDate startDate, LocalDate endDate, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateRates

      public reactor.core.publisher.Mono<Void> updateRates(String propertyIdentifier, String masterRateIdentifier, PropertyRateUpdateDto propertyRateUpdateDto) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Daily Rates Update daily rate / availability for a property / master rate combo.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      propertyIdentifier - Update rates owned by this propertyIdentifier
      masterRateIdentifier - Update rates owned by this masterRateIdentifier
      propertyRateUpdateDto - The propertyRateUpdateDto parameter
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateRatesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> updateRatesWithHttpInfo(String propertyIdentifier, String masterRateIdentifier, PropertyRateUpdateDto propertyRateUpdateDto) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException