Class MasterRateApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<RoomRateRemovableResponse>removableMasterRate(String hotelIdentifier, String masterRateIdentifier, String accept) Verify Removable Check if a master rate is removable.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RoomRateRemovableResponse>>removableMasterRateWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, String accept) reactor.core.publisher.Mono<RemoveEntryResponse>removeMasterRate(String hotelIdentifier, String masterRateIdentifier, String accept) Delete Master Rate Delete a master rate by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removeMasterRateWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, String accept) reactor.core.publisher.Mono<MasterRateView>saveMasterRate(String hotelIdentifier, CreateMasterRateRequest createMasterRateRequest) Create Master Rate Create a new master ratereactor.core.publisher.Mono<org.springframework.http.ResponseEntity<MasterRateView>>saveMasterRateWithHttpInfo(String hotelIdentifier, CreateMasterRateRequest createMasterRateRequest) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<MasterRateView>showMasterRate(String hotelIdentifier, String masterRateIdentifier, String accept) Show Master Rate Retrieve a master rate by its identifierreactor.core.publisher.Flux<MasterRateView>showMasterRates1(String hotelIdentifier, String accept) Show Master Rates Retrieve list of master ratesreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<MasterRateView>>>showMasterRates1WithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<MasterRateView>>showMasterRateWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, String accept) reactor.core.publisher.Mono<MasterRateView>updateMasterRate(String hotelIdentifier, String masterRateIdentifier, UpdateMasterRateRequest updateMasterRateRequest) Update Master Rate Update a master rate by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<MasterRateView>>updateMasterRateWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, UpdateMasterRateRequest updateMasterRateRequest)
-
Constructor Details
-
MasterRateApi
public MasterRateApi() -
MasterRateApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
removableMasterRate
public reactor.core.publisher.Mono<RoomRateRemovableResponse> removableMasterRate(String hotelIdentifier, String masterRateIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Verify Removable Check if a master rate is removable. If a master is associated / linked with a promotion, it cannot be removed until the associated entity removes it first.400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Verify if master rate, owned by this hotel identifier, is removable.masterRateIdentifier- Verify if master rate, identified by this identifier, is removable.accept- The accept parameter- Returns:
- RoomRateRemovableResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removableMasterRateWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RoomRateRemovableResponse>> removableMasterRateWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removeMasterRate
public reactor.core.publisher.Mono<RemoveEntryResponse> removeMasterRate(String hotelIdentifier, String masterRateIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Master Rate Delete a master rate by its identifier400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
202 - Accepted
- Parameters:
hotelIdentifier- Remove master rate owned by this hotel identifier.masterRateIdentifier- Remove master rate with this hotel identifier.accept- The accept parameter- Returns:
- RemoveEntryResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeMasterRateWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeMasterRateWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
saveMasterRate
public reactor.core.publisher.Mono<MasterRateView> saveMasterRate(String hotelIdentifier, CreateMasterRateRequest createMasterRateRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Master Rate Create a new master rate400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
201 - Created
- Parameters:
hotelIdentifier- Create new master rate owned by this hotel identifier.createMasterRateRequest- The createMasterRateRequest parameter- Returns:
- MasterRateView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
saveMasterRateWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<MasterRateView>> saveMasterRateWithHttpInfo(String hotelIdentifier, CreateMasterRateRequest createMasterRateRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showMasterRate
public reactor.core.publisher.Mono<MasterRateView> showMasterRate(String hotelIdentifier, String masterRateIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Master Rate Retrieve a master rate by its identifier400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Show single master rate owned by this hotel identifier.masterRateIdentifier- Show single master rate with this identifier.accept- The accept parameter- Returns:
- MasterRateView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showMasterRateWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<MasterRateView>> showMasterRateWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showMasterRates1
public reactor.core.publisher.Flux<MasterRateView> showMasterRates1(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Master Rates Retrieve list of master rates400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Show all master rates owned by this hotel identifier.accept- The accept parameter- Returns:
- List<MasterRateView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showMasterRates1WithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<MasterRateView>>> showMasterRates1WithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateMasterRate
public reactor.core.publisher.Mono<MasterRateView> updateMasterRate(String hotelIdentifier, String masterRateIdentifier, UpdateMasterRateRequest updateMasterRateRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Master Rate Update a master rate by its identifier400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Update existing master rate owned by this hotel identifier.masterRateIdentifier- Update existing master rate with this identifier.updateMasterRateRequest- The updateMasterRateRequest parameter- Returns:
- MasterRateView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateMasterRateWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<MasterRateView>> updateMasterRateWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, UpdateMasterRateRequest updateMasterRateRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-