public class SMSActivateApi extends Object
The class is a high-level API for interacting with the SMS-Activate API. API capabilities allow you to work with the service through your software. Before starting work, you must have an API key and a referral link to use all the API capabilities. Use the methods that are implemented in this class.
All methods and constructor in SMSActivateApi throw SMSActivateWrongParameterException
Before request set referral identifier
| Modifier and Type | Field and Description |
|---|---|
static int |
MINIMAL_RENT_TIME
The minimal rent time.
|
| Constructor and Description |
|---|
SMSActivateApi(@NotNull String apiKey)
Constructor API sms-activate with API key.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull SMSActivateActivation |
getAdditionalService(int parentActivationId,
@NotNull String service)
Returns the activation for additional service by forwarding.
|
@NotNull SMSActivateActivation |
getAdditionalService(@NotNull SMSActivateActivation parentActivation,
@NotNull String service)
Returns the activation for additional service by forwarding.
|
@NotNull SMSActivateGetPricesResponse |
getAllPrices()
Returns the all actual prices in all countries and all services.
|
@NotNull String |
getApiKey()
Returns the API key.
|
@NotNull BigDecimal |
getBalance()
Returns the current account balance in rubles.
|
@NotNull SMSActivateGetBalanceAndCashBackResponse |
getBalanceAndCashBack()
Returns the current account balance and cashBack in rubles.
|
@NotNull SMSActivateGetCountriesResponse |
getCountries()
Returns the country with information.
|
@NotNull SMSActivateGetFullSmsResponse |
getFullSms(int activationId)
Returns the specified object from server with text sms.
|
@NotNull SMSActivateGetFullSmsResponse |
getFullSms(@NotNull SMSActivateActivation activation)
Returns the specified object from server with text sms.
|
@NotNull SMSActivateGetMultiServiceNumberResponse |
getMultiServiceNumber(int countryId,
@NotNull Map<String,Boolean> serviceMap)
Returns the specified object with activations id by countryId, multiService.
|
@NotNull SMSActivateGetMultiServiceNumberResponse |
getMultiServiceNumber(int countryId,
@NotNull Map<String,Boolean> serviceMap,
@Nullable Set<String> operatorSet)
Returns the specified object with activations id by countryId, multiService.
|
@NotNull SMSActivateGetMultiServiceNumberResponse |
getMultiServiceNumber(int countryId,
@NotNull Set<String> multiServiceSet)
Returns the specified object id by countryId, multiService.
|
@NotNull SMSActivateActivation |
getNumber(int countryId,
@NotNull String service)
Returns the activation by service, countryId.
|
@NotNull SMSActivateActivation |
getNumber(int countryId,
@NotNull String service,
boolean forward)
Returns the activation by service, countryId.
|
@NotNull SMSActivateActivation |
getNumber(int countryId,
@NotNull String service,
boolean forward,
@Nullable Set<String> operatorSet,
@Nullable Set<String> phoneExceptionSet)
Returns the activation by service, countryId, phoneException, operator, forward
|
@NotNull SMSActivateGetNumbersStatusResponse |
getNumbersStatus(@Nullable Integer countryId,
@Nullable Set<String> operatorSet)
Returns the available services by country and operator.
|
@NotNull SMSActivateGetNumbersStatusResponse |
getNumbersStatusByDefaultSettingFromSite()
Returns the available services from setting site.
|
@NotNull SMSActivateGetPricesResponse |
getPricesAllCountryByServiceShortName(@NotNull String serviceShortName)
Returns the all actual price services by country id.
|
@NotNull SMSActivateGetPricesResponse |
getPricesAllServicesByCountryId(int countryId)
Returns the all actual price services by country id.
|
@NotNull SMSActivateGetPricesResponse |
getPricesByCountryIdAndServiceShortName(@Nullable Integer countryId,
@Nullable String serviceShortName)
Returns the actual rent prices by country and service short name.
|
@NotNull SMSActivateGetQiwiRequisitesResponse |
getQiwiRequisites()
Returns the qiwi response with data on wallet.
|
@Nullable String |
getRef()
Returns the referral link.
|
@NotNull SMSActivateGetRentListResponse |
getRentList()
Returns the current rents.
|
@NotNull SMSActivateRentActivation |
getRentNumber(int countryId,
@NotNull String service)
Returns the object rent on 4 by countryId and service short name.
|
@NotNull SMSActivateRentActivation |
getRentNumber(int countryId,
@NotNull String service,
int hours)
Returns the object rent on 4 by countryId and service short name.
|
@NotNull SMSActivateRentActivation |
getRentNumber(int countryId,
@NotNull String service,
@Nullable String operator,
int hours,
@Nullable String urlWebhook)
Returns the object rent on time.
|
@NotNull SMSActivateGetRentServicesAndCountriesResponse |
getRentServicesAndCountries(int countryId,
@Nullable Set<String> operatorSet,
int hours)
Returns the rent object with countries supported rent and accessed services by country.
|
@NotNull SMSActivateGetRentStatusResponse |
getRentStatus(int rentId)
Returns the list sms.
|
@NotNull SMSActivateGetRentStatusResponse |
getRentStatus(@NotNull SMSActivateRentActivation rentActivation)
Returns the list sms.
|
@NotNull SMSActivateGetStatusResponse |
getStatus(int activationId)
Returns the state by id activation.
|
@NotNull SMSActivateGetStatusResponse |
getStatus(@NotNull SMSActivateActivation activation)
Returns the state by activation.
|
void |
setRef(@NotNull String ref)
If you are a partner of sms-activate set the referral identifier.
|
@NotNull SMSActivateRentStatus |
setRentStatus(int rentId,
@NotNull SMSActivateClientRentStatus status)
Sets the status on rent.
|
@NotNull SMSActivateRentStatus |
setRentStatus(SMSActivateRentActivation rentActivation,
@NotNull SMSActivateClientRentStatus status)
Sets the status on rent.
|
void |
setSmsActivateExceptionListener(@NotNull SMSActivateExceptionListener smsActivateExceptionListener)
Sets the listener on error.
|
void |
setSmsActivateWebClientListener(@NotNull SMSActivateWebClientListener smsActivateWebClientListener)
Sets the listener on request to server.
|
@NotNull SMSActivateSetStatusResponse |
setStatus(int activationId,
@NotNull SMSActivateClientStatus status)
Sets the status activation.
|
@NotNull SMSActivateSetStatusResponse |
setStatus(@NotNull SMSActivateActivation activation,
@NotNull SMSActivateClientStatus status)
Sets the status activation.
|
@NotNull SMSActivateSetStatusResponse |
setStatusWithForwardPhone(int activationId,
@NotNull SMSActivateClientStatus status,
@Nullable Long forwardPhone)
Sets the status activation.
|
@Nullable String |
waitSms(int activationId,
int maxWaitMinutes)
Wait the sms on activation by minutes.
|
@Nullable String |
waitSms(@NotNull SMSActivateActivation activation,
int maxWaitMinutes)
Wait the sms on activation by minutes.
|
@NotNull List<SMSActivateSMS> |
waitSmsForRent(int rentId,
int maxWaitMinutes)
Returns a list of sms that came for rent after a while.
|
@NotNull List<SMSActivateSMS> |
waitSmsForRent(@NotNull SMSActivateRentActivation rentActivation,
int maxWaitMinutes)
Returns a list of sms that came for rent after a while.
|
public static final int MINIMAL_RENT_TIME
public SMSActivateApi(@NotNull
@NotNull String apiKey)
throws SMSActivateWrongParameterException
apiKey - API key (not be null).SMSActivateWrongParameterException - if api-key is incorrect.public void setSmsActivateWebClientListener(@NotNull
@NotNull SMSActivateWebClientListener smsActivateWebClientListener)
smsActivateWebClientListener - listener on request to server.public void setSmsActivateExceptionListener(@NotNull
@NotNull SMSActivateExceptionListener smsActivateExceptionListener)
smsActivateExceptionListener - listener on error.@NotNull public @NotNull String getApiKey()
public void setRef(@NotNull
@NotNull String ref)
ref - referral identifier.@Nullable public @Nullable String getRef()
@NotNull public @NotNull BigDecimal getBalance() throws SMSActivateBaseException
SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetBalanceAndCashBackResponse getBalanceAndCashBack() throws SMSActivateBaseException
SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetNumbersStatusResponse getNumbersStatusByDefaultSettingFromSite() throws SMSActivateBaseException
SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetNumbersStatusResponse getNumbersStatus(@Nullable @Nullable Integer countryId, @Nullable @Nullable Set<String> operatorSet) throws SMSActivateBaseException
countryId - id country.operatorSet - set names operators mobile network.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateActivation getNumber(int countryId, @NotNull @NotNull String service) throws SMSActivateBaseException
countryId - id country.service - service name for activation.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.SMSActivateBannedException - if your account has been banned.
Types errors:
Base type error in this method:
Wrong parameter type error:
SMSActivateBaseException@NotNull public @NotNull SMSActivateActivation getNumber(int countryId, @NotNull @NotNull String service, boolean forward) throws SMSActivateBaseException
countryId - id country.service - service name for activation.forward - true if need number phone with redirection else false.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.SMSActivateBannedException - if your account has been banned.
Types errors:
Base type error in this method:
Wrong parameter type error:
SMSActivateBaseException@NotNull public @NotNull SMSActivateActivation getNumber(int countryId, @NotNull @NotNull String service, boolean forward, @Nullable @Nullable Set<String> operatorSet, @Nullable @Nullable Set<String> phoneExceptionSet) throws SMSActivateBaseException
countryId - id country.service - service name for activation.operatorSet - set mobile operators if operatorSet is null then .phoneExceptionSet - set excepted id numbers prefix if phoneExceptionSet is null then.forward - is it necessary to request a number with forwarding.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.SMSActivateBannedException - if your account has been banned.
Types errors:
Base type error in this method:
Wrong parameter type error:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetMultiServiceNumberResponse getMultiServiceNumber(int countryId, @NotNull @NotNull Set<String> multiServiceSet) throws SMSActivateBaseException
countryId - id country.multiServiceSet - services for ordering (not be null).SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.SMSActivateBannedException - if your account has been banned.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetMultiServiceNumberResponse getMultiServiceNumber(int countryId, @NotNull @NotNull Map<String,Boolean> serviceMap) throws SMSActivateBaseException
countryId - id country.serviceMap - map service where key is service name, value is forward.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.SMSActivateBannedException - if your account has been banned.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetMultiServiceNumberResponse getMultiServiceNumber(int countryId, @NotNull @NotNull Map<String,Boolean> serviceMap, @Nullable @Nullable Set<String> operatorSet) throws SMSActivateBaseException
countryId - id country.serviceMap - map service where key is service name, value is forward.operatorSet - mobile operator.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.SMSActivateBannedException - if your account has been banned.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateSetStatusResponse setStatus(int activationId, @NotNull @NotNull SMSActivateClientStatus status) throws SMSActivateBaseException
Get number using getNumber method after that the following actions are available:
CANCEL - Cancel activation (if the number did not suit you)
MESSAGE_WAS_SENT - Report that SMS has been sent (optional)
To activate with status READY:
CANCEL - Cancel activation
Immediately after receiving the code:
REQUEST_ONE_MORE_CODE - Request another SMS
FINISH - Confirm SMS code and complete activation
To activate with status RETRY_GET:
FINISH - Confirm SMS code and complete activation
activationId - id to set activation status (not be null).status - value to establish (not be null).SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateSetStatusResponse setStatus(@NotNull @NotNull SMSActivateActivation activation, @NotNull @NotNull SMSActivateClientStatus status) throws SMSActivateBaseException
Get number using getNumber method after that the following actions are available:
CANCEL - Cancel activation (if the number did not suit you)
MESSAGE_WAS_SENT - Report that SMS has been sent (optional)
To activate with status READY:
CANCEL - Cancel activation
Immediately after receiving the code:
REQUEST_ONE_MORE_CODE - Request another SMS
FINISH - Confirm SMS code and complete activation
To activate with status RETRY_GET:
FINISH - Confirm SMS code and complete activation
activation - activation to set activation status (not be null).status - value to establish (not be null).SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateSetStatusResponse setStatusWithForwardPhone(int activationId, @NotNull @NotNull SMSActivateClientStatus status, @Nullable @Nullable Long forwardPhone) throws SMSActivateBaseException
Get number using getNumber method after that the following actions are available:
CANCEL - Cancel activation (if the number did not suit you)
SEND_READY_NUMBER - Report that SMS has been sent (optional)
To activate with status READY:
CANCEL - Cancel activation
Immediately after receiving the code:
REQUEST_ONE_MORE_CODE - Request another SMS
FINISH - Confirm SMS code and complete activation
To activate with status RETRY_GET:
FINISH - Confirm SMS code and complete activation
activationId - id to set activation status (not be null).status - value to establish (not be null).forwardPhone - number phone for forward.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetStatusResponse getStatus(int activationId) throws SMSActivateBaseException
activationId - id activation to get activation state.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetStatusResponse getStatus(@NotNull @NotNull SMSActivateActivation activation) throws SMSActivateBaseException
activation - activation to get state.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetFullSmsResponse getFullSms(int activationId) throws SMSActivateBaseException
activationId - id activation.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetFullSmsResponse getFullSms(@NotNull @NotNull SMSActivateActivation activation) throws SMSActivateBaseException
activation - activation to get fullSMS.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetPricesResponse getAllPrices() throws SMSActivateBaseException
SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetPricesResponse getPricesAllServicesByCountryId(int countryId) throws SMSActivateBaseException
countryId - id country.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetPricesResponse getPricesAllCountryByServiceShortName(@NotNull @NotNull String serviceShortName) throws SMSActivateBaseException
serviceShortName - short name service.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetPricesResponse getPricesByCountryIdAndServiceShortName(@Nullable @Nullable Integer countryId, @Nullable @Nullable String serviceShortName) throws SMSActivateBaseException
countryId - id number (default 0).serviceShortName - service for needed price list (default null).
null, null -> all service and all country
countryId, null -> all service in country
null, serviceShortName -> all country by serviceSMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetCountriesResponse getCountries() throws SMSActivateBaseException
SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetQiwiRequisitesResponse getQiwiRequisites() throws SMSActivateBaseException
SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateActivation getAdditionalService(@NotNull @NotNull SMSActivateActivation parentActivation, @NotNull @NotNull String service) throws SMSActivateBaseException
parentActivation - activation to get additional service.service - service short name.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Base type error in this method:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateActivation getAdditionalService(int parentActivationId, @NotNull @NotNull String service) throws SMSActivateBaseException
parentActivationId - id activation.service - service short name.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Base type error in this method:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetRentServicesAndCountriesResponse getRentServicesAndCountries(int countryId, @Nullable @Nullable Set<String> operatorSet, int hours) throws SMSActivateBaseException
countryId - id country (default 0).operatorSet - mobile operators.hours - rent time in hours (default 4).SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter error types in this method:
SMSActivateBaseException@NotNull public @NotNull SMSActivateRentActivation getRentNumber(int countryId, @NotNull @NotNull String service) throws SMSActivateBaseException
countryId - id country.service - service to which you need to get a number.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Base type error in this method:
Wrong parameter type error:
SMSActivateBaseException@NotNull public @NotNull SMSActivateRentActivation getRentNumber(int countryId, @NotNull @NotNull String service, int hours) throws SMSActivateBaseException
countryId - id country.service - service to which you need to get a number.hours - rent time in hours.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Base type error in this method:
Wrong parameter type error:
SMSActivateBaseException@NotNull public @NotNull SMSActivateRentActivation getRentNumber(int countryId, @NotNull @NotNull String service, @Nullable @Nullable String operator, int hours, @Nullable @Nullable String urlWebhook) throws SMSActivateBaseException
countryId - id country (default 0 - Russia).service - service to which you need to get a number.operator - mobile operator.hours - rent time in hours (default MINIMAL_RENT_TIME hour).urlWebhook - url for webhook.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Base type error in this method:
Wrong parameter type error:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetRentStatusResponse getRentStatus(int rentId) throws SMSActivateBaseException
rentId - id received in response when ordering a number.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter type error:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetRentStatusResponse getRentStatus(@NotNull @NotNull SMSActivateRentActivation rentActivation) throws SMSActivateBaseException
rentActivation - to get the list sms.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter type error:
SMSActivateBaseException@NotNull public @NotNull SMSActivateRentStatus setRentStatus(int rentId, @NotNull @NotNull SMSActivateClientRentStatus status) throws SMSActivateBaseException
rentId - id activation for set status rent.status - status rent.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter type error:
SMSActivateBaseException@NotNull public @NotNull SMSActivateRentStatus setRentStatus(SMSActivateRentActivation rentActivation, @NotNull @NotNull SMSActivateClientRentStatus status) throws SMSActivateBaseException
rentActivation - rent to set status.status - status rent.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Wrong parameter type error:
SMSActivateBaseException@NotNull public @NotNull SMSActivateGetRentListResponse getRentList() throws SMSActivateBaseException
SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.
Types errors:
Base type error in this method:
Wrong parameter type error:
SMSActivateBaseException@Nullable public @Nullable String waitSms(int activationId, int maxWaitMinutes) throws SMSActivateBaseException
activationId - activation id to get sms.maxWaitMinutes - minutes to wait.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.SMSActivateBaseException@Nullable public @Nullable String waitSms(@NotNull @NotNull SMSActivateActivation activation, int maxWaitMinutes) throws SMSActivateBaseException
activation - activation to get sms.maxWaitMinutes - minutes to wait.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.SMSActivateBaseException@NotNull public @NotNull List<SMSActivateSMS> waitSmsForRent(@NotNull @NotNull SMSActivateRentActivation rentActivation, int maxWaitMinutes) throws SMSActivateBaseException
rentActivation - rent for rent for which you need to return the list of sms.maxWaitMinutes - how many minutes to wait.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.SMSActivateBaseException@NotNull public @NotNull List<SMSActivateSMS> waitSmsForRent(int rentId, int maxWaitMinutes) throws SMSActivateBaseException
rentId - rent for rent for which you need to return the list of sms.maxWaitMinutes - how many minutes to wait.SMSActivateWrongParameterException - if one of parameters is incorrect.SMSActivateUnknownException - if error type not documented.SMSActivateBaseExceptionCopyright © 2020. All rights reserved.