Class SalesChannelsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<SalesChannel>createSalesChannel(String hotelIdentifier, SalesChannelCreateRequest salesChannelCreateRequest) Create sales channel Create a new sales channel.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannel>>createSalesChannelWithHttpInfo(String hotelIdentifier, SalesChannelCreateRequest salesChannelCreateRequest) reactor.core.publisher.Mono<RemoveEntryResponse>removeSalesChannel(String hotelIdentifier, String salesChannelIdentifier, String accept) Remove sales channel Delete a specific sales channelreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removeSalesChannelWithHttpInfo(String hotelIdentifier, String salesChannelIdentifier, String accept) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<SalesChannel>showAccounts(String hotelIdentifier, String accept) 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 accept) reactor.core.publisher.Mono<SalesChannel>showSalesChannel(String hotelIdentifier, String salesChannelIdentifier, String accept) Show sales channel Retrieve a specific sales channel by identifier.reactor.core.publisher.Flux<SelectableKeyValuePair>showSalesChannelContextRateModifierBundlePairs(String hotelIdentifier, String rateModifierBundleIdentifier, String accept) 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 accept) reactor.core.publisher.Flux<SelectableKeyValuePair>showSalesChannelContextRateModifierPairs(String hotelIdentifier, String rateModifierIdentifier, String accept) 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 accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannel>>showSalesChannelWithHttpInfo(String hotelIdentifier, String salesChannelIdentifier, String accept) reactor.core.publisher.Flux<SalesChannel>toggleSalesChannelPromoAvailability(String hotelIdentifier, String rateModifierIdentifier, List<InventoryUpdateRequest> inventoryUpdateRequest) 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) reactor.core.publisher.Flux<SalesChannel>toggleSalesChannelPromoBundleAvailability(String hotelIdentifier, String rateModifierBundleIdentifier, List<InventoryUpdateRequest> inventoryUpdateRequest) 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) reactor.core.publisher.Mono<SalesChannel>updateSalesChannel(String hotelIdentifier, String salesChannelIdentifier, SalesChannelUpdateRequest salesChannelUpdateRequest) Update sales channel Update a chosen sales channelreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannel>>updateSalesChannelWithHttpInfo(String hotelIdentifier, String salesChannelIdentifier, SalesChannelUpdateRequest salesChannelUpdateRequest)
-
Constructor Details
-
SalesChannelsApi
public SalesChannelsApi() -
SalesChannelsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createSalesChannel
public reactor.core.publisher.Mono<SalesChannel> createSalesChannel(String hotelIdentifier, SalesChannelCreateRequest salesChannelCreateRequest) 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 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) 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 accept) 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 identifieraccept- The accept 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 accept) 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 accept) 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 identifieraccept- The accept 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 accept) 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 accept) 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 identifieraccept- The accept 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 accept) 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 accept) 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 availabilityaccept- The accept 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 accept) 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 accept) 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 availabilityaccept- The accept 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 accept) 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) 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 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) 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) 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 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) 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) 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 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) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-