public class ReportDownloadsApi extends Object
| Constructor and Description |
|---|
ReportDownloadsApi() |
ReportDownloadsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
downloadReport(org.joda.time.LocalDate reportDate,
String reportName,
String organizationId)
Download a Report
Download a report using the unique report name and date.
|
okhttp3.Call |
downloadReportAsync(org.joda.time.LocalDate reportDate,
String reportName,
String organizationId,
ApiCallback<Void> callback)
Download a Report (asynchronously)
Download a report using the unique report name and date.
|
okhttp3.Call |
downloadReportCall(org.joda.time.LocalDate reportDate,
String reportName,
String organizationId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for downloadReport
|
ApiResponse<InputStream> |
downloadReportWithHttpInfo(org.joda.time.LocalDate reportDate,
String reportName,
String organizationId)
Download a Report
Download a report using the unique report name and date.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public ReportDownloadsApi()
public ReportDownloadsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call downloadReportCall(org.joda.time.LocalDate reportDate,
String reportName,
String organizationId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
reportDate - Valid date on which to download the report in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** yyyy-mm-dd For reports that span multiple days, this value would be the end date of the report in the time zone of the report subscription. Example 1: If your report start date is 2020-03-06 and the end date is 2020-03-09, the reportDate passed in the query is 2020-03-09. Example 2: If your report runs from midnight to midnight on 2020-03-09, the reportDate passed in the query is 2020-03-10 (required)reportName - Name of the report to download (required)organizationId - Valid Cybersource Organization Id (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void downloadReport(org.joda.time.LocalDate reportDate,
String reportName,
String organizationId)
throws ApiException
reportDate - Valid date on which to download the report in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** yyyy-mm-dd For reports that span multiple days, this value would be the end date of the report in the time zone of the report subscription. Example 1: If your report start date is 2020-03-06 and the end date is 2020-03-09, the reportDate passed in the query is 2020-03-09. Example 2: If your report runs from midnight to midnight on 2020-03-09, the reportDate passed in the query is 2020-03-10 (required)reportName - Name of the report to download (required)organizationId - Valid Cybersource Organization Id (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InputStream> downloadReportWithHttpInfo(org.joda.time.LocalDate reportDate, String reportName, String organizationId) throws ApiException
reportDate - Valid date on which to download the report in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** yyyy-mm-dd For reports that span multiple days, this value would be the end date of the report in the time zone of the report subscription. Example 1: If your report start date is 2020-03-06 and the end date is 2020-03-09, the reportDate passed in the query is 2020-03-09. Example 2: If your report runs from midnight to midnight on 2020-03-09, the reportDate passed in the query is 2020-03-10 (required)reportName - Name of the report to download (required)organizationId - Valid Cybersource Organization Id (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call downloadReportAsync(org.joda.time.LocalDate reportDate,
String reportName,
String organizationId,
ApiCallback<Void> callback)
throws ApiException
reportDate - Valid date on which to download the report in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** yyyy-mm-dd For reports that span multiple days, this value would be the end date of the report in the time zone of the report subscription. Example 1: If your report start date is 2020-03-06 and the end date is 2020-03-09, the reportDate passed in the query is 2020-03-09. Example 2: If your report runs from midnight to midnight on 2020-03-09, the reportDate passed in the query is 2020-03-10 (required)reportName - Name of the report to download (required)organizationId - Valid Cybersource Organization Id (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2020. All rights reserved.