Class MasterRateApi

java.lang.Object
travel.wink.sdk.extranet.api.MasterRateApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-04T14:49:52.963414389+07:00[Asia/Bangkok]") public class MasterRateApi extends Object
  • Constructor Details

    • MasterRateApi

      public MasterRateApi()
    • MasterRateApi

      @Autowired public MasterRateApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createMasterRate

      public reactor.core.publisher.Mono<MasterRateViewSupplier> createMasterRate(String hotelIdentifier, CreateMasterRateRequestSupplier createMasterRateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Master Rate Create a new master rate

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      201 - Created

      Parameters:
      hotelIdentifier - Create new master rate owned by this hotel identifier.
      createMasterRateRequestSupplier - The createMasterRateRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      MasterRateViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createMasterRateWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<MasterRateViewSupplier>> createMasterRateWithHttpInfo(String hotelIdentifier, CreateMasterRateRequestSupplier createMasterRateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Master Rate Create a new master rate

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      201 - Created

      Parameters:
      hotelIdentifier - Create new master rate owned by this hotel identifier.
      createMasterRateRequestSupplier - The createMasterRateRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<MasterRateViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createMasterRateWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createMasterRateWithResponseSpec(String hotelIdentifier, CreateMasterRateRequestSupplier createMasterRateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Master Rate Create a new master rate

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      201 - Created

      Parameters:
      hotelIdentifier - Create new master rate owned by this hotel identifier.
      createMasterRateRequestSupplier - The createMasterRateRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removableMasterRate

      public reactor.core.publisher.Mono<RoomRateRemovableResponseSupplier> removableMasterRate(String hotelIdentifier, String masterRateIdentifier, String winkVersion) 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.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      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.
      winkVersion - The winkVersion parameter
      Returns:
      RoomRateRemovableResponseSupplier
      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<RoomRateRemovableResponseSupplier>> removableMasterRateWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, String winkVersion) 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.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      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.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RoomRateRemovableResponseSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removableMasterRateWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removableMasterRateWithResponseSpec(String hotelIdentifier, String masterRateIdentifier, String winkVersion) 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.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      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.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeMasterRate

      public reactor.core.publisher.Mono<RemoveEntryResponseSupplier> removeMasterRate(String hotelIdentifier, String masterRateIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Master Rate Delete a master rate by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove master rate owned by this hotel identifier.
      masterRateIdentifier - Remove master rate with this hotel 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
    • removeMasterRateWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseSupplier>> removeMasterRateWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Master Rate Delete a master rate by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove master rate owned by this hotel identifier.
      masterRateIdentifier - Remove master rate with this hotel 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
    • removeMasterRateWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeMasterRateWithResponseSpec(String hotelIdentifier, String masterRateIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Master Rate Delete a master rate by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove master rate owned by this hotel identifier.
      masterRateIdentifier - Remove master rate 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
    • showMasterRate

      public reactor.core.publisher.Mono<MasterRateViewSupplier> showMasterRate(String hotelIdentifier, String masterRateIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Master Rate Retrieve a master rate by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Show single master rate owned by this hotel identifier.
      masterRateIdentifier - Show single master rate with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      MasterRateViewSupplier
      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<MasterRateViewSupplier>> showMasterRateWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Master Rate Retrieve a master rate by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Show single master rate owned by this hotel identifier.
      masterRateIdentifier - Show single master rate with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<MasterRateViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showMasterRateWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showMasterRateWithResponseSpec(String hotelIdentifier, String masterRateIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Master Rate Retrieve a master rate by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Show single master rate owned by this hotel identifier.
      masterRateIdentifier - Show single master rate 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
    • showMasterRates1

      public reactor.core.publisher.Flux<MasterRateViewSupplier> showMasterRates1(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Master Rates Retrieve list of master rates

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Show all master rates owned by this hotel identifier.
      winkVersion - The winkVersion parameter
      Returns:
      List<MasterRateViewSupplier>
      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<MasterRateViewSupplier>>> showMasterRates1WithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Master Rates Retrieve list of master rates

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Show all master rates owned by this hotel identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<MasterRateViewSupplier>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showMasterRates1WithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showMasterRates1WithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Master Rates Retrieve list of master rates

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Show all master rates 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
    • updateMasterRate

      public reactor.core.publisher.Mono<MasterRateViewSupplier> updateMasterRate(String hotelIdentifier, String masterRateIdentifier, UpdateMasterRateRequestSupplier updateMasterRateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Master Rate Update a master rate by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Update existing master rate owned by this hotel identifier.
      masterRateIdentifier - Update existing master rate with this identifier.
      updateMasterRateRequestSupplier - The updateMasterRateRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      MasterRateViewSupplier
      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<MasterRateViewSupplier>> updateMasterRateWithHttpInfo(String hotelIdentifier, String masterRateIdentifier, UpdateMasterRateRequestSupplier updateMasterRateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Master Rate Update a master rate by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Update existing master rate owned by this hotel identifier.
      masterRateIdentifier - Update existing master rate with this identifier.
      updateMasterRateRequestSupplier - The updateMasterRateRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<MasterRateViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateMasterRateWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateMasterRateWithResponseSpec(String hotelIdentifier, String masterRateIdentifier, UpdateMasterRateRequestSupplier updateMasterRateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Master Rate Update a master rate by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Update existing master rate owned by this hotel identifier.
      masterRateIdentifier - Update existing master rate with this identifier.
      updateMasterRateRequestSupplier - The updateMasterRateRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API