
ru.sms_activate.response.api_rent.extra.SMSActivateSMS Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SMSActivateApi Show documentation
Show all versions of SMSActivateApi Show documentation
Lib for working with sms activate API.
package ru.sms_activate.response.api_rent.extra;
import org.jetbrains.annotations.NotNull;
public class SMSActivateSMS {
/**
* Phone where the sms came from.
*/
private long phoneFrom;
/**
* Text sms.
*/
private String text;
/**
* SMS arrival date.
*/
private String date;
private SMSActivateSMS() {
}
/**
* Returns the phone from such a sms came.
*
* @return phone from such a sms came.
*/
public long getPhoneFrom() {
return phoneFrom;
}
/**
* Returns the text sms.
*
* @return text sms.
*/
@NotNull
public String getText() {
return text;
}
/**
* Returns the sms arrival date.
*
* @return sms arrival date.
*/
@NotNull
public String getDate() {
return date;
}
@Override
public String toString() {
return "SMSActivateSMS{" +
"phoneFrom=" + phoneFrom +
", text='" + text + '\'' +
", date='" + date + '\'' +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy