Class RatePlanApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-16T10:18:27.744667752+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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      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