ru.dezhik.sms.sender.api.smsru.send.AbstractSMSRuSendRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sms-sender Show documentation
Show all versions of sms-sender Show documentation
Library for sending SMS via sms.ru gateway
package ru.dezhik.sms.sender.api.smsru.send;
import ru.dezhik.sms.sender.SenderServiceConfiguration;
import ru.dezhik.sms.sender.api.ApiRequest;
import ru.dezhik.sms.sender.api.smsru.AbstractSMSRuApiHandler;
/**
* @author ilya.dezhin
*/
public abstract class AbstractSMSRuSendRequest extends ApiRequest {
/**
* If is not present, than {@link SenderServiceConfiguration#getFromName()}}
* or phone number you registered with would be used.
*/
String from;
Long postponedSendingTimeMs;
boolean testSendingEnabled;
boolean translitEnabled;
public String getFrom() {
return from;
}
public void setFrom(String from) {
this.from = from;
}
public Long getPostponedSendingTimeMs() {
return postponedSendingTimeMs;
}
public void setPostponedSendingTimeMs(Long postponedSendingTimeMs) {
this.postponedSendingTimeMs = postponedSendingTimeMs;
}
public boolean isTestSendingEnabled() {
return testSendingEnabled;
}
public void setTestSendingEnabled(boolean testSendingEnabled) {
this.testSendingEnabled = testSendingEnabled;
}
public boolean isTranslitEnabled() {
return translitEnabled;
}
public void setTranslitEnabled(boolean translitEnabled) {
this.translitEnabled = translitEnabled;
}
}