Class SalesChannelsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<SalesChannel>createSalesChannel(String hotelIdentifier, SalesChannelCreateRequest salesChannelCreateRequest, String winkVersion) Create sales channel Create a new sales channel.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannel>>createSalesChannelWithHttpInfo(String hotelIdentifier, SalesChannelCreateRequest salesChannelCreateRequest, String winkVersion) reactor.core.publisher.Mono<RemoveEntryResponse>removeSalesChannel(String hotelIdentifier, String salesChannelIdentifier, String winkVersion) Remove sales channel Delete a specific sales channelreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removeSalesChannelWithHttpInfo(String hotelIdentifier, String salesChannelIdentifier, String winkVersion) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<SalesChannel>showAccounts(String hotelIdentifier, String winkVersion) Show sales channels Retrieve list of all sales channels for this property.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SalesChannel>>>showAccountsWithHttpInfo(String hotelIdentifier, String winkVersion) reactor.core.publisher.Mono<SalesChannel>showSalesChannel(String hotelIdentifier, String salesChannelIdentifier, String winkVersion) Show sales channel Retrieve a specific sales channel by identifier.reactor.core.publisher.Flux<SelectableKeyValuePair>showSalesChannelContextRateModifierBundlePairs(String hotelIdentifier, String rateModifierBundleIdentifier, String winkVersion) Show rate modifier bundle availability Display a list of key / value pairs that shows the availability of sales channels in the context of rate modifier bundles.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SelectableKeyValuePair>>>showSalesChannelContextRateModifierBundlePairsWithHttpInfo(String hotelIdentifier, String rateModifierBundleIdentifier, String winkVersion) reactor.core.publisher.Flux<SelectableKeyValuePair>showSalesChannelContextRateModifierPairs(String hotelIdentifier, String rateModifierIdentifier, String winkVersion) Show rate modifier availability Display a list of key / value pairs that shows the availability of sales channels in the context of rate modifiers.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SelectableKeyValuePair>>>showSalesChannelContextRateModifierPairsWithHttpInfo(String hotelIdentifier, String rateModifierIdentifier, String winkVersion) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannel>>showSalesChannelWithHttpInfo(String hotelIdentifier, String salesChannelIdentifier, String winkVersion) reactor.core.publisher.Flux<SalesChannel>toggleSalesChannelPromoAvailability(String hotelIdentifier, String rateModifierIdentifier, List<InventoryUpdateRequest> inventoryUpdateRequest, String winkVersion) Update sale channels promos Toggles availability of a promo for a list of sales channelsreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SalesChannel>>>toggleSalesChannelPromoAvailabilityWithHttpInfo(String hotelIdentifier, String rateModifierIdentifier, List<InventoryUpdateRequest> inventoryUpdateRequest, String winkVersion) reactor.core.publisher.Flux<SalesChannel>toggleSalesChannelPromoBundleAvailability(String hotelIdentifier, String rateModifierBundleIdentifier, List<InventoryUpdateRequest> inventoryUpdateRequest, String winkVersion) Update sale channels promo bundles Toggles availability of a promo bundle for a list of sales channelsreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SalesChannel>>>toggleSalesChannelPromoBundleAvailabilityWithHttpInfo(String hotelIdentifier, String rateModifierBundleIdentifier, List<InventoryUpdateRequest> inventoryUpdateRequest, String winkVersion) reactor.core.publisher.Mono<SalesChannel>updateSalesChannel(String hotelIdentifier, String salesChannelIdentifier, SalesChannelUpdateRequest salesChannelUpdateRequest, String winkVersion) Update sales channel Update a chosen sales channelreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannel>>updateSalesChannelWithHttpInfo(String hotelIdentifier, String salesChannelIdentifier, SalesChannelUpdateRequest salesChannelUpdateRequest, String winkVersion)
-
Constructor Details
-
SalesChannelsApi
public SalesChannelsApi() -
SalesChannelsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createSalesChannel
public reactor.core.publisher.Mono<SalesChannel> createSalesChannel(String hotelIdentifier, SalesChannelCreateRequest salesChannelCreateRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create sales channel Create a new sales channel.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:
hotelIdentifier- Create sales channel and associate it with this hotel identifiersalesChannelCreateRequest- The salesChannelCreateRequest parameterwinkVersion- The winkVersion parameter- Returns:
- SalesChannel
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createSalesChannelWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannel>> createSalesChannelWithHttpInfo(String hotelIdentifier, SalesChannelCreateRequest salesChannelCreateRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removeSalesChannel
public reactor.core.publisher.Mono<RemoveEntryResponse> removeSalesChannel(String hotelIdentifier, String salesChannelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Remove sales channel Delete a specific sales channel503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
202 - Accepted
- Parameters:
hotelIdentifier- Remove sales channel owned by this hotel identifiersalesChannelIdentifier- Remove sales channel with this identifierwinkVersion- The winkVersion parameter- Returns:
- RemoveEntryResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeSalesChannelWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeSalesChannelWithHttpInfo(String hotelIdentifier, String salesChannelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showAccounts
public reactor.core.publisher.Flux<SalesChannel> showAccounts(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show sales channels Retrieve list of all sales channels for this property. You can decide to retrieve all specific sales channel relationships or only generic ones using the 'owner' request parameter.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
200 - OK
- Parameters:
hotelIdentifier- Show all sales channels for this hotel identifierwinkVersion- The winkVersion parameter- Returns:
- List<SalesChannel>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAccountsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SalesChannel>>> showAccountsWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showSalesChannel
public reactor.core.publisher.Mono<SalesChannel> showSalesChannel(String hotelIdentifier, String salesChannelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show sales channel Retrieve a specific sales channel by identifier.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
200 - OK
- Parameters:
hotelIdentifier- Show sales channel owned by this hotel identifiersalesChannelIdentifier- Show sales channel with this hotel identifierwinkVersion- The winkVersion parameter- Returns:
- SalesChannel
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showSalesChannelWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannel>> showSalesChannelWithHttpInfo(String hotelIdentifier, String salesChannelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showSalesChannelContextRateModifierBundlePairs
public reactor.core.publisher.Flux<SelectableKeyValuePair> showSalesChannelContextRateModifierBundlePairs(String hotelIdentifier, String rateModifierBundleIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show rate modifier bundle availability Display a list of key / value pairs that shows the availability of sales channels in the context of rate modifier bundles.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
200 - OK
- Parameters:
hotelIdentifier- Show all sales channel pairs for this hotel identifierrateModifierBundleIdentifier- Show all sales channels pairs in the context of rate modifier availabilitywinkVersion- The winkVersion parameter- Returns:
- List<SelectableKeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showSalesChannelContextRateModifierBundlePairsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SelectableKeyValuePair>>> showSalesChannelContextRateModifierBundlePairsWithHttpInfo(String hotelIdentifier, String rateModifierBundleIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showSalesChannelContextRateModifierPairs
public reactor.core.publisher.Flux<SelectableKeyValuePair> showSalesChannelContextRateModifierPairs(String hotelIdentifier, String rateModifierIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show rate modifier availability Display a list of key / value pairs that shows the availability of sales channels in the context of rate modifiers.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
200 - OK
- Parameters:
hotelIdentifier- Show all sales channel pairs for this hotel identifierrateModifierIdentifier- Show all sales channels pairs in the context of rate modifier availabilitywinkVersion- The winkVersion parameter- Returns:
- List<SelectableKeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showSalesChannelContextRateModifierPairsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SelectableKeyValuePair>>> showSalesChannelContextRateModifierPairsWithHttpInfo(String hotelIdentifier, String rateModifierIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
toggleSalesChannelPromoAvailability
public reactor.core.publisher.Flux<SalesChannel> toggleSalesChannelPromoAvailability(String hotelIdentifier, String rateModifierIdentifier, List<InventoryUpdateRequest> inventoryUpdateRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update sale channels promos Toggles availability of a promo for a list of sales channels503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Update sales channel owned by this hotel identifierrateModifierIdentifier- The rate modifier we are enabling / disabling on the sales channelinventoryUpdateRequest- The inventoryUpdateRequest parameterwinkVersion- The winkVersion parameter- Returns:
- List<SalesChannel>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
toggleSalesChannelPromoAvailabilityWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SalesChannel>>> toggleSalesChannelPromoAvailabilityWithHttpInfo(String hotelIdentifier, String rateModifierIdentifier, List<InventoryUpdateRequest> inventoryUpdateRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
toggleSalesChannelPromoBundleAvailability
public reactor.core.publisher.Flux<SalesChannel> toggleSalesChannelPromoBundleAvailability(String hotelIdentifier, String rateModifierBundleIdentifier, List<InventoryUpdateRequest> inventoryUpdateRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update sale channels promo bundles Toggles availability of a promo bundle for a list of sales channels503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Update sales channel owned by this hotel identifierrateModifierBundleIdentifier- The rate modifier bundle we are enabling / disabling on the sales channelinventoryUpdateRequest- The inventoryUpdateRequest parameterwinkVersion- The winkVersion parameter- Returns:
- List<SalesChannel>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
toggleSalesChannelPromoBundleAvailabilityWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SalesChannel>>> toggleSalesChannelPromoBundleAvailabilityWithHttpInfo(String hotelIdentifier, String rateModifierBundleIdentifier, List<InventoryUpdateRequest> inventoryUpdateRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateSalesChannel
public reactor.core.publisher.Mono<SalesChannel> updateSalesChannel(String hotelIdentifier, String salesChannelIdentifier, SalesChannelUpdateRequest salesChannelUpdateRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update sales channel Update a chosen sales channel503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Update sales channel owned by this hotel identifiersalesChannelIdentifier- Update sales channel settings for sales channel with this identifiersalesChannelUpdateRequest- The salesChannelUpdateRequest parameterwinkVersion- The winkVersion parameter- Returns:
- SalesChannel
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateSalesChannelWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannel>> updateSalesChannelWithHttpInfo(String hotelIdentifier, String salesChannelIdentifier, SalesChannelUpdateRequest salesChannelUpdateRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-