Class CancellationPolicyApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<CancellationPolicyViewSupplier>createCancellationPolicy(String hotelIdentifier, UpsertCancellationPolicyRequestSupplier upsertCancellationPolicyRequestSupplier, String winkVersion) Create Cancellation Policy Create a new cancellation policyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CancellationPolicyViewSupplier>>createCancellationPolicyWithHttpInfo(String hotelIdentifier, UpsertCancellationPolicyRequestSupplier upsertCancellationPolicyRequestSupplier, String winkVersion) Create Cancellation Policy Create a new cancellation policyorg.springframework.web.reactive.function.client.WebClient.ResponseSpeccreateCancellationPolicyWithResponseSpec(String hotelIdentifier, UpsertCancellationPolicyRequestSupplier upsertCancellationPolicyRequestSupplier, String winkVersion) Create Cancellation Policy Create a new cancellation policyreactor.core.publisher.Mono<CancellationPolicyRemovableResponseSupplier>isCancellationPolicyRemovable(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) Verify Removable Check if a cancellation policy is removable.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CancellationPolicyRemovableResponseSupplier>>isCancellationPolicyRemovableWithHttpInfo(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) Verify Removable Check if a cancellation policy is removable.org.springframework.web.reactive.function.client.WebClient.ResponseSpecisCancellationPolicyRemovableWithResponseSpec(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) Verify Removable Check if a cancellation policy is removable.reactor.core.publisher.Mono<RemoveEntryResponseSupplier>removeCancellationPolicy(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) Delete Cancellation Policy Delete a cancellation policy by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseSupplier>>removeCancellationPolicyWithHttpInfo(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) Delete Cancellation Policy Delete a cancellation policy by its identifierorg.springframework.web.reactive.function.client.WebClient.ResponseSpecremoveCancellationPolicyWithResponseSpec(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) Delete Cancellation Policy Delete a cancellation policy by its identifiervoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<CancellationPolicyViewSupplier>showCancellationPolicy(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) Show Cancellation Policy Retrieve a cancellation policy by its identifier.reactor.core.publisher.Flux<CancellationPolicyViewSupplier>showCancellationPolicyList(String hotelIdentifier, String winkVersion) Show Cancellation Policies Retrieve list of cancellation policies for propertyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<CancellationPolicyViewSupplier>>>showCancellationPolicyListWithHttpInfo(String hotelIdentifier, String winkVersion) Show Cancellation Policies Retrieve list of cancellation policies for propertyorg.springframework.web.reactive.function.client.WebClient.ResponseSpecshowCancellationPolicyListWithResponseSpec(String hotelIdentifier, String winkVersion) Show Cancellation Policies Retrieve list of cancellation policies for propertyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CancellationPolicyViewSupplier>>showCancellationPolicyWithHttpInfo(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) Show Cancellation Policy Retrieve a cancellation policy by its identifier.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowCancellationPolicyWithResponseSpec(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) Show Cancellation Policy Retrieve a cancellation policy by its identifier.reactor.core.publisher.Mono<CancellationPolicyViewSupplier>updateCancellationPolicy(String hotelIdentifier, String cancellationPolicyIdentifier, UpsertCancellationPolicyRequestSupplier upsertCancellationPolicyRequestSupplier, String winkVersion) Update Cancellation Policy Update a cancellation policy by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CancellationPolicyViewSupplier>>updateCancellationPolicyWithHttpInfo(String hotelIdentifier, String cancellationPolicyIdentifier, UpsertCancellationPolicyRequestSupplier upsertCancellationPolicyRequestSupplier, String winkVersion) Update Cancellation Policy Update a cancellation policy by its identifierorg.springframework.web.reactive.function.client.WebClient.ResponseSpecupdateCancellationPolicyWithResponseSpec(String hotelIdentifier, String cancellationPolicyIdentifier, UpsertCancellationPolicyRequestSupplier upsertCancellationPolicyRequestSupplier, String winkVersion) Update Cancellation Policy Update a cancellation policy by its identifier
-
Constructor Details
-
CancellationPolicyApi
public CancellationPolicyApi() -
CancellationPolicyApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createCancellationPolicy
public reactor.core.publisher.Mono<CancellationPolicyViewSupplier> createCancellationPolicy(String hotelIdentifier, UpsertCancellationPolicyRequestSupplier upsertCancellationPolicyRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Cancellation Policy Create a new cancellation policy503 - 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 cancellation policy and associate it with by this hotel identifier.upsertCancellationPolicyRequestSupplier- The upsertCancellationPolicyRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- CancellationPolicyViewSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createCancellationPolicyWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CancellationPolicyViewSupplier>> createCancellationPolicyWithHttpInfo(String hotelIdentifier, UpsertCancellationPolicyRequestSupplier upsertCancellationPolicyRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Cancellation Policy Create a new cancellation policy503 - 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 cancellation policy and associate it with by this hotel identifier.upsertCancellationPolicyRequestSupplier- The upsertCancellationPolicyRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<CancellationPolicyViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createCancellationPolicyWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createCancellationPolicyWithResponseSpec(String hotelIdentifier, UpsertCancellationPolicyRequestSupplier upsertCancellationPolicyRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Cancellation Policy Create a new cancellation policy503 - 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 cancellation policy and associate it with by this hotel identifier.upsertCancellationPolicyRequestSupplier- The upsertCancellationPolicyRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
isCancellationPolicyRemovable
public reactor.core.publisher.Mono<CancellationPolicyRemovableResponseSupplier> isCancellationPolicyRemovable(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Verify Removable Check if a cancellation policy is removable. If a cancellation policy is associated / linked with a rate plan, it cannot be removed until the associated entity removes it first.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- Verify if cancellation policy is removable and owned by this hotel identifier.cancellationPolicyIdentifier- Verify if cancellation policy is removable identified by this identifier.winkVersion- The winkVersion parameter- Returns:
- CancellationPolicyRemovableResponseSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
isCancellationPolicyRemovableWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CancellationPolicyRemovableResponseSupplier>> isCancellationPolicyRemovableWithHttpInfo(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Verify Removable Check if a cancellation policy is removable. If a cancellation policy is associated / linked with a rate plan, it cannot be removed until the associated entity removes it first.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- Verify if cancellation policy is removable and owned by this hotel identifier.cancellationPolicyIdentifier- Verify if cancellation policy is removable identified by this identifier.winkVersion- The winkVersion parameter- Returns:
- ResponseEntity<CancellationPolicyRemovableResponseSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
isCancellationPolicyRemovableWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec isCancellationPolicyRemovableWithResponseSpec(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Verify Removable Check if a cancellation policy is removable. If a cancellation policy is associated / linked with a rate plan, it cannot be removed until the associated entity removes it first.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- Verify if cancellation policy is removable and owned by this hotel identifier.cancellationPolicyIdentifier- Verify if cancellation policy is removable identified by this identifier.winkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeCancellationPolicy
public reactor.core.publisher.Mono<RemoveEntryResponseSupplier> removeCancellationPolicy(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Cancellation Policy Delete a cancellation policy by its identifier503 - 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- Delete cancellation policy owned by this hotel identifier.cancellationPolicyIdentifier- Delete cancellation policy with this identifier.winkVersion- The winkVersion parameter- Returns:
- RemoveEntryResponseSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeCancellationPolicyWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseSupplier>> removeCancellationPolicyWithHttpInfo(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Cancellation Policy Delete a cancellation policy by its identifier503 - 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- Delete cancellation policy owned by this hotel identifier.cancellationPolicyIdentifier- Delete cancellation policy with this identifier.winkVersion- The winkVersion parameter- Returns:
- ResponseEntity<RemoveEntryResponseSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeCancellationPolicyWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeCancellationPolicyWithResponseSpec(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Cancellation Policy Delete a cancellation policy by its identifier503 - 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- Delete cancellation policy owned by this hotel identifier.cancellationPolicyIdentifier- Delete cancellation policy with this identifier.winkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showCancellationPolicy
public reactor.core.publisher.Mono<CancellationPolicyViewSupplier> showCancellationPolicy(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Cancellation Policy Retrieve a cancellation policy by its 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 single cancellation policy owned by this hotel identifier.cancellationPolicyIdentifier- Show single cancellation policy with this identifier.winkVersion- The winkVersion parameter- Returns:
- CancellationPolicyViewSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showCancellationPolicyWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CancellationPolicyViewSupplier>> showCancellationPolicyWithHttpInfo(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Cancellation Policy Retrieve a cancellation policy by its 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 single cancellation policy owned by this hotel identifier.cancellationPolicyIdentifier- Show single cancellation policy with this identifier.winkVersion- The winkVersion parameter- Returns:
- ResponseEntity<CancellationPolicyViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showCancellationPolicyWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showCancellationPolicyWithResponseSpec(String hotelIdentifier, String cancellationPolicyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Cancellation Policy Retrieve a cancellation policy by its 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 single cancellation policy owned by this hotel identifier.cancellationPolicyIdentifier- Show single cancellation policy with this identifier.winkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showCancellationPolicyList
public reactor.core.publisher.Flux<CancellationPolicyViewSupplier> showCancellationPolicyList(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Cancellation Policies Retrieve list of cancellation policies for property503 - 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- List all cancellation policies for this hotel identifier.winkVersion- The winkVersion parameter- Returns:
- List<CancellationPolicyViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showCancellationPolicyListWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<CancellationPolicyViewSupplier>>> showCancellationPolicyListWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Cancellation Policies Retrieve list of cancellation policies for property503 - 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- List all cancellation policies for this hotel identifier.winkVersion- The winkVersion parameter- Returns:
- ResponseEntity<List<CancellationPolicyViewSupplier>>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showCancellationPolicyListWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showCancellationPolicyListWithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Cancellation Policies Retrieve list of cancellation policies for property503 - 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- List all cancellation policies for this hotel identifier.winkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateCancellationPolicy
public reactor.core.publisher.Mono<CancellationPolicyViewSupplier> updateCancellationPolicy(String hotelIdentifier, String cancellationPolicyIdentifier, UpsertCancellationPolicyRequestSupplier upsertCancellationPolicyRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Cancellation Policy Update a cancellation policy by its identifier503 - 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 an existing cancellation policy owned by this hotel identifier.cancellationPolicyIdentifier- Update an existing cancellation policy with this identifier.upsertCancellationPolicyRequestSupplier- The upsertCancellationPolicyRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- CancellationPolicyViewSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateCancellationPolicyWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CancellationPolicyViewSupplier>> updateCancellationPolicyWithHttpInfo(String hotelIdentifier, String cancellationPolicyIdentifier, UpsertCancellationPolicyRequestSupplier upsertCancellationPolicyRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Cancellation Policy Update a cancellation policy by its identifier503 - 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 an existing cancellation policy owned by this hotel identifier.cancellationPolicyIdentifier- Update an existing cancellation policy with this identifier.upsertCancellationPolicyRequestSupplier- The upsertCancellationPolicyRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<CancellationPolicyViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateCancellationPolicyWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateCancellationPolicyWithResponseSpec(String hotelIdentifier, String cancellationPolicyIdentifier, UpsertCancellationPolicyRequestSupplier upsertCancellationPolicyRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Cancellation Policy Update a cancellation policy by its identifier503 - 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 an existing cancellation policy owned by this hotel identifier.cancellationPolicyIdentifier- Update an existing cancellation policy with this identifier.upsertCancellationPolicyRequestSupplier- The upsertCancellationPolicyRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-