Interface SellerListingService

All Known Implementing Classes:
SellerListingServiceImpl

public interface SellerListingService
  • Method Details

    • getSellerListing

      Optional<SellerListing> getSellerListing(Long listingId) throws IOException
      Get a seller listing
      Parameters:
      listingId - the listing ID.
      Returns:
      the seller listing of the specified listing ID.
      Throws:
      IOException - indicates any I/O exception.
    • getSellerListingsRecentUpdates

      PagedResource<SellerListing> getSellerListingsRecentUpdates(Instant updatedSince) throws IOException
      List seller listings (recent updates)

      List seller listings for the authenticated user that have been created or updated over a certain period of time.

      Parameters:
      updatedSince - Filters the response to only return items that have been updated since the given timestamp
      Returns:
      recent updates
      Throws:
      IOException - indicates any I/O exception.
    • getSellerListings

      PagedResource<SellerListing> getSellerListings(SellerListingRequest sellerListingRequest) throws IOException
      List seller listings.
      Parameters:
      sellerListingRequest - the request.
      Returns:
      the seller listings.
      Throws:
      IOException - indicates any I/O exception.
    • getSellerListings

      default PagedResource<SellerListing> getSellerListings(io.openapitools.jackson.dataformat.hal.HALLink link) throws IOException
      Throws:
      IOException
    • getAllSellerListings

      default List<SellerListing> getAllSellerListings(SellerListingRequest sellerListingRequest) throws IOException
      List all seller listings.
      Parameters:
      sellerListingRequest - the request.
      Returns:
      the seller listings.
      Throws:
      IOException - indicates any I/O exception.
    • getAllSellerListings

      default List<SellerListing> getAllSellerListings(Long eventId) throws IOException
      List all seller listings of the specified event ID.
      Parameters:
      eventId - the event ID.
      Returns:
      the seller listings.
      Throws:
      IOException - indicates any I/O exception.
    • createListingForRequestedEvent

      SellerListing createListingForRequestedEvent(CreateSellerListingForRequestedEventRequest createSellerListingForRequestedEventRequest) throws IOException
      Create a seller listing for a requested event.
      Parameters:
      createSellerListingForRequestedEventRequest - the request.
      Returns:
      the created seller listing.
      Throws:
      IOException - indicates any I/O exception.
    • createListing

      SellerListing createListing(Long eventId, CreateSellerListingRequest createSellerListingRequest) throws IOException
      Create a seller listing.
      Parameters:
      eventId - the event ID.
      createSellerListingRequest - the request.
      Returns:
      the created seller listing.
      Throws:
      IOException - indicates any I/O exception.
    • getSellerListingByExternalId

      Optional<SellerListing> getSellerListingByExternalId(String externalListingId) throws IOException
      Get a seller listing by external ID.

      Get a seller listing by identifier that has been assigned to the listing in an external inventory management system.

      Parameters:
      externalListingId - the external ID.
      Returns:
      the seller listing.
      Throws:
      IOException - indicates any I/O exception.
    • deleteListingByExternalListingId

      void deleteListingByExternalListingId(String externalId) throws IOException
      Delete a seller listing by external ID.

      Delete a seller listing by identifier that has been assigned to the listing in an external inventory management system.

      Parameters:
      externalId - the external ID.
      Throws:
      IOException - indicates any I/O exception.