Class PromotionApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<RateModifierViewSupplier> createPromotion(String hotelIdentifier, UpsertRateModifierRequestSupplier upsertRateModifierRequestSupplier, String winkVersion) Create Promotion Create a new promotionreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RateModifierViewSupplier>> createPromotionWithHttpInfo(String hotelIdentifier, UpsertRateModifierRequestSupplier upsertRateModifierRequestSupplier, String winkVersion) Create Promotion Create a new promotionorg.springframework.web.reactive.function.client.WebClient.ResponseSpeccreatePromotionWithResponseSpec(String hotelIdentifier, UpsertRateModifierRequestSupplier upsertRateModifierRequestSupplier, String winkVersion) Create Promotion Create a new promotionreactor.core.publisher.Mono<RemoveEntryResponseSupplier> removeRateModifier(String hotelIdentifier, String rateModifierIdentifier, String winkVersion, String accept) Delete Promotion Delete a promotion by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseSupplier>> removeRateModifierWithHttpInfo(String hotelIdentifier, String rateModifierIdentifier, String winkVersion, String accept) Delete Promotion Delete a promotion by its identifierorg.springframework.web.reactive.function.client.WebClient.ResponseSpecremoveRateModifierWithResponseSpec(String hotelIdentifier, String rateModifierIdentifier, String winkVersion, String accept) Delete Promotion Delete a promotion by its identifiervoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<RateModifierViewSupplier> showPromotion(String hotelIdentifier, String rateModifierIdentifier, String winkVersion, String accept) Show Promotion Retrieve a rate modifier by its identifierreactor.core.publisher.Flux<RateModifierViewSupplier> showPromotions(String hotelIdentifier, String winkVersion, String accept) Show Promotions Retrieve list of promotions for propertyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RateModifierViewSupplier>>> showPromotionsWithHttpInfo(String hotelIdentifier, String winkVersion, String accept) Show Promotions Retrieve list of promotions for propertyorg.springframework.web.reactive.function.client.WebClient.ResponseSpecshowPromotionsWithResponseSpec(String hotelIdentifier, String winkVersion, String accept) Show Promotions Retrieve list of promotions for propertyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RateModifierViewSupplier>> showPromotionWithHttpInfo(String hotelIdentifier, String rateModifierIdentifier, String winkVersion, String accept) Show Promotion Retrieve a rate modifier by its identifierorg.springframework.web.reactive.function.client.WebClient.ResponseSpecshowPromotionWithResponseSpec(String hotelIdentifier, String rateModifierIdentifier, String winkVersion, String accept) Show Promotion Retrieve a rate modifier by its identifierreactor.core.publisher.Mono<RateModifierViewSupplier> updatePromotion(String hotelIdentifier, String rateModifierIdentifier, UpsertRateModifierRequestSupplier upsertRateModifierRequestSupplier, String winkVersion) Update Promotion Update an existing promotion by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RateModifierViewSupplier>> updatePromotionWithHttpInfo(String hotelIdentifier, String rateModifierIdentifier, UpsertRateModifierRequestSupplier upsertRateModifierRequestSupplier, String winkVersion) Update Promotion Update an existing promotion by its identifierorg.springframework.web.reactive.function.client.WebClient.ResponseSpecupdatePromotionWithResponseSpec(String hotelIdentifier, String rateModifierIdentifier, UpsertRateModifierRequestSupplier upsertRateModifierRequestSupplier, String winkVersion) Update Promotion Update an existing promotion by its identifier
-
Constructor Details
-
PromotionApi
public PromotionApi() -
PromotionApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createPromotion
public reactor.core.publisher.Mono<RateModifierViewSupplier> createPromotion(String hotelIdentifier, UpsertRateModifierRequestSupplier upsertRateModifierRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Promotion Create a new promotion403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
201 - Created
- Parameters:
hotelIdentifier- Create new promotion and associate with this hotel identifier.upsertRateModifierRequestSupplier- The upsertRateModifierRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- RateModifierViewSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createPromotionWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RateModifierViewSupplier>> createPromotionWithHttpInfo(String hotelIdentifier, UpsertRateModifierRequestSupplier upsertRateModifierRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Promotion Create a new promotion403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
201 - Created
- Parameters:
hotelIdentifier- Create new promotion and associate with this hotel identifier.upsertRateModifierRequestSupplier- The upsertRateModifierRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<RateModifierViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createPromotionWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createPromotionWithResponseSpec(String hotelIdentifier, UpsertRateModifierRequestSupplier upsertRateModifierRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Promotion Create a new promotion403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
201 - Created
- Parameters:
hotelIdentifier- Create new promotion and associate with this hotel identifier.upsertRateModifierRequestSupplier- The upsertRateModifierRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeRateModifier
public reactor.core.publisher.Mono<RemoveEntryResponseSupplier> removeRateModifier(String hotelIdentifier, String rateModifierIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Promotion Delete a promotion by its identifier403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Remove a promotion owned by this hotel identifier.rateModifierIdentifier- Remove a promotion with this identifier.winkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- RemoveEntryResponseSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeRateModifierWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseSupplier>> removeRateModifierWithHttpInfo(String hotelIdentifier, String rateModifierIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Promotion Delete a promotion by its identifier403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Remove a promotion owned by this hotel identifier.rateModifierIdentifier- Remove a promotion with this identifier.winkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseEntity<RemoveEntryResponseSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeRateModifierWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeRateModifierWithResponseSpec(String hotelIdentifier, String rateModifierIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Promotion Delete a promotion by its identifier403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Remove a promotion owned by this hotel identifier.rateModifierIdentifier- Remove a promotion with this identifier.winkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showPromotion
public reactor.core.publisher.Mono<RateModifierViewSupplier> showPromotion(String hotelIdentifier, String rateModifierIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Promotion Retrieve a rate modifier by its identifier403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Show single promotion owned by this hotel identifier.rateModifierIdentifier- Show single promotion with this identifier.winkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- RateModifierViewSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showPromotionWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RateModifierViewSupplier>> showPromotionWithHttpInfo(String hotelIdentifier, String rateModifierIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Promotion Retrieve a rate modifier by its identifier403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Show single promotion owned by this hotel identifier.rateModifierIdentifier- Show single promotion with this identifier.winkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseEntity<RateModifierViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showPromotionWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showPromotionWithResponseSpec(String hotelIdentifier, String rateModifierIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Promotion Retrieve a rate modifier by its identifier403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Show single promotion owned by this hotel identifier.rateModifierIdentifier- Show single promotion with this identifier.winkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showPromotions
public reactor.core.publisher.Flux<RateModifierViewSupplier> showPromotions(String hotelIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Promotions Retrieve list of promotions for property403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Show all promotions owned by this hotel identifier.winkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- List<RateModifierViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showPromotionsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RateModifierViewSupplier>>> showPromotionsWithHttpInfo(String hotelIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Promotions Retrieve list of promotions for property403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Show all promotions owned by this hotel identifier.winkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseEntity<List<RateModifierViewSupplier>>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showPromotionsWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showPromotionsWithResponseSpec(String hotelIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Promotions Retrieve list of promotions for property403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Show all promotions owned by this hotel identifier.winkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updatePromotion
public reactor.core.publisher.Mono<RateModifierViewSupplier> updatePromotion(String hotelIdentifier, String rateModifierIdentifier, UpsertRateModifierRequestSupplier upsertRateModifierRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Promotion Update an existing promotion by its identifier403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Update existing promotion owned by this hotel identifier.rateModifierIdentifier- Update existing promotion with this identifier.upsertRateModifierRequestSupplier- The upsertRateModifierRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- RateModifierViewSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updatePromotionWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RateModifierViewSupplier>> updatePromotionWithHttpInfo(String hotelIdentifier, String rateModifierIdentifier, UpsertRateModifierRequestSupplier upsertRateModifierRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Promotion Update an existing promotion by its identifier403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Update existing promotion owned by this hotel identifier.rateModifierIdentifier- Update existing promotion with this identifier.upsertRateModifierRequestSupplier- The upsertRateModifierRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<RateModifierViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updatePromotionWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updatePromotionWithResponseSpec(String hotelIdentifier, String rateModifierIdentifier, UpsertRateModifierRequestSupplier upsertRateModifierRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Promotion Update an existing promotion by its identifier403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Update existing promotion owned by this hotel identifier.rateModifierIdentifier- Update existing promotion with this identifier.upsertRateModifierRequestSupplier- The upsertRateModifierRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-