public class PostLetterApi extends Object
| Constructor and Description |
|---|
PostLetterApi() |
PostLetterApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
String |
postLettersExportGet(String filename)
export post letter history
export post letter history
|
com.squareup.okhttp.Call |
postLettersExportGetAsync(String filename,
ApiCallback<String> callback)
export post letter history (asynchronously)
export post letter history
|
com.squareup.okhttp.Call |
postLettersExportGetCall(String filename,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for postLettersExportGet
|
ApiResponse<String> |
postLettersExportGetWithHttpInfo(String filename)
export post letter history
export post letter history
|
String |
postLettersHistoryGet(Integer page,
Integer limit)
Get all post letter history
Get all post letter history
|
com.squareup.okhttp.Call |
postLettersHistoryGetAsync(Integer page,
Integer limit,
ApiCallback<String> callback)
Get all post letter history (asynchronously)
Get all post letter history
|
com.squareup.okhttp.Call |
postLettersHistoryGetCall(Integer page,
Integer limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for postLettersHistoryGet
|
ApiResponse<String> |
postLettersHistoryGetWithHttpInfo(Integer page,
Integer limit)
Get all post letter history
Get all post letter history
|
String |
postLettersPricePost(PostLetter postLetter)
Calculate post letter price
Calculate post letter price
|
com.squareup.okhttp.Call |
postLettersPricePostAsync(PostLetter postLetter,
ApiCallback<String> callback)
Calculate post letter price (asynchronously)
Calculate post letter price
|
com.squareup.okhttp.Call |
postLettersPricePostCall(PostLetter postLetter,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for postLettersPricePost
|
ApiResponse<String> |
postLettersPricePostWithHttpInfo(PostLetter postLetter)
Calculate post letter price
Calculate post letter price
|
String |
postLettersSendPost(PostLetter postLetter)
Send post letter
Send post letter
|
com.squareup.okhttp.Call |
postLettersSendPostAsync(PostLetter postLetter,
ApiCallback<String> callback)
Send post letter (asynchronously)
Send post letter
|
com.squareup.okhttp.Call |
postLettersSendPostCall(PostLetter postLetter,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for postLettersSendPost
|
ApiResponse<String> |
postLettersSendPostWithHttpInfo(PostLetter postLetter)
Send post letter
Send post letter
|
void |
setApiClient(ApiClient apiClient) |
public PostLetterApi()
public PostLetterApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call postLettersExportGetCall(String filename, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
filename - Filename to export to (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String postLettersExportGet(String filename) throws ApiException
filename - Filename to export to (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> postLettersExportGetWithHttpInfo(String filename) throws ApiException
filename - Filename to export to (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call postLettersExportGetAsync(String filename, ApiCallback<String> callback) throws ApiException
filename - Filename to export to (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 postLettersHistoryGetCall(Integer page, Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
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 postLettersHistoryGet(Integer page, Integer limit) throws ApiException
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> postLettersHistoryGetWithHttpInfo(Integer page, Integer limit) throws ApiException
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 postLettersHistoryGetAsync(Integer page, Integer limit, ApiCallback<String> callback) throws ApiException
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 postLettersPricePostCall(PostLetter postLetter, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
postLetter - PostLetter model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String postLettersPricePost(PostLetter postLetter) throws ApiException
postLetter - PostLetter model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> postLettersPricePostWithHttpInfo(PostLetter postLetter) throws ApiException
postLetter - PostLetter model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call postLettersPricePostAsync(PostLetter postLetter, ApiCallback<String> callback) throws ApiException
postLetter - PostLetter 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 postLettersSendPostCall(PostLetter postLetter, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
postLetter - PostLetter model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String postLettersSendPost(PostLetter postLetter) throws ApiException
postLetter - PostLetter model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> postLettersSendPostWithHttpInfo(PostLetter postLetter) throws ApiException
postLetter - PostLetter model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call postLettersSendPostAsync(PostLetter postLetter, ApiCallback<String> callback) throws ApiException
postLetter - PostLetter 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.