All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.dezhik.sms.sender.api.smsru.send.AbstractSMSRuSendRequest Maven / Gradle / Ivy

There is a newer version: 0.1.3
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy