Class PromotionBundleApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-07-01T17:01:03.296785+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<RateModifierBundleView> createRateModifierBundle(String hotelIdentifier, UpsertRateModifierBundleRequest upsertRateModifierBundleRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Promotion Bundle Create a new rate modifier ancillary

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      201 - Created

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      upsertRateModifierBundleRequest - The upsertRateModifierBundleRequest parameter
      Returns:
      RateModifierBundleView
      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<RateModifierBundleView>> createRateModifierBundleWithHttpInfo(String hotelIdentifier, UpsertRateModifierBundleRequest upsertRateModifierBundleRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • removeRateModifierBundle

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

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      202 - Accepted

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      promotionBundleIdentifier - The promotionBundleIdentifier parameter
      accept - The accept parameter
      Returns:
      RemoveEntryResponse
      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<RemoveEntryResponse>> removeRateModifierBundleWithHttpInfo(String hotelIdentifier, String promotionBundleIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showRateModifierBundle

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

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      promotionBundleIdentifier - The promotionBundleIdentifier parameter
      accept - The accept parameter
      Returns:
      RateModifierBundleView
      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<RateModifierBundleView>> showRateModifierBundleWithHttpInfo(String hotelIdentifier, String promotionBundleIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showRateModifierBundles

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

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      accept - The accept parameter
      Returns:
      List<RateModifierBundleView>
      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<RateModifierBundleView>>> showRateModifierBundlesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateRateModifierBundle

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

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      promotionBundleIdentifier - The promotionBundleIdentifier parameter
      upsertRateModifierBundleRequest - The upsertRateModifierBundleRequest parameter
      Returns:
      RateModifierBundleView
      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<RateModifierBundleView>> updateRateModifierBundleWithHttpInfo(String hotelIdentifier, String promotionBundleIdentifier, UpsertRateModifierBundleRequest upsertRateModifierBundleRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException