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

io.github.atkawa7.kannel.sms.Dlr Maven / Gradle / Ivy

package io.github.atkawa7.kannel.sms;

import java.util.Map;

/**
 * A delivery report (DLR).
 *
 * @author Garth Patil {@literal }
 */
public class Dlr
        extends Msg {

    /**
     * %d
     * the delivery report value
     */
    private Integer dlrValue;
    /**
     * %A
     * the delivery report SMSC reply, if any
     */
    private String dlrReply;
    /**
     * %F
     * the foreign (smsc-provided) message ID. Only relevant on DLR url's.
     */
    private String foreignMessageId;

    public static Dlr buildFromTemplate(UrlTemplate u, Map m) {
        return u.parseDlr(m);
    }

    public Integer getDlrValue() {
        return this.dlrValue;
    }

    public void setDlrValue(Integer dlrValue) {
        this.dlrValue = dlrValue;
    }

    public String getDlrReply() {
        return this.dlrReply;
    }

    public void setDlrReply(String dlrReply) {
        this.dlrReply = dlrReply;
    }

    public String getForeignMessageId() {
        return this.foreignMessageId;
    }

    public void setForeignMessageId(String foreignMessageId) {
        this.foreignMessageId = foreignMessageId;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy