Interface HoldResource
@Path("/holds")
@Produces("application/json")
@Consumes("application/json")
public interface HoldResource
-
Method Summary
Modifier and TypeMethodDescriptionorg.oxerr.stubhub.client.model.HoldResponsecreateHold(org.oxerr.stubhub.client.model.HoldRequest hold) Create hold.voiddeleteHold(Long holdId) Delete hold.org.oxerr.stubhub.client.model.HoldResponsegetHoldByHoldId(Long holdId) Retrieves hold by hold ID.org.oxerr.stubhub.client.model.HoldResponsegetHoldByMarketplaceSaleIdAndMarketplace(String marketplaceSaleId, String marketplace) Retrieves a hold by the marketplaceName and marketplaceSaleId.org.oxerr.stubhub.client.model.HoldResponse[]getHolds()Retrieves holds.org.oxerr.stubhub.client.model.HoldResponseupdateHold(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 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.
-