Class RatePlanApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-13T15:18:08.025905945+07:00[Asia/Bangkok]") public class RatePlanApi extends Object
  • Constructor Details

    • RatePlanApi

      public RatePlanApi()
    • RatePlanApi

      @Autowired public RatePlanApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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 plan

      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

      201 - Created

      Parameters:
      hotelIdentifier - Create a new rate plan and associate it with this hotel identifier.
      upsertRatePlanRequestSupplier - The upsertRatePlanRequestSupplier parameter
      winkVersion - 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 plan

      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

      201 - Created

      Parameters:
      hotelIdentifier - Create a new rate plan and associate it with this hotel identifier.
      upsertRatePlanRequestSupplier - The upsertRatePlanRequestSupplier parameter
      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
    • 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 plan

      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

      201 - Created

      Parameters:
      hotelIdentifier - Create a new rate plan and associate it with this hotel identifier.
      upsertRatePlanRequestSupplier - The upsertRatePlanRequestSupplier 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
    • removableRatePlan

      public reactor.core.publisher.Mono<RatePlanRemovableResponseSupplier> removableRatePlan(String hotelIdentifier, String ratePlanIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Verify Removable Check if a rate plan is removable. If a rate plan is associated / linked with a master rate, package or add-on, 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 rate plan, owned by this hotel identifier, is removable.
      ratePlanIdentifier - Verify if rate plan, identified by this identifier, is removable.
      winkVersion - The winkVersion parameter
      Returns:
      RatePlanRemovableResponseSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removableRatePlanWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RatePlanRemovableResponseSupplier>> removableRatePlanWithHttpInfo(String hotelIdentifier, String ratePlanIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Verify Removable Check if a rate plan is removable. If a rate plan is associated / linked with a master rate, package or add-on, 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 rate plan, owned by this hotel identifier, is removable.
      ratePlanIdentifier - Verify if rate plan, identified by this identifier, is removable.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RatePlanRemovableResponseSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removableRatePlanWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removableRatePlanWithResponseSpec(String hotelIdentifier, String ratePlanIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Verify Removable Check if a rate plan is removable. If a rate plan is associated / linked with a master rate, package or add-on, 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 rate plan, owned by this hotel identifier, is removable.
      ratePlanIdentifier - Verify if rate plan, 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
    • 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 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

      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 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

      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 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

      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 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 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 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 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 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 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.

      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 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.

      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 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.

      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 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 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 - Update an existing rate plan owned by this hotel identifier.
      ratePlanIdentifier - Update an existing rate plan identified with this identifier.
      upsertRatePlanRequestSupplier - The upsertRatePlanRequestSupplier parameter
      winkVersion - 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 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 - Update an existing rate plan owned by this hotel identifier.
      ratePlanIdentifier - Update an existing rate plan identified with this identifier.
      upsertRatePlanRequestSupplier - The upsertRatePlanRequestSupplier parameter
      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
    • 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 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 - Update an existing rate plan owned by this hotel identifier.
      ratePlanIdentifier - Update an existing rate plan identified with this identifier.
      upsertRatePlanRequestSupplier - The upsertRatePlanRequestSupplier 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