
ru.sms_activate.response.qiwi.SMSActivateGetQiwiRequisitesResponse 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.qiwi;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import ru.sms_activate.error.SMSActivateUnknownException;
public class SMSActivateGetQiwiRequisitesResponse {
/**
* Status qiwi wallet.
*/
private String status;
/**
* Comment indicated when paying.
*/
private String comment;
/**
* Number qiwi wallet.
*/
private long wallet;
/**
* Date by which the details are relevant.
*/
private String upToDate;
private SMSActivateGetQiwiRequisitesResponse() {
}
/**
* Returns the status qiwi wallet.
*
* @return status qiwi wallet.
* @throws SMSActivateUnknownException if status not be documented.
*/
@NotNull
public SMSActivateQiwiStatus getStatus() throws SMSActivateUnknownException {
return SMSActivateQiwiStatus.getStatusByName(this.status);
}
/**
* Returns the comment indicated when paying.
*
* @return comment indicated when paying.
*/
@Nullable
public String getComment() {
return comment;
}
/**
* Returns the wallet number.
*
* @return wallet number.
*/
public long getWallet() {
return wallet;
}
/**
* Returns the date by which the details are relevant.
*
* @return date by which the details are relevant.
*/
@Nullable
public String getUpToDate() {
return upToDate;
}
@Override
public String toString() {
return "SMSActivateGetQiwiRequisitesResponse{" +
"status='" + status + '\'' +
", comment='" + comment + '\'' +
", wallet=" + wallet +
", upToDate='" + upToDate + '\'' +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy