Class InventoryCardsApi

java.lang.Object
travel.wink.sdk.affiliate.api.InventoryCardsApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-08-27T09:54:22.092689314+07:00[Asia/Bangkok]") public class InventoryCardsApi extends Object
  • Constructor Details

    • InventoryCardsApi

      public InventoryCardsApi()
    • InventoryCardsApi

      @Autowired public InventoryCardsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createSellerInventoryItem

      public reactor.core.publisher.Mono<SellerInventoryItemViewAffiliate> createSellerInventoryItem(String companyIdentifier, UpsertSellerInventoryItemRequestAffiliate upsertSellerInventoryItemRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Card Create a new inventory card

      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:
      companyIdentifier - Company identifier to create item for
      upsertSellerInventoryItemRequestAffiliate - The upsertSellerInventoryItemRequestAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      SellerInventoryItemViewAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createSellerInventoryItemWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SellerInventoryItemViewAffiliate>> createSellerInventoryItemWithHttpInfo(String companyIdentifier, UpsertSellerInventoryItemRequestAffiliate upsertSellerInventoryItemRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Card Create a new inventory card

      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:
      companyIdentifier - Company identifier to create item for
      upsertSellerInventoryItemRequestAffiliate - The upsertSellerInventoryItemRequestAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<SellerInventoryItemViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createSellerInventoryItemWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createSellerInventoryItemWithResponseSpec(String companyIdentifier, UpsertSellerInventoryItemRequestAffiliate upsertSellerInventoryItemRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Card Create a new inventory card

      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:
      companyIdentifier - Company identifier to create item for
      upsertSellerInventoryItemRequestAffiliate - The upsertSellerInventoryItemRequestAffiliate 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
    • createSupplierSellerInventoryItem

      public reactor.core.publisher.Mono<SellerInventoryItemViewAffiliate> createSupplierSellerInventoryItem(String companyIdentifier, UpsertSupplierSellerInventoryItemRequestAffiliate upsertSupplierSellerInventoryItemRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Supplier Card Creates a new inventory card for a supplier showing the best priced room.

      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:
      companyIdentifier - Company identifier to create item for
      upsertSupplierSellerInventoryItemRequestAffiliate - The upsertSupplierSellerInventoryItemRequestAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      SellerInventoryItemViewAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createSupplierSellerInventoryItemWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SellerInventoryItemViewAffiliate>> createSupplierSellerInventoryItemWithHttpInfo(String companyIdentifier, UpsertSupplierSellerInventoryItemRequestAffiliate upsertSupplierSellerInventoryItemRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Supplier Card Creates a new inventory card for a supplier showing the best priced room.

      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:
      companyIdentifier - Company identifier to create item for
      upsertSupplierSellerInventoryItemRequestAffiliate - The upsertSupplierSellerInventoryItemRequestAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<SellerInventoryItemViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createSupplierSellerInventoryItemWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createSupplierSellerInventoryItemWithResponseSpec(String companyIdentifier, UpsertSupplierSellerInventoryItemRequestAffiliate upsertSupplierSellerInventoryItemRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Supplier Card Creates a new inventory card for a supplier showing the best priced room.

      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:
      companyIdentifier - Company identifier to create item for
      upsertSupplierSellerInventoryItemRequestAffiliate - The upsertSupplierSellerInventoryItemRequestAffiliate 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
    • removeSellerInventoryItem

      public reactor.core.publisher.Mono<RemoveEntryResponseAffiliate> removeSellerInventoryItem(String companyIdentifier, String inventoryIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Card Remove a unique inventory item

      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:
      companyIdentifier - Company identifier to delete item from
      inventoryIdentifier - Delete inventory with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      RemoveEntryResponseAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeSellerInventoryItemWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseAffiliate>> removeSellerInventoryItemWithHttpInfo(String companyIdentifier, String inventoryIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Card Remove a unique inventory item

      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:
      companyIdentifier - Company identifier to delete item from
      inventoryIdentifier - Delete inventory with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RemoveEntryResponseAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeSellerInventoryItemWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeSellerInventoryItemWithResponseSpec(String companyIdentifier, String inventoryIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Card Remove a unique inventory item

      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:
      companyIdentifier - Company identifier to delete item from
      inventoryIdentifier - Delete inventory 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
    • showInventoryMedia1

      public reactor.core.publisher.Flux<SimpleMultimediaAffiliate> showInventoryMedia1(String companyIdentifier, String channelInventoryIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Card Media Retrieve list of all media associated with this channel inventory 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:
      companyIdentifier - Company identifier to retrieve items for
      channelInventoryIdentifier - Retrieve media for this channel inventory identifier.
      winkVersion - The winkVersion parameter
      Returns:
      List<SimpleMultimediaAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showInventoryMedia1WithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SimpleMultimediaAffiliate>>> showInventoryMedia1WithHttpInfo(String companyIdentifier, String channelInventoryIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Card Media Retrieve list of all media associated with this channel inventory 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:
      companyIdentifier - Company identifier to retrieve items for
      channelInventoryIdentifier - Retrieve media for this channel inventory identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<SimpleMultimediaAffiliate>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showInventoryMedia1WithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showInventoryMedia1WithResponseSpec(String companyIdentifier, String channelInventoryIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Card Media Retrieve list of all media associated with this channel inventory 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:
      companyIdentifier - Company identifier to retrieve items for
      channelInventoryIdentifier - Retrieve media for this channel inventory 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
    • showSellerInventoryItem

      public reactor.core.publisher.Mono<SellerInventoryItemViewAffiliate> showSellerInventoryItem(String companyIdentifier, String inventoryIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Card Retrieve a single inventory card.

      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:
      companyIdentifier - Company identifier to retrieve item for
      inventoryIdentifier - Retrieve inventory with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      SellerInventoryItemViewAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSellerInventoryItemWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SellerInventoryItemViewAffiliate>> showSellerInventoryItemWithHttpInfo(String companyIdentifier, String inventoryIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Card Retrieve a single inventory card.

      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:
      companyIdentifier - Company identifier to retrieve item for
      inventoryIdentifier - Retrieve inventory with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<SellerInventoryItemViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSellerInventoryItemWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showSellerInventoryItemWithResponseSpec(String companyIdentifier, String inventoryIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Card Retrieve a single inventory card.

      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:
      companyIdentifier - Company identifier to retrieve item for
      inventoryIdentifier - Retrieve inventory 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
    • showSellerInventoryItemsForCompany

      public reactor.core.publisher.Flux<SellerInventoryItemViewAffiliate> showSellerInventoryItemsForCompany(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Inventory Cards Retrieve a list of all inventory cards for company.

      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:
      companyIdentifier - Company identifier to retrieve items for
      winkVersion - The winkVersion parameter
      Returns:
      List<SellerInventoryItemViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSellerInventoryItemsForCompanyWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SellerInventoryItemViewAffiliate>>> showSellerInventoryItemsForCompanyWithHttpInfo(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Inventory Cards Retrieve a list of all inventory cards for company.

      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:
      companyIdentifier - Company identifier to retrieve items for
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<SellerInventoryItemViewAffiliate>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSellerInventoryItemsForCompanyWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showSellerInventoryItemsForCompanyWithResponseSpec(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Inventory Cards Retrieve a list of all inventory cards for company.

      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:
      companyIdentifier - Company identifier to retrieve items for
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateSellerInventoryItem

      public reactor.core.publisher.Mono<SellerInventoryItemViewAffiliate> updateSellerInventoryItem(String companyIdentifier, String inventoryIdentifier, UpsertSellerInventoryItemRequestAffiliate upsertSellerInventoryItemRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Card Update an existing card

      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:
      companyIdentifier - Company identifier to update item for
      inventoryIdentifier - Update inventory with this identifier.
      upsertSellerInventoryItemRequestAffiliate - The upsertSellerInventoryItemRequestAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      SellerInventoryItemViewAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateSellerInventoryItemWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SellerInventoryItemViewAffiliate>> updateSellerInventoryItemWithHttpInfo(String companyIdentifier, String inventoryIdentifier, UpsertSellerInventoryItemRequestAffiliate upsertSellerInventoryItemRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Card Update an existing card

      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:
      companyIdentifier - Company identifier to update item for
      inventoryIdentifier - Update inventory with this identifier.
      upsertSellerInventoryItemRequestAffiliate - The upsertSellerInventoryItemRequestAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<SellerInventoryItemViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateSellerInventoryItemWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateSellerInventoryItemWithResponseSpec(String companyIdentifier, String inventoryIdentifier, UpsertSellerInventoryItemRequestAffiliate upsertSellerInventoryItemRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Card Update an existing card

      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:
      companyIdentifier - Company identifier to update item for
      inventoryIdentifier - Update inventory with this identifier.
      upsertSellerInventoryItemRequestAffiliate - The upsertSellerInventoryItemRequestAffiliate 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