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 voidcreateListing(String ticketId, org.oxerr.seatgeek.client.model.request.CreateListingRequest r)voiddeleteListing(String ticketId)Optional<org.oxerr.seatgeek.client.model.response.Listing>getListing(String ticketId)org.oxerr.seatgeek.client.model.response.MultipleListingsResponsegetListings(Integer page, Integer perPage, Boolean onlyBarcode, String... listingIds)org.oxerr.seatgeek.client.model.request.UpdateListingRequestupdateListing(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:
createListingin 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:
updateListingin interfaceorg.oxerr.seatgeek.client.ListingService- Throws:
IOException
-
getListing
public Optional<org.oxerr.seatgeek.client.model.response.Listing> getListing(String ticketId) throws IOException
- Specified by:
getListingin 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:
getListingsin interfaceorg.oxerr.seatgeek.client.ListingService- Throws:
IOException
-
deleteListing
public void deleteListing(String ticketId) throws IOException
- Specified by:
deleteListingin interfaceorg.oxerr.seatgeek.client.ListingService- Throws:
IOException
-
-