@Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2015-12-03T18:48:57.986-05:00") public class HoldsApi extends Object
| Constructor and Description |
|---|
HoldsApi() |
HoldsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
holdsIdDelete(String id)
Delete a temporary hold
Delete a temporary hold previously created.\n Note that you can also delete a hold when creating a new hold (ex.
|
Hold |
holdsIdGet(String id)
Retrieve a hold previously generated
|
void |
holdsPost(Booking booking,
Integer holdDurationSeconds,
String previousHoldId)
Create a temporary hold to finalize the booking
Performs a final check of the booking, and reserves required resources/seats to allow finalization of the booking process (ex.
|
void |
setApiClient(ApiClient apiClient) |
public HoldsApi()
public HoldsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void holdsPost(Booking booking, Integer holdDurationSeconds, String previousHoldId) throws ApiException
booking - holdDurationSeconds - the required seats/resources will be reserved for the specified time, ensuring that they cannot be taken by other bookings during this time. The hold cannot be for more than 10 minutes.previousHoldId - if a previous hold was created during the same session with the customer, it will be automatically removed and replaced by the new one.ApiExceptionpublic Hold holdsIdGet(String id) throws ApiException
id - ApiExceptionpublic void holdsIdDelete(String id) throws ApiException
id - ApiExceptionCopyright © 2015. All rights reserved.