Class InventoryApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-20T22:26:49.575007+07:00[Asia/Bangkok]") public class InventoryApi extends Object
  • Constructor Details

    • InventoryApi

      public InventoryApi()
    • InventoryApi

      @Autowired public InventoryApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • linkChannelInventoryWithSalesChannel

      public reactor.core.publisher.Mono<Inventory> linkChannelInventoryWithSalesChannel(String hotelIdentifier, Inventory inventory) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Link inventory with channel Creates a new inventory record and links it to an existing sales channel. E.g. Guest room A can now be sold by Seller B.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      201 - Created

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      inventory - The inventory parameter
      Returns:
      Inventory
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • linkChannelInventoryWithSalesChannelWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Inventory>> linkChannelInventoryWithSalesChannelWithHttpInfo(String hotelIdentifier, Inventory inventory) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showChannelActivities

      public reactor.core.publisher.Flux<KeyValuePair> showChannelActivities(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show activity inventory list Retrieve list of activities for specified property

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showChannelActivitiesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showChannelAddOns

      public reactor.core.publisher.Flux<KeyValuePair> showChannelAddOns(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show add-on inventory list Retrieve list of addons for specified property

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showChannelAddOnsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showChannelAttractions

      public reactor.core.publisher.Flux<KeyValuePair> showChannelAttractions(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show attraction inventory list Retrieve list of attractions for specified property

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showChannelAttractionsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showChannelMeetingRooms

      public reactor.core.publisher.Flux<KeyValuePair> showChannelMeetingRooms(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show meeting room inventory list Retrieve list of meeting room names for specified property

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showChannelMeetingRoomsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showChannelPackages

      public reactor.core.publisher.Flux<KeyValuePair> showChannelPackages(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show package inventory list Retrieve list of packages for specified property

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showChannelPackagesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showChannelPlaces

      public reactor.core.publisher.Flux<KeyValuePair> showChannelPlaces(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show place inventory list Retrieve list of places for specified property

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showChannelPlacesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showChannelRestaurants

      public reactor.core.publisher.Flux<KeyValuePair> showChannelRestaurants(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show restaurant inventory list Retrieve list of restaurants for specified property

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showChannelRestaurantsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showChannelSpas

      public reactor.core.publisher.Flux<KeyValuePair> showChannelSpas(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show spa inventory list Retrieve list of spas for specified property

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showChannelSpasWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showInventory

      public reactor.core.publisher.Mono<Inventory> showInventory(String hotelIdentifier, String inventoryIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show inventory Retrieve inventory specified by identifier

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      inventoryIdentifier - The inventoryIdentifier parameter
      accept - The accept parameter
      Returns:
      Inventory
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showInventoryWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Inventory>> showInventoryWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showInventoryList

      public reactor.core.publisher.Flux<Inventory> showInventoryList(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show inventory list Retrieve list of inventory for specified property

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Inventory>>> showInventoryListWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showInventoryNames

      public reactor.core.publisher.Flux<String> showInventoryNames(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show inventory names Retrieve list of unique inventory names for chosen property.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<String>>> showInventoryNamesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showInventoryTypes

      public reactor.core.publisher.Flux<String> showInventoryTypes(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show all inventory types Retrieve array of all inventory types. E.g. ['GUEST_ROOM', 'MEETING_ROOM'].

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<String>>> showInventoryTypesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showMasterRates

      public reactor.core.publisher.Flux<KeyValuePair> showMasterRates(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show master rates inventory list Retrieve list of master rate names for specified property

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showMasterRatesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showPageableChannelInventory

      public reactor.core.publisher.Mono<PageInventory> showPageableChannelInventory(String hotelIdentifier, State state) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show pageable inventory Retrieve page of inventory for specified property.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      state - The state parameter
      Returns:
      PageInventory
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPageableChannelInventoryWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageInventory>> showPageableChannelInventoryWithHttpInfo(String hotelIdentifier, State state) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showSalesChannelListByInventory

      public reactor.core.publisher.Flux<SelectableKeyValuePair> showSalesChannelListByInventory(String hotelIdentifier, String inventoryIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show inventory as Channels Retrieve list of inventory specified by inventory identifier. The list will contain the same inventory available to different sales channels. E.g. Inventory A for Seller A. Inventory A for Seller B etc.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SelectableKeyValuePair>>> showSalesChannelListByInventoryWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • toggleInventoryAvailability

      public reactor.core.publisher.Mono<Inventory> toggleInventoryAvailability(String hotelIdentifier, String inventoryIdentifier, InventoryUpdateRequest inventoryUpdateRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update inventory Toggle inventory availability. Only used to enable / disable inventory.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      inventoryIdentifier - The inventoryIdentifier parameter
      inventoryUpdateRequest - The inventoryUpdateRequest parameter
      Returns:
      Inventory
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • toggleInventoryAvailabilityWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Inventory>> toggleInventoryAvailabilityWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, InventoryUpdateRequest inventoryUpdateRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • toggleInventoryListAvailability

      public reactor.core.publisher.Flux<Inventory> toggleInventoryListAvailability(String hotelIdentifier, List<InventoryUpdateRequest> inventoryUpdateRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update inventory list Toggle inventory list availability. Only used to enable / disable inventory.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Inventory>>> toggleInventoryListAvailabilityWithHttpInfo(String hotelIdentifier, List<InventoryUpdateRequest> inventoryUpdateRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException