Class PromotionBundleApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<RateModifierBundleView>createRateModifierBundle(String hotelIdentifier, UpsertRateModifierBundleRequest upsertRateModifierBundleRequest) Create Promotion Bundle Create a new rate modifier ancillaryreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RateModifierBundleView>>createRateModifierBundleWithHttpInfo(String hotelIdentifier, UpsertRateModifierBundleRequest upsertRateModifierBundleRequest) reactor.core.publisher.Mono<RemoveEntryResponse>removeRateModifierBundle(String hotelIdentifier, String promotionBundleIdentifier, String accept) Delete Promotion Bundle Delete a rate modifier ancillary by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removeRateModifierBundleWithHttpInfo(String hotelIdentifier, String promotionBundleIdentifier, String accept) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<RateModifierBundleView>showRateModifierBundle(String hotelIdentifier, String promotionBundleIdentifier, String accept) Show Promotion Bundle Retrieve a rate modifier ancillary by its identifierreactor.core.publisher.Flux<RateModifierBundleView>showRateModifierBundles(String hotelIdentifier, String accept) Show Promotion Bundles Retrieve list of rate modifier bundlesreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RateModifierBundleView>>>showRateModifierBundlesWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RateModifierBundleView>>showRateModifierBundleWithHttpInfo(String hotelIdentifier, String promotionBundleIdentifier, String accept) reactor.core.publisher.Mono<RateModifierBundleView>updateRateModifierBundle(String hotelIdentifier, String promotionBundleIdentifier, UpsertRateModifierBundleRequest upsertRateModifierBundleRequest) Update Promotion Bundle Update a rate modifier ancillary by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RateModifierBundleView>>updateRateModifierBundleWithHttpInfo(String hotelIdentifier, String promotionBundleIdentifier, UpsertRateModifierBundleRequest upsertRateModifierBundleRequest)
-
Constructor Details
-
PromotionBundleApi
public PromotionBundleApi() -
PromotionBundleApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createRateModifierBundle
public reactor.core.publisher.Mono<RateModifierBundleView> createRateModifierBundle(String hotelIdentifier, UpsertRateModifierBundleRequest upsertRateModifierBundleRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Promotion Bundle Create a new rate modifier ancillary405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
201 - Created
- Parameters:
hotelIdentifier- The hotelIdentifier parameterupsertRateModifierBundleRequest- The upsertRateModifierBundleRequest parameter- Returns:
- RateModifierBundleView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createRateModifierBundleWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RateModifierBundleView>> createRateModifierBundleWithHttpInfo(String hotelIdentifier, UpsertRateModifierBundleRequest upsertRateModifierBundleRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removeRateModifierBundle
public reactor.core.publisher.Mono<RemoveEntryResponse> removeRateModifierBundle(String hotelIdentifier, String promotionBundleIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Promotion Bundle Delete a rate modifier ancillary by its identifier405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
202 - Accepted
- Parameters:
hotelIdentifier- The hotelIdentifier parameterpromotionBundleIdentifier- The promotionBundleIdentifier parameteraccept- The accept parameter- Returns:
- RemoveEntryResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeRateModifierBundleWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeRateModifierBundleWithHttpInfo(String hotelIdentifier, String promotionBundleIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showRateModifierBundle
public reactor.core.publisher.Mono<RateModifierBundleView> showRateModifierBundle(String hotelIdentifier, String promotionBundleIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Promotion Bundle Retrieve a rate modifier ancillary by its identifier405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameterpromotionBundleIdentifier- The promotionBundleIdentifier parameteraccept- The accept parameter- Returns:
- RateModifierBundleView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showRateModifierBundleWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RateModifierBundleView>> showRateModifierBundleWithHttpInfo(String hotelIdentifier, String promotionBundleIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showRateModifierBundles
public reactor.core.publisher.Flux<RateModifierBundleView> showRateModifierBundles(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Promotion Bundles Retrieve list of rate modifier bundles405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameteraccept- The accept parameter- Returns:
- List<RateModifierBundleView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showRateModifierBundlesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RateModifierBundleView>>> showRateModifierBundlesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateRateModifierBundle
public reactor.core.publisher.Mono<RateModifierBundleView> updateRateModifierBundle(String hotelIdentifier, String promotionBundleIdentifier, UpsertRateModifierBundleRequest upsertRateModifierBundleRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Promotion Bundle Update a rate modifier ancillary by its identifier405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameterpromotionBundleIdentifier- The promotionBundleIdentifier parameterupsertRateModifierBundleRequest- The upsertRateModifierBundleRequest parameter- Returns:
- RateModifierBundleView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateRateModifierBundleWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RateModifierBundleView>> updateRateModifierBundleWithHttpInfo(String hotelIdentifier, String promotionBundleIdentifier, UpsertRateModifierBundleRequest upsertRateModifierBundleRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-