Class ListingServiceImpl

  • All Implemented Interfaces:
    org.oxerr.seatgeek.client.ListingService

    public class ListingServiceImpl
    extends Object
    implements org.oxerr.seatgeek.client.ListingService
    • 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 interface org.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 interface org.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 interface org.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 interface org.oxerr.seatgeek.client.ListingService
        Throws:
        IOException
      • deleteListing

        public void deleteListing​(String ticketId)
                           throws IOException
        Specified by:
        deleteListing in interface org.oxerr.seatgeek.client.ListingService
        Throws:
        IOException