public class PostDirectMailController extends BaseController
httpCallBack| Constructor and Description |
|---|
PostDirectMailController() |
| Modifier and Type | Method and Description |
|---|---|
String |
calculatePrice(PostDirectMail postDirectMail)
TODO: type endpoint description here
|
void |
calculatePriceAsync(PostDirectMail postDirectMail,
APICallBack<String> callBack)
TODO: type endpoint description here
|
String |
campaigns()
TODO: type endpoint description here
|
void |
campaignsAsync(APICallBack<String> callBack)
TODO: type endpoint description here
|
static PostDirectMailController |
getInstance()
Singleton pattern implementation
|
String |
locationSearch(String country,
String q)
TODO: type endpoint description here
|
void |
locationSearchAsync(String country,
String q,
APICallBack<String> callBack)
TODO: type endpoint description here
|
String |
sendCampaign(PostDirectMail postDirectMail)
TODO: type endpoint description here
|
void |
sendCampaignAsync(PostDirectMail postDirectMail,
APICallBack<String> callBack)
TODO: type endpoint description here
|
getClientInstance, getHttpCallBack, setClientInstance, setHttpCallBack, validateResponsepublic static PostDirectMailController getInstance()
public String sendCampaign(PostDirectMail postDirectMail) throws Throwable
postDirectMail - Required parameter: Example:Throwablepublic void sendCampaignAsync(PostDirectMail postDirectMail, APICallBack<String> callBack) throws com.fasterxml.jackson.core.JsonProcessingException
postDirectMail - Required parameter: Example:com.fasterxml.jackson.core.JsonProcessingExceptionpublic String locationSearch(String country, String q) throws Throwable
country - Required parameter: Country Code to searchq - Required parameter: Search term (e.g. post code, city name)Throwablepublic void locationSearchAsync(String country, String q, APICallBack<String> callBack)
country - Required parameter: Country Code to searchq - Required parameter: Search term (e.g. post code, city name)public String calculatePrice(PostDirectMail postDirectMail) throws Throwable
postDirectMail - Required parameter: Example:Throwablepublic void calculatePriceAsync(PostDirectMail postDirectMail, APICallBack<String> callBack) throws com.fasterxml.jackson.core.JsonProcessingException
postDirectMail - Required parameter: Example:com.fasterxml.jackson.core.JsonProcessingExceptionpublic String campaigns() throws Throwable
Throwablepublic void campaignsAsync(APICallBack<String> callBack)
Copyright © 2017. All rights reserved.