Class InventoryCardsApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-24T12:58:57.697473+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<SellerInventoryItemView> createSellerInventoryItem(String companyIdentifier, SellerInventoryItem sellerInventoryItem) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Card Create a new inventory card

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      companyIdentifier - Company identifier to create item for
      sellerInventoryItem - The sellerInventoryItem parameter
      Returns:
      SellerInventoryItemView
      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<SellerInventoryItemView>> createSellerInventoryItemWithHttpInfo(String companyIdentifier, SellerInventoryItem sellerInventoryItem) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • removeSellerInventoryItem

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

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      companyIdentifier - Company identifier to delete item from
      inventoryIdentifier - Delete inventory with this identifier.
      accept - The accept parameter
      Returns:
      RemoveEntryResponse
      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<RemoveEntryResponse>> removeSellerInventoryItemWithHttpInfo(String companyIdentifier, String inventoryIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showInventoryMedia1

      public reactor.core.publisher.Flux<Multimedia> showInventoryMedia1(String companyIdentifier, String channelInventoryIdentifier, String accept) 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

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - Company identifier to retrieve items for
      channelInventoryIdentifier - Retrieve media for this channel inventory identifier.
      accept - The accept parameter
      Returns:
      List<Multimedia>
      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<Multimedia>>> showInventoryMedia1WithHttpInfo(String companyIdentifier, String channelInventoryIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showSellerInventoryItem

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

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - Company identifier to retrieve item for
      inventoryIdentifier - Retrieve inventory with this identifier.
      accept - The accept parameter
      Returns:
      SellerInventoryItemView
      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<SellerInventoryItemView>> showSellerInventoryItemWithHttpInfo(String companyIdentifier, String inventoryIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showSellerInventoryItemsForCompany

      public reactor.core.publisher.Flux<SellerInventoryItemView> showSellerInventoryItemsForCompany(String companyIdentifier, String accept) 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

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - Company identifier to retrieve items for
      accept - The accept parameter
      Returns:
      List<SellerInventoryItemView>
      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<SellerInventoryItemView>>> showSellerInventoryItemsForCompanyWithHttpInfo(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateSellerInventoryItem

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

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - Company identifier to update item for
      inventoryIdentifier - Update inventory with this identifier.
      sellerInventoryItem - The sellerInventoryItem parameter
      Returns:
      SellerInventoryItemView
      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<SellerInventoryItemView>> updateSellerInventoryItemWithHttpInfo(String companyIdentifier, String inventoryIdentifier, SellerInventoryItem sellerInventoryItem) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException