public class TransactionalEmailApi extends Object
| Constructor and Description |
|---|
TransactionalEmailApi() |
TransactionalEmailApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
String |
emailHistoryExportGet(String filename,
Integer dateFrom,
Integer dateTo)
Export all Transactional Email history
Export all Transactional Email history
|
com.squareup.okhttp.Call |
emailHistoryExportGetAsync(String filename,
Integer dateFrom,
Integer dateTo,
ApiCallback<String> callback)
Export all Transactional Email history (asynchronously)
Export all Transactional Email history
|
com.squareup.okhttp.Call |
emailHistoryExportGetCall(String filename,
Integer dateFrom,
Integer dateTo,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for emailHistoryExportGet
|
ApiResponse<String> |
emailHistoryExportGetWithHttpInfo(String filename,
Integer dateFrom,
Integer dateTo)
Export all Transactional Email history
Export all Transactional Email history
|
String |
emailHistoryGet(Integer dateFrom,
Integer dateTo,
Integer page,
Integer limit)
Get all transactional email history
Get all transactional email history
|
com.squareup.okhttp.Call |
emailHistoryGetAsync(Integer dateFrom,
Integer dateTo,
Integer page,
Integer limit,
ApiCallback<String> callback)
Get all transactional email history (asynchronously)
Get all transactional email history
|
com.squareup.okhttp.Call |
emailHistoryGetCall(Integer dateFrom,
Integer dateTo,
Integer page,
Integer limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for emailHistoryGet
|
ApiResponse<String> |
emailHistoryGetWithHttpInfo(Integer dateFrom,
Integer dateTo,
Integer page,
Integer limit)
Get all transactional email history
Get all transactional email history
|
String |
emailPricePost(Email email)
Get transactional email price
Get transactional email price
|
com.squareup.okhttp.Call |
emailPricePostAsync(Email email,
ApiCallback<String> callback)
Get transactional email price (asynchronously)
Get transactional email price
|
com.squareup.okhttp.Call |
emailPricePostCall(Email email,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for emailPricePost
|
ApiResponse<String> |
emailPricePostWithHttpInfo(Email email)
Get transactional email price
Get transactional email price
|
String |
emailSendPost(Email email)
Send transactional email
Send transactional email
|
com.squareup.okhttp.Call |
emailSendPostAsync(Email email,
ApiCallback<String> callback)
Send transactional email (asynchronously)
Send transactional email
|
com.squareup.okhttp.Call |
emailSendPostCall(Email email,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for emailSendPost
|
ApiResponse<String> |
emailSendPostWithHttpInfo(Email email)
Send transactional email
Send transactional email
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public TransactionalEmailApi()
public TransactionalEmailApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call emailHistoryExportGetCall(String filename, Integer dateFrom, Integer dateTo, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
filename - Filename to download history as (required)dateFrom - Start date (optional)dateTo - End date (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String emailHistoryExportGet(String filename, Integer dateFrom, Integer dateTo) throws ApiException
filename - Filename to download history as (required)dateFrom - Start date (optional)dateTo - End date (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> emailHistoryExportGetWithHttpInfo(String filename, Integer dateFrom, Integer dateTo) throws ApiException
filename - Filename to download history as (required)dateFrom - Start date (optional)dateTo - End date (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call emailHistoryExportGetAsync(String filename, Integer dateFrom, Integer dateTo, ApiCallback<String> callback) throws ApiException
filename - Filename to download history as (required)dateFrom - Start date (optional)dateTo - End date (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 objectpublic com.squareup.okhttp.Call emailHistoryGetCall(Integer dateFrom, Integer dateTo, Integer page, Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
dateFrom - Start date (optional)dateTo - End date (optional)page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String emailHistoryGet(Integer dateFrom, Integer dateTo, Integer page, Integer limit) throws ApiException
dateFrom - Start date (optional)dateTo - End date (optional)page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> emailHistoryGetWithHttpInfo(Integer dateFrom, Integer dateTo, Integer page, Integer limit) throws ApiException
dateFrom - Start date (optional)dateTo - End date (optional)page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call emailHistoryGetAsync(Integer dateFrom, Integer dateTo, Integer page, Integer limit, ApiCallback<String> callback) throws ApiException
dateFrom - Start date (optional)dateTo - End date (optional)page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call emailPricePostCall(Email email, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
email - Email model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String emailPricePost(Email email) throws ApiException
email - Email model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> emailPricePostWithHttpInfo(Email email) throws ApiException
email - Email model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call emailPricePostAsync(Email email, ApiCallback<String> callback) throws ApiException
email - Email model (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call emailSendPostCall(Email email, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
email - Email model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String emailSendPost(Email email) throws ApiException
email - Email model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> emailSendPostWithHttpInfo(Email email) throws ApiException
email - Email model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call emailSendPostAsync(Email email, ApiCallback<String> callback) throws ApiException
email - Email model (required)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 © 2019. All rights reserved.