Interface HoldResource


@Path("/holds") @Produces("application/json") @Consumes("application/json") public interface HoldResource
  • Method Summary

    Modifier and Type
    Method
    Description
    org.oxerr.stubhub.client.model.HoldResponse
    createHold(org.oxerr.stubhub.client.model.HoldRequest hold)
    Create hold.
    void
    deleteHold(Long holdId)
    Delete hold.
    org.oxerr.stubhub.client.model.HoldResponse
    Retrieves hold by hold ID.
    org.oxerr.stubhub.client.model.HoldResponse
    getHoldByMarketplaceSaleIdAndMarketplace(String marketplaceSaleId, String marketplace)
    Retrieves a hold by the marketplaceName and marketplaceSaleId.
    org.oxerr.stubhub.client.model.HoldResponse[]
    Retrieves holds.
    org.oxerr.stubhub.client.model.HoldResponse
    updateHold(Long holdId, org.oxerr.stubhub.client.model.HoldRequest hold)
    Update a hold.
  • Method Details

    • getHoldByHoldId

      @GET @Path("/{holdId}") org.oxerr.stubhub.client.model.HoldResponse getHoldByHoldId(@PathParam("holdId") Long holdId)
      Retrieves hold by hold ID.
      Parameters:
      holdId - The id of the hold.
    • updateHold

      @PATCH @Path("/{holdId}") org.oxerr.stubhub.client.model.HoldResponse updateHold(@PathParam("holdId") Long holdId, org.oxerr.stubhub.client.model.HoldRequest hold)
      Update a hold.
    • deleteHold

      @DELETE @Path("/{holdId}") void deleteHold(@PathParam("holdId") Long holdId)
      Delete hold.
      Parameters:
      holdId - The hold ID to be deleted.
    • getHolds

      @GET org.oxerr.stubhub.client.model.HoldResponse[] getHolds()
      Retrieves holds.
    • createHold

      @POST org.oxerr.stubhub.client.model.HoldResponse createHold(org.oxerr.stubhub.client.model.HoldRequest hold)
      Create hold.
      Parameters:
      hold - the hold to be created.
    • getHoldByMarketplaceSaleIdAndMarketplace

      @GET @Path("/holds/{marketplaceSaleId}/{marketplace}") org.oxerr.stubhub.client.model.HoldResponse getHoldByMarketplaceSaleIdAndMarketplace(@PathParam("marketplaceSaleId") String marketplaceSaleId, @PathParam("marketplace") String marketplace)
      Retrieves a hold by the marketplaceName and marketplaceSaleId.
      Parameters:
      marketplaceSaleId - The marketplaceSaleId of the hold.
      marketplace - The name of the market place.