public class CapturesApi extends Object
| Constructor and Description |
|---|
CapturesApi(Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
Capture |
captureAuthorization(String id,
CaptureRequest request)
Capture a payment authorization.
|
ApiClient |
getApiClient() |
CaptureCollection |
getAuthorizationCaptures(String id,
Integer offset,
Integer limit)
Search for all captures.
|
GetCapture |
getCapture(String id)
Search for a specific capture.
|
CaptureCollection |
getCaptures(Integer offset,
Integer limit)
Search for all captures.
|
void |
setApiClient(ApiClient apiClient) |
public CapturesApi(Configuration configuration)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public CaptureCollection getAuthorizationCaptures(String id, Integer offset, Integer limit) throws ApiException
id - Authorization transaction ID.offset - This paging parameter specifies the page number.limit - This paging parameter specifies the number of records per page.ApiExceptionpublic Capture captureAuthorization(String id, CaptureRequest request) throws ApiException
id - Transaction ID of the original authorization.request - Capture request data.ApiExceptionpublic CaptureCollection getCaptures(Integer offset, Integer limit) throws ApiException
offset - Element number.limit - Page size.ApiExceptionpublic GetCapture getCapture(String id) throws ApiException
id - Authorization transaction ID.ApiExceptionCopyright © 2016. All Rights Reserved.