public class DefaultSendSMSService extends java.lang.Object implements SendSMSService
| Modifier and Type | Field and Description |
|---|---|
static long |
SEND_TIMEOUT |
| Constructor and Description |
|---|
DefaultSendSMSService() |
| Modifier and Type | Method and Description |
|---|---|
protected MessageHelper |
getMessageHelper() |
protected TextService |
getTextService() |
boolean |
sendLink(java.lang.String countryIsoCode,
java.lang.String phoneNumber,
java.lang.String subject,
java.lang.String url)
Send link.
|
boolean |
sendSms(java.lang.String countryIsoCode,
java.lang.String phoneNumber,
java.lang.String text)
Send sms.
|
void |
setMessageHelper(MessageHelper messageHelper) |
void |
setTextService(TextService textService) |
public static final long SEND_TIMEOUT
public boolean sendLink(java.lang.String countryIsoCode,
java.lang.String phoneNumber,
java.lang.String subject,
java.lang.String url)
SendSMSServicesendLink in interface SendSMSServicecountryIsoCode - the country iso codephoneNumber - the phone numbersubject - the subjecturl - the urlSendSMSService.sendLink(java.lang.String, java.lang.String, java.lang.String,
java.lang.String)public boolean sendSms(java.lang.String countryIsoCode,
java.lang.String phoneNumber,
java.lang.String text)
SendSMSServicesendSms in interface SendSMSServicecountryIsoCode - the country iso codephoneNumber - the phone numbertext - the textSendSMSService.sendSms(java.lang.String, java.lang.String, java.lang.String)public void setTextService(TextService textService)
public void setMessageHelper(MessageHelper messageHelper)
protected TextService getTextService()
protected MessageHelper getMessageHelper()
Copyright © 2018 SAP SE. All Rights Reserved.