public class PostPostcardApi extends Object
| Constructor and Description |
|---|
PostPostcardApi() |
PostPostcardApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
String |
postPostcardsHistoryExportGet(String filename)
Export postcard history to a CSV file
Export postcard history to a CSV file
|
com.squareup.okhttp.Call |
postPostcardsHistoryExportGetAsync(String filename,
ApiCallback<String> callback)
Export postcard history to a CSV file (asynchronously)
Export postcard history to a CSV file
|
com.squareup.okhttp.Call |
postPostcardsHistoryExportGetCall(String filename,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for postPostcardsHistoryExportGet
|
ApiResponse<String> |
postPostcardsHistoryExportGetWithHttpInfo(String filename)
Export postcard history to a CSV file
Export postcard history to a CSV file
|
String |
postPostcardsHistoryGet(Integer page,
Integer limit)
Retrieve the history of postcards sent or scheduled
Retrieve the history of postcards sent or scheduled
|
com.squareup.okhttp.Call |
postPostcardsHistoryGetAsync(Integer page,
Integer limit,
ApiCallback<String> callback)
Retrieve the history of postcards sent or scheduled (asynchronously)
Retrieve the history of postcards sent or scheduled
|
com.squareup.okhttp.Call |
postPostcardsHistoryGetCall(Integer page,
Integer limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for postPostcardsHistoryGet
|
ApiResponse<String> |
postPostcardsHistoryGetWithHttpInfo(Integer page,
Integer limit)
Retrieve the history of postcards sent or scheduled
Retrieve the history of postcards sent or scheduled
|
String |
postPostcardsPricePost(PostPostcard postPostcards)
Calculate price for sending one or more postcards
Calculate price for sending one or more postcards
|
com.squareup.okhttp.Call |
postPostcardsPricePostAsync(PostPostcard postPostcards,
ApiCallback<String> callback)
Calculate price for sending one or more postcards (asynchronously)
Calculate price for sending one or more postcards
|
com.squareup.okhttp.Call |
postPostcardsPricePostCall(PostPostcard postPostcards,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for postPostcardsPricePost
|
ApiResponse<String> |
postPostcardsPricePostWithHttpInfo(PostPostcard postPostcards)
Calculate price for sending one or more postcards
Calculate price for sending one or more postcards
|
String |
postPostcardsSendPost(PostPostcard postPostcards)
Send one or more postcards
Send one or more postcards
|
com.squareup.okhttp.Call |
postPostcardsSendPostAsync(PostPostcard postPostcards,
ApiCallback<String> callback)
Send one or more postcards (asynchronously)
Send one or more postcards
|
com.squareup.okhttp.Call |
postPostcardsSendPostCall(PostPostcard postPostcards,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for postPostcardsSendPost
|
ApiResponse<String> |
postPostcardsSendPostWithHttpInfo(PostPostcard postPostcards)
Send one or more postcards
Send one or more postcards
|
void |
setApiClient(ApiClient apiClient) |
public PostPostcardApi()
public PostPostcardApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call postPostcardsHistoryExportGetCall(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 postPostcardsHistoryExportGet(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> postPostcardsHistoryExportGetWithHttpInfo(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 postPostcardsHistoryExportGetAsync(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 postPostcardsHistoryGetCall(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 postPostcardsHistoryGet(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> postPostcardsHistoryGetWithHttpInfo(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 postPostcardsHistoryGetAsync(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 postPostcardsPricePostCall(PostPostcard postPostcards, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
postPostcards - PostPostcard model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String postPostcardsPricePost(PostPostcard postPostcards) throws ApiException
postPostcards - PostPostcard model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> postPostcardsPricePostWithHttpInfo(PostPostcard postPostcards) throws ApiException
postPostcards - PostPostcard model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call postPostcardsPricePostAsync(PostPostcard postPostcards, ApiCallback<String> callback) throws ApiException
postPostcards - PostPostcard 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 postPostcardsSendPostCall(PostPostcard postPostcards, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
postPostcards - PostPostcard model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String postPostcardsSendPost(PostPostcard postPostcards) throws ApiException
postPostcards - PostPostcard model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> postPostcardsSendPostWithHttpInfo(PostPostcard postPostcards) throws ApiException
postPostcards - PostPostcard model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call postPostcardsSendPostAsync(PostPostcard postPostcards, ApiCallback<String> callback) throws ApiException
postPostcards - PostPostcard 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.