Class RatePlanApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<RatePlanViewSupplier> createRatePlan(String hotelIdentifier, UpsertRatePlanRequestSupplier upsertRatePlanRequestSupplier, String winkVersion) Create Rate Plan Create a new rate planreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RatePlanViewSupplier>> createRatePlanWithHttpInfo(String hotelIdentifier, UpsertRatePlanRequestSupplier upsertRatePlanRequestSupplier, String winkVersion) Create Rate Plan Create a new rate planorg.springframework.web.reactive.function.client.WebClient.ResponseSpeccreateRatePlanWithResponseSpec(String hotelIdentifier, UpsertRatePlanRequestSupplier upsertRatePlanRequestSupplier, String winkVersion) Create Rate Plan Create a new rate planreactor.core.publisher.Mono<RemoveEntryResponseSupplier> removeRatePlan(String hotelIdentifier, String ratePlanIdentifier, String winkVersion) Delete Rate Plan Remove a rate plan by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseSupplier>> removeRatePlanWithHttpInfo(String hotelIdentifier, String ratePlanIdentifier, String winkVersion) Delete Rate Plan Remove a rate plan by its identifierorg.springframework.web.reactive.function.client.WebClient.ResponseSpecremoveRatePlanWithResponseSpec(String hotelIdentifier, String ratePlanIdentifier, String winkVersion) Delete Rate Plan Remove a rate plan by its identifiervoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<RatePlanViewSupplier> showRatePlan(String hotelIdentifier, String ratePlanIdentifier, String winkVersion) Show Rate Plan Retrieve a single rate plan identified by its identifierreactor.core.publisher.Flux<RatePlanViewSupplier> showRatePlans(String hotelIdentifier, String winkVersion) Show Rate Plans Retrieve list of rate plans for property.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RatePlanViewSupplier>>> showRatePlansWithHttpInfo(String hotelIdentifier, String winkVersion) Show Rate Plans Retrieve list of rate plans for property.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowRatePlansWithResponseSpec(String hotelIdentifier, String winkVersion) Show Rate Plans Retrieve list of rate plans for property.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RatePlanViewSupplier>> showRatePlanWithHttpInfo(String hotelIdentifier, String ratePlanIdentifier, String winkVersion) Show Rate Plan Retrieve a single rate plan identified by its identifierorg.springframework.web.reactive.function.client.WebClient.ResponseSpecshowRatePlanWithResponseSpec(String hotelIdentifier, String ratePlanIdentifier, String winkVersion) Show Rate Plan Retrieve a single rate plan identified by its identifierreactor.core.publisher.Mono<RatePlanViewSupplier> updateRatePlan(String hotelIdentifier, String ratePlanIdentifier, UpsertRatePlanRequestSupplier upsertRatePlanRequestSupplier, String winkVersion) Update Rate Plan Update an existing rate plan by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RatePlanViewSupplier>> updateRatePlanWithHttpInfo(String hotelIdentifier, String ratePlanIdentifier, UpsertRatePlanRequestSupplier upsertRatePlanRequestSupplier, String winkVersion) Update Rate Plan Update an existing rate plan by its identifierorg.springframework.web.reactive.function.client.WebClient.ResponseSpecupdateRatePlanWithResponseSpec(String hotelIdentifier, String ratePlanIdentifier, UpsertRatePlanRequestSupplier upsertRatePlanRequestSupplier, String winkVersion) Update Rate Plan Update an existing rate plan by its identifier
-
Constructor Details
-
RatePlanApi
public RatePlanApi() -
RatePlanApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createRatePlan
public reactor.core.publisher.Mono<RatePlanViewSupplier> createRatePlan(String hotelIdentifier, UpsertRatePlanRequestSupplier upsertRatePlanRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Rate Plan Create a new rate plan400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
201 - Created
- Parameters:
hotelIdentifier- Create a new rate plan and associate it with this hotel identifier.upsertRatePlanRequestSupplier- The upsertRatePlanRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- RatePlanViewSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createRatePlanWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RatePlanViewSupplier>> createRatePlanWithHttpInfo(String hotelIdentifier, UpsertRatePlanRequestSupplier upsertRatePlanRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Rate Plan Create a new rate plan400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
201 - Created
- Parameters:
hotelIdentifier- Create a new rate plan and associate it with this hotel identifier.upsertRatePlanRequestSupplier- The upsertRatePlanRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<RatePlanViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createRatePlanWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createRatePlanWithResponseSpec(String hotelIdentifier, UpsertRatePlanRequestSupplier upsertRatePlanRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Rate Plan Create a new rate plan400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
201 - Created
- Parameters:
hotelIdentifier- Create a new rate plan and associate it with this hotel identifier.upsertRatePlanRequestSupplier- The upsertRatePlanRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeRatePlan
public reactor.core.publisher.Mono<RemoveEntryResponseSupplier> removeRatePlan(String hotelIdentifier, String ratePlanIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Rate Plan Remove a rate plan by its identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
202 - Accepted
- Parameters:
hotelIdentifier- Remove rate plan owned by this hotel identifier.ratePlanIdentifier- Remove rate plan 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
-
removeRatePlanWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseSupplier>> removeRatePlanWithHttpInfo(String hotelIdentifier, String ratePlanIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Rate Plan Remove a rate plan by its identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
202 - Accepted
- Parameters:
hotelIdentifier- Remove rate plan owned by this hotel identifier.ratePlanIdentifier- Remove rate plan 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
-
removeRatePlanWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeRatePlanWithResponseSpec(String hotelIdentifier, String ratePlanIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Rate Plan Remove a rate plan by its identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
202 - Accepted
- Parameters:
hotelIdentifier- Remove rate plan owned by this hotel identifier.ratePlanIdentifier- Remove rate plan 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
-
showRatePlan
public reactor.core.publisher.Mono<RatePlanViewSupplier> showRatePlan(String hotelIdentifier, String ratePlanIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Rate Plan Retrieve a single rate plan identified by its identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Show single rate plan owned by this hotel identifier.ratePlanIdentifier- Show rate plan with this hotel identifier.winkVersion- The winkVersion parameter- Returns:
- RatePlanViewSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showRatePlanWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RatePlanViewSupplier>> showRatePlanWithHttpInfo(String hotelIdentifier, String ratePlanIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Rate Plan Retrieve a single rate plan identified by its identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Show single rate plan owned by this hotel identifier.ratePlanIdentifier- Show rate plan with this hotel identifier.winkVersion- The winkVersion parameter- Returns:
- ResponseEntity<RatePlanViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showRatePlanWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showRatePlanWithResponseSpec(String hotelIdentifier, String ratePlanIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Rate Plan Retrieve a single rate plan identified by its identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Show single rate plan owned by this hotel identifier.ratePlanIdentifier- Show rate plan with 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
-
showRatePlans
public reactor.core.publisher.Flux<RatePlanViewSupplier> showRatePlans(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Rate Plans Retrieve list of rate plans for property.400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Show list of rate plans owned by this hotel identifier.winkVersion- The winkVersion parameter- Returns:
- List<RatePlanViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showRatePlansWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RatePlanViewSupplier>>> showRatePlansWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Rate Plans Retrieve list of rate plans for property.400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Show list of rate plans owned by this hotel identifier.winkVersion- The winkVersion parameter- Returns:
- ResponseEntity<List<RatePlanViewSupplier>>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showRatePlansWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showRatePlansWithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Rate Plans Retrieve list of rate plans for property.400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Show list of rate plans owned by 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
-
updateRatePlan
public reactor.core.publisher.Mono<RatePlanViewSupplier> updateRatePlan(String hotelIdentifier, String ratePlanIdentifier, UpsertRatePlanRequestSupplier upsertRatePlanRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Rate Plan Update an existing rate plan by its identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Update an existing rate plan owned by this hotel identifier.ratePlanIdentifier- Update an existing rate plan identified with this identifier.upsertRatePlanRequestSupplier- The upsertRatePlanRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- RatePlanViewSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateRatePlanWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RatePlanViewSupplier>> updateRatePlanWithHttpInfo(String hotelIdentifier, String ratePlanIdentifier, UpsertRatePlanRequestSupplier upsertRatePlanRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Rate Plan Update an existing rate plan by its identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Update an existing rate plan owned by this hotel identifier.ratePlanIdentifier- Update an existing rate plan identified with this identifier.upsertRatePlanRequestSupplier- The upsertRatePlanRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<RatePlanViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateRatePlanWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateRatePlanWithResponseSpec(String hotelIdentifier, String ratePlanIdentifier, UpsertRatePlanRequestSupplier upsertRatePlanRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Rate Plan Update an existing rate plan by its identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Update an existing rate plan owned by this hotel identifier.ratePlanIdentifier- Update an existing rate plan identified with this identifier.upsertRatePlanRequestSupplier- The upsertRatePlanRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-