Class PromotionBundleApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-04-25T09:03:50.356743433+07:00[Asia/Bangkok]") public class PromotionBundleApi extends Object
  • Constructor Details

    • PromotionBundleApi

      public PromotionBundleApi()
    • PromotionBundleApi

      @Autowired public PromotionBundleApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createRateModifierBundle

      public reactor.core.publisher.Mono<RateModifierBundleViewSupplier> createRateModifierBundle(String hotelIdentifier, UpsertRateModifierBundleRequestSupplier upsertRateModifierBundleRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Promotion Bundle Create a new rate modifier ancillary

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      upsertRateModifierBundleRequestSupplier - The upsertRateModifierBundleRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      RateModifierBundleViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createRateModifierBundleWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RateModifierBundleViewSupplier>> createRateModifierBundleWithHttpInfo(String hotelIdentifier, UpsertRateModifierBundleRequestSupplier upsertRateModifierBundleRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Promotion Bundle Create a new rate modifier ancillary

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      upsertRateModifierBundleRequestSupplier - The upsertRateModifierBundleRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RateModifierBundleViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createRateModifierBundleWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createRateModifierBundleWithResponseSpec(String hotelIdentifier, UpsertRateModifierBundleRequestSupplier upsertRateModifierBundleRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Promotion Bundle Create a new rate modifier ancillary

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      upsertRateModifierBundleRequestSupplier - The upsertRateModifierBundleRequestSupplier 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
    • removeRateModifierBundle

      public reactor.core.publisher.Mono<RemoveEntryResponseSupplier> removeRateModifierBundle(String hotelIdentifier, String promotionBundleIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Promotion Bundle Delete a rate modifier ancillary by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      promotionBundleIdentifier - The promotionBundleIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      RemoveEntryResponseSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeRateModifierBundleWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseSupplier>> removeRateModifierBundleWithHttpInfo(String hotelIdentifier, String promotionBundleIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Promotion Bundle Delete a rate modifier ancillary by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      promotionBundleIdentifier - The promotionBundleIdentifier parameter
      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
    • removeRateModifierBundleWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeRateModifierBundleWithResponseSpec(String hotelIdentifier, String promotionBundleIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Promotion Bundle Delete a rate modifier ancillary by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      promotionBundleIdentifier - The promotionBundleIdentifier 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
    • showRateModifierBundle

      public reactor.core.publisher.Mono<RateModifierBundleViewSupplier> showRateModifierBundle(String hotelIdentifier, String promotionBundleIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Promotion Bundle Retrieve a rate modifier ancillary by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      promotionBundleIdentifier - The promotionBundleIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      RateModifierBundleViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showRateModifierBundleWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RateModifierBundleViewSupplier>> showRateModifierBundleWithHttpInfo(String hotelIdentifier, String promotionBundleIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Promotion Bundle Retrieve a rate modifier ancillary by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      promotionBundleIdentifier - The promotionBundleIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RateModifierBundleViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showRateModifierBundleWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showRateModifierBundleWithResponseSpec(String hotelIdentifier, String promotionBundleIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Promotion Bundle Retrieve a rate modifier ancillary by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      promotionBundleIdentifier - The promotionBundleIdentifier 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
    • showRateModifierBundles

      public reactor.core.publisher.Flux<RateModifierBundleViewSupplier> showRateModifierBundles(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Promotion Bundles Retrieve list of rate modifier bundles

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      List<RateModifierBundleViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showRateModifierBundlesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RateModifierBundleViewSupplier>>> showRateModifierBundlesWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Promotion Bundles Retrieve list of rate modifier bundles

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<RateModifierBundleViewSupplier>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showRateModifierBundlesWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showRateModifierBundlesWithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Promotion Bundles Retrieve list of rate modifier bundles

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier 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
    • updateRateModifierBundle

      public reactor.core.publisher.Mono<RateModifierBundleViewSupplier> updateRateModifierBundle(String hotelIdentifier, String promotionBundleIdentifier, UpsertRateModifierBundleRequestSupplier upsertRateModifierBundleRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Promotion Bundle Update a rate modifier ancillary by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      promotionBundleIdentifier - The promotionBundleIdentifier parameter
      upsertRateModifierBundleRequestSupplier - The upsertRateModifierBundleRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      RateModifierBundleViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateRateModifierBundleWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RateModifierBundleViewSupplier>> updateRateModifierBundleWithHttpInfo(String hotelIdentifier, String promotionBundleIdentifier, UpsertRateModifierBundleRequestSupplier upsertRateModifierBundleRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Promotion Bundle Update a rate modifier ancillary by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      promotionBundleIdentifier - The promotionBundleIdentifier parameter
      upsertRateModifierBundleRequestSupplier - The upsertRateModifierBundleRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RateModifierBundleViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateRateModifierBundleWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateRateModifierBundleWithResponseSpec(String hotelIdentifier, String promotionBundleIdentifier, UpsertRateModifierBundleRequestSupplier upsertRateModifierBundleRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Promotion Bundle Update a rate modifier ancillary by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      promotionBundleIdentifier - The promotionBundleIdentifier parameter
      upsertRateModifierBundleRequestSupplier - The upsertRateModifierBundleRequestSupplier 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