| Package | Description |
|---|---|
| com.clicksend.controllers | |
| com.clicksend.controllers.syncwrapper | |
| com.clicksend.http.client |
| Modifier and Type | Method and Description |
|---|---|
void |
AccountController.accountVerifyAsync(int activationToken,
APICallBack<String> callBack)
Verify new account
|
void |
AccountController.accountVerifySendAsync(AccountVerify accountVerify,
APICallBack<String> callBack)
Send account activation token
|
void |
FaxController.calculatePriceAsync(FaxMessageCollection faxMessage,
APICallBack<String> callBack)
Calculate Total Price for Fax Messages sent
|
void |
PostDirectMailController.calculatePriceAsync(PostDirectMail postDirectMail,
APICallBack<String> callBack)
TODO: type endpoint description here
|
void |
PostLetterController.calculatePriceAsync(PostLetter postLetter,
APICallBack<String> callBack)
Calculate post letter price
|
void |
PostPostcardController.calculatePriceAsync(PostPostcard postPostcards,
APICallBack<String> callBack)
TODO: type endpoint description here
|
void |
SmsCampaignController.calculatePriceAsync(SmsCampaign campaign,
APICallBack<String> callBack)
Calculate price for sms campaign
|
void |
SMSController.calculatePriceAsync(SmsMessageCollection smsMessages,
APICallBack<String> callBack)
Calculate sms price
|
void |
VoiceController.calculatePriceAsync(VoiceMessageCollection voiceMessages,
APICallBack<String> callBack)
Calculate voice price
|
void |
PostDirectMailController.campaignsAsync(APICallBack<String> callBack)
TODO: type endpoint description here
|
void |
SMSController.cancelAllScheduledSmsAsync(APICallBack<String> callBack)
Update all scheduled message as cancelled
|
void |
SMSController.cancelScheduledSmsAsync(int messageId,
APICallBack<String> callBack)
Update scheduled message as cancel
|
void |
SmsCampaignController.cancelSmsCampaignAsync(int smsCampaignId,
APICallBack<String> callBack)
Cancel sms campaign
|
void |
VoiceController.cancelVoiceMessageAsync(int messageId,
APICallBack<String> callBack)
Update voice message status as cancelled
|
void |
VoiceController.cancelVoiceMessagesAsync(APICallBack<String> callBack)
Update all voice messages as cancelled
|
void |
AccountController.createAccountAsync(Account account,
APICallBack<String> callBack)
Create An Account
|
void |
EmailToSmsController.createAllowedAddressAsync(EmailSMSAddress emailSmsAddress,
APICallBack<String> callBack)
Create email to sms allowed address
|
void |
ContactController.createContactAsync(Contact contact,
int listId,
APICallBack<String> callBack)
Create new contact
|
void |
ContactListController.createContactListAsync(String listName,
APICallBack<String> callBack)
Create new contact list
|
void |
SMSController.createInboundSmsAsync(String url,
APICallBack<String> callBack)
Create inbound sms
|
void |
PostReturnAddressController.createPostReturnAddressAsync(Address returnAddress,
APICallBack<String> callBack)
Create post return address
|
void |
SMSController.createReceiptAsync(String url,
APICallBack<String> callBack)
Add a delivery receipt
|
void |
ResellerAccountController.createResellerAccountAsync(ResellerAccount resellerAccount,
APICallBack<String> callBack)
Create reseller account
|
void |
SmsCampaignController.createSmsCampaignAsync(SmsCampaign campaign,
APICallBack<String> callBack)
Create sms campaign
|
void |
SMSController.createSmsTemplateAsync(SmsTemplate smsTemplate,
APICallBack<String> callBack)
Create sms template
|
void |
SubaccountController.createSubaccountAsync(Subaccount subaccount,
APICallBack<String> callBack)
Create new subaccount
|
void |
ContactController.deleteContactAsync(int listId,
int contactId,
APICallBack<String> callBack)
Delete a contact
|
void |
ContactListController.deleteContactListAsync(int listId,
APICallBack<String> callBack)
Delete a specific contact list
|
void |
PostReturnAddressController.deletePostReturnAddressAsync(int returnAddressId,
APICallBack<String> callBack)
Delete specific post return address
|
void |
SMSController.deleteSmsTemplateAsync(int templateId,
APICallBack<String> callBack)
Delete sms template
|
void |
SubaccountController.deleteSubaccountAsync(int subaccountId,
APICallBack<String> callBack)
Delete a subaccount
|
void |
SMSController.exportHistoryAsync(String filename,
APICallBack<String> callBack)
Export all sms history
|
void |
PostPostcardController.exportPostcardHistoryAsync(String filename,
APICallBack<String> callBack)
TODO: type endpoint description here
|
void |
PostLetterController.exportPostLetterHistoryAsync(String filename,
APICallBack<String> callBack)
export post letter history
|
void |
VoiceController.exportVoiceHistoryAsync(String filename,
APICallBack<String> callBack)
Export voice history
|
void |
FaxController.faxReceiptListAsync(APICallBack<String> callBack)
Get List of Fax Receipts
|
void |
AccountController.forgotPasswordAsync(String username,
APICallBack<String> callBack)
Forgot password
|
void |
AccountController.forgotUsernameAsync(String email,
APICallBack<String> callBack)
Forgot username
|
void |
AccountController.getAccountAsync(APICallBack<String> callBack)
Get account details
|
void |
EmailToSmsController.getAllowedAddressAsync(APICallBack<String> callBack)
Get list of email to sms allowed addresses
|
void |
ContactController.getContactAsync(int listId,
int contactId,
APICallBack<String> callBack)
Get a specific contact
|
void |
ContactListController.getContactListAsync(int listId,
APICallBack<String> callBack)
Get specific contact list
|
void |
ContactListController.getContactListsAsync(APICallBack<String> callBack)
Get all contact lists
|
void |
ContactController.getContactsAsync(int listId,
APICallBack<String> callBack)
Get all contacts in a list
|
void |
CountriesController.getCountriesAsync(APICallBack<String> callBack)
Get all countries
|
void |
AccountRechargeController.getCreditCardInfoAsync(APICallBack<String> callBack)
Get Credit Card info
|
void |
NumberController.getDedicatedNumbersAsync(APICallBack<String> callBack)
Get all dedicated numbers
|
void |
NumberController.getDedicatedNumbersByCountryAsync(String country,
String search,
Integer searchType,
APICallBack<String> callBack)
Get all dedicated numbers by country
|
void |
SMSController.getDeliveryReceiptsAsync(APICallBack<String> callBack)
Get all delivery receipts
|
void |
FaxController.getFaxHistoryAsync(int dateFrom,
int dateTo,
String q,
String order,
APICallBack<String> callBack)
Get a list of Fax History.
|
void |
FaxController.getFaxReceiptAsync(int messageId,
APICallBack<String> callBack)
Get a single fax receipt based on message id.
|
void |
SMSController.getInboundSmsAsync(APICallBack<String> callBack)
Get all inbound sms
|
void |
AccountRechargeController.getPackagesListAsync(String country,
APICallBack<String> callBack)
Get list of all packages
|
void |
PostPostcardController.getPostcardHistoryAsync(APICallBack<String> callBack)
TODO: type endpoint description here
|
void |
PostLetterController.getPostLetterHistoryAsync(APICallBack<String> callBack)
Get all post letter history
|
void |
PostReturnAddressController.getPostReturnAddressAsync(int returnAddressId,
APICallBack<String> callBack)
Get specific post return address
|
void |
PostReturnAddressController.getPostReturnAddressesAsync(APICallBack<String> callBack)
Get list of post return addresses
|
void |
MMSController.getPriceAsync(MmsMessageCollection mmsMessages,
APICallBack<String> callBack)
Get Price for MMS sent
|
void |
ReferralAccountController.getReferralAccountsAsync(APICallBack<String> callBack)
Get all referral accounts
|
void |
ResellerAccountController.getResellerAccountAsync(int clientUserId,
APICallBack<String> callBack)
Get Reseller Account
|
void |
ResellerAccountController.getResellerAccountsAsync(APICallBack<String> callBack)
Get list of reseller accounts
|
void |
SmsCampaignController.getSmsCampaignAsync(int smsCampaignId,
APICallBack<String> callBack)
Get specific sms campaign
|
void |
SmsCampaignController.getSmsCampaignsAsync(APICallBack<String> callBack)
Get list of sms campaigns
|
void |
SMSController.getSmsHistoryAsync(Integer dateFrom,
Integer dateTo,
APICallBack<String> callBack)
Get all sms history
|
void |
StatisticsController.getSmsStatisticsAsync(APICallBack<String> callBack)
Get sms statistics
|
void |
SMSController.getSmsTemplatesAsync(APICallBack<String> callBack)
Get lists of all sms templates
|
void |
SMSController.getSpecificDeliveryReceiptAsync(int messageId,
APICallBack<String> callBack)
Get a Specific Delivery Receipt
|
void |
SubaccountController.getSubaccountAsync(int subaccountId,
APICallBack<String> callBack)
Get specific subaccount
|
void |
SubaccountController.getSubaccountsAsync(APICallBack<String> callBack)
Get all subaccounts
|
void |
AccountRechargeController.getTransactionAsync(String transactionId,
APICallBack<String> callBack)
Get specific Transaction
|
void |
AccountRechargeController.getTransactionsAsync(APICallBack<String> callBack)
Get all transactions
|
void |
VoiceController.getVoiceHistoryAsync(Integer dateFrom,
Integer dateTo,
APICallBack<String> callBack)
Get all voice history
|
void |
VoiceController.getVoiceLanguagesAsync(APICallBack<String> callBack)
Get all voice languages
|
void |
VoiceController.getVoiceReceiptsAsync(APICallBack<String> callBack)
Get all voice receipts
|
void |
StatisticsController.getVoiceStatisticsAsync(APICallBack<String> callBack)
Get voice statistics
|
void |
ContactListController.importContactsToListAsync(int listId,
ContactListImport file,
APICallBack<String> callBack)
Import contacts to list
|
void |
PostDirectMailController.locationSearchAsync(String country,
String q,
APICallBack<String> callBack)
TODO: type endpoint description here
|
void |
SMSController.markAllInboundSMSAsReadAsync(String dateBefore,
APICallBack<String> callBack)
TODO: type endpoint description here
|
void |
SMSController.markReceiptsAsReadAsync(String dateBefore,
APICallBack<String> callBack)
Marked delivery receipts as read
|
void |
NumberController.purchaseDedicatedNumberAsync(String dedicatedNumber,
APICallBack<String> callBack)
Buy dedicated number
|
void |
AccountRechargeController.purchasePackageAsync(int packageId,
APICallBack<String> callBack)
Purchase a package
|
void |
SubaccountController.regenerateApiKeyAsync(int subaccountId,
APICallBack<String> callBack)
Regenerate an API Key
|
void |
ContactListController.removeDuplicateContactsAsync(int listId,
APICallBack<String> callBack)
Remove duplicate contacts
|
void |
ContactController.removeOptedOutContactsAsync(int listId,
int optOutListId,
APICallBack<String> callBack)
Remove all opted out contacts
|
void |
SearchController.searchContactListAsync(String q,
APICallBack<String> callBack)
Get list of searched contact list
|
void |
PostDirectMailController.sendCampaignAsync(PostDirectMail postDirectMail,
APICallBack<String> callBack)
TODO: type endpoint description here
|
void |
FaxController.sendFaxAsync(FaxMessageCollection faxMessage,
APICallBack<String> callBack)
Send a fax using supplied supported file-types.
|
void |
MMSController.sendMMSAsync(MmsMessageCollection mmsMessages,
APICallBack<String> callBack)
TODO: type endpoint description here
|
void |
PostPostcardController.sendPostcardAsync(PostPostcard postPostcards,
APICallBack<String> callBack)
TODO: type endpoint description here
|
void |
PostLetterController.sendPostLetterAsync(PostLetter postLetter,
APICallBack<String> callBack)
Send post letter
|
void |
SMSController.sendSmsAsync(SmsMessageCollection smsMessages,
APICallBack<String> callBack)
TODO: type endpoint description here
|
void |
VoiceController.sendVoiceAsync(VoiceMessageCollection voiceMessages,
APICallBack<String> callBack)
TODO: type endpoint description here
|
void |
TransferCreditController.transferCreditAsync(ResellerAccountTransferCredit resellerAccountTransferCredit,
APICallBack<String> callBack)
Transfer Credit
|
void |
ContactController.updateContactAsync(int listId,
int contactId,
Contact contact,
APICallBack<String> callBack)
Update contact
|
void |
ContactListController.updateContactListAsync(int listId,
String listName,
APICallBack<String> callBack)
Update specific contact list
|
void |
AccountRechargeController.updateCreditCardInfoAsync(CreditCard creditCard,
APICallBack<String> callBack)
Update credit card info
|
void |
PostReturnAddressController.updatePostReturnAddressAsync(int returnAddressId,
Address returnAddress,
APICallBack<String> callBack)
Update post return address
|
void |
ResellerAccountController.updateResellerAccountAsync(int clientUserId,
ResellerAccount resellerAccount,
APICallBack<String> callBack)
Reseller Account
|
void |
SmsCampaignController.updateSmsCampaignAsync(int smsCampaignId,
SmsCampaign campaign,
APICallBack<String> callBack)
Update sms campaign
|
void |
SMSController.updateSmsTemplateAsync(String templateId,
SmsTemplate smsTemplate,
APICallBack<String> callBack)
Update sms template
|
void |
SubaccountController.updateSubaccountAsync(int subaccountId,
Subaccount subaccount,
APICallBack<String> callBack)
Update subaccount
|
void |
UploadController.uploadFileAsync(File file,
String convert,
APICallBack<String> callBack)
Upload a file
|
void |
UploadController.uploadFileAsync(String content,
String convert,
APICallBack<String> callBack)
TODO: type endpoint description here
|
void |
AccountController.verifyForgotPasswordAsync(AccountForgotPasswordVerify verifyPassword,
APICallBack<String> callBack)
Verify forgot password
|
| Modifier and Type | Class and Description |
|---|---|
class |
APICallBackCatcher<T>
An APICallBack that captures the HTTP response and can be waited on
An instance of this class can be passed to an API call as the APICallBack
instance to capture the results of that call.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UnirestClient.executeAsBinaryAsync(HttpRequest request,
APICallBack<HttpResponse> callBack)
Execute a given HttpRequest to get binary response back
|
void |
HttpClient.executeAsBinaryAsync(HttpRequest request,
APICallBack<HttpResponse> callBack)
Execute a given HttpRequest to get binary response back
|
void |
UnirestClient.executeAsStringAsync(HttpRequest request,
APICallBack<HttpResponse> callBack)
Execute a given HttpRequest to get string response back
|
void |
HttpClient.executeAsStringAsync(HttpRequest request,
APICallBack<HttpResponse> callBack)
Execute a given HttpRequest to get string response back
|
protected static void |
UnirestClient.publishResponse(com.mashape.unirest.http.HttpResponse<?> response,
HttpRequest request,
APICallBack<HttpResponse> completionBlock,
com.mashape.unirest.http.exceptions.UnirestException uniException)
Publishes success or failure result as HttpResponse from a HttpRequest
|
Copyright © 2017. All rights reserved.