Package org.oxerr.seatgeek.client.rescu
Class ListingServiceImpl
- java.lang.Object
-
- org.oxerr.seatgeek.client.rescu.ListingServiceImpl
-
- All Implemented Interfaces:
org.oxerr.seatgeek.client.ListingService
public class ListingServiceImpl extends Object implements org.oxerr.seatgeek.client.ListingService
-
-
Constructor Summary
Constructors Constructor Description ListingServiceImpl(ListingResource listingResource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createListing(String ticketId, org.oxerr.seatgeek.client.model.request.CreateListingRequest r)
void
deleteListing(String ticketId)
Optional<org.oxerr.seatgeek.client.model.response.Listing>
getListing(String ticketId)
org.oxerr.seatgeek.client.model.response.MultipleListingsResponse
getListings(Integer page, Integer perPage, Boolean onlyBarcode, String... listingIds)
org.oxerr.seatgeek.client.model.request.UpdateListingRequest
updateListing(String ticketId, org.oxerr.seatgeek.client.model.request.UpdateListingRequest r)
-
-
-
Constructor Detail
-
ListingServiceImpl
public ListingServiceImpl(ListingResource listingResource)
-
-
Method Detail
-
createListing
public void createListing(String ticketId, org.oxerr.seatgeek.client.model.request.CreateListingRequest r) throws IOException
- Specified by:
createListing
in interfaceorg.oxerr.seatgeek.client.ListingService
- Throws:
IOException
-
updateListing
public org.oxerr.seatgeek.client.model.request.UpdateListingRequest updateListing(String ticketId, org.oxerr.seatgeek.client.model.request.UpdateListingRequest r) throws IOException
- Specified by:
updateListing
in interfaceorg.oxerr.seatgeek.client.ListingService
- Throws:
IOException
-
getListing
public Optional<org.oxerr.seatgeek.client.model.response.Listing> getListing(String ticketId) throws IOException
- Specified by:
getListing
in interfaceorg.oxerr.seatgeek.client.ListingService
- Throws:
IOException
-
getListings
public org.oxerr.seatgeek.client.model.response.MultipleListingsResponse getListings(Integer page, Integer perPage, Boolean onlyBarcode, String... listingIds) throws IOException
- Specified by:
getListings
in interfaceorg.oxerr.seatgeek.client.ListingService
- Throws:
IOException
-
deleteListing
public void deleteListing(String ticketId) throws IOException
- Specified by:
deleteListing
in interfaceorg.oxerr.seatgeek.client.ListingService
- Throws:
IOException
-
-