public class PostPostcardController extends BaseController
httpCallBack| Constructor and Description |
|---|
PostPostcardController() |
| Modifier and Type | Method and Description |
|---|---|
String |
calculatePrice(PostPostcard postPostcards)
TODO: type endpoint description here
|
void |
calculatePriceAsync(PostPostcard postPostcards,
APICallBack<String> callBack)
TODO: type endpoint description here
|
String |
exportPostcardHistory(String filename)
TODO: type endpoint description here
|
void |
exportPostcardHistoryAsync(String filename,
APICallBack<String> callBack)
TODO: type endpoint description here
|
static PostPostcardController |
getInstance()
Singleton pattern implementation
|
String |
getPostcardHistory()
TODO: type endpoint description here
|
void |
getPostcardHistoryAsync(APICallBack<String> callBack)
TODO: type endpoint description here
|
String |
sendPostcard(PostPostcard postPostcards)
TODO: type endpoint description here
|
void |
sendPostcardAsync(PostPostcard postPostcards,
APICallBack<String> callBack)
TODO: type endpoint description here
|
getClientInstance, getHttpCallBack, setClientInstance, setHttpCallBack, validateResponsepublic static PostPostcardController getInstance()
public String calculatePrice(PostPostcard postPostcards) throws Throwable
postPostcards - Required parameter: Example:Throwablepublic void calculatePriceAsync(PostPostcard postPostcards, APICallBack<String> callBack) throws com.fasterxml.jackson.core.JsonProcessingException
postPostcards - Required parameter: Example:com.fasterxml.jackson.core.JsonProcessingExceptionpublic String sendPostcard(PostPostcard postPostcards) throws Throwable
postPostcards - Required parameter: Example:Throwablepublic void sendPostcardAsync(PostPostcard postPostcards, APICallBack<String> callBack) throws com.fasterxml.jackson.core.JsonProcessingException
postPostcards - Required parameter: Example:com.fasterxml.jackson.core.JsonProcessingExceptionpublic String getPostcardHistory() throws Throwable
Throwablepublic void getPostcardHistoryAsync(APICallBack<String> callBack)
public String exportPostcardHistory(String filename) throws Throwable
filename - Required parameter: Filename to export toThrowablepublic void exportPostcardHistoryAsync(String filename, APICallBack<String> callBack)
filename - Required parameter: Filename to export toCopyright © 2017. All rights reserved.