Class PromotionBundleApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-18T08:52:26.126132332+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

      404 - Not Found

      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
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • 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

      404 - Not Found

      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
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • 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

      404 - Not Found

      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
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • 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

      404 - Not Found

      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
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • 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

      404 - Not Found

      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
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException