ru.dezhik.sms.sender.api.smsru.send.SMSRuSendRequest 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 java.util.Collection;
import java.util.LinkedList;
/**
* @author ilya.dezhin
*/
public class SMSRuSendRequest extends AbstractSMSRuSendRequest {
Collection receivers = new LinkedList();
String text;
@Override
public SMSRuSendHandler getHandler() {
return new SMSRuSendHandler();
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public Collection getReceivers() {
return receivers;
}
public void setReceivers(Collection receivers) {
this.receivers = receivers;
}
public void addReceiver(String receiver) {
this.receivers.add(receiver);
}
}