Interface SellerListingService
- All Known Implementing Classes:
SellerListingServiceImpl
public interface SellerListingService
-
Method Summary
Modifier and TypeMethodDescriptioncreateListing
(Long eventId, CreateSellerListingRequest createSellerListingRequest) Create a seller listing.createListingForRequestedEvent
(CreateSellerListingForRequestedEventRequest createSellerListingForRequestedEventRequest) Create a seller listing for a requested event.void
deleteListingByExternalListingId
(String externalId) Delete a seller listing by external ID.default List<SellerListing>
getAllSellerListings
(Long eventId) List all seller listings of the specified event ID.default List<SellerListing>
getAllSellerListings
(SellerListingRequest sellerListingRequest) List all seller listings.getSellerListing
(Long listingId) Get a seller listinggetSellerListingByExternalId
(String externalListingId) Get a seller listing by external ID.default PagedResource<SellerListing>
getSellerListings
(io.openapitools.jackson.dataformat.hal.HALLink link) getSellerListings
(SellerListingRequest sellerListingRequest) List seller listings.getSellerListingsRecentUpdates
(Instant updatedSince) List seller listings (recent updates)
-
Method Details
-
getSellerListing
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
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
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
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.
-