
ru.sms_activate.response.api_rent.extra.SMSActivateRentService 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;
import java.math.BigDecimal;
public class SMSActivateRentService {
/**
* Cost number by service (ruble).
*/
private BigDecimal cost;
/**
* Count phone numbers in service.
*/
private int quant;
private SMSActivateRentService() {
}
/**
* Returns the cost number by service (ruble).
*
* @return cost number by service (ruble).
*/
@NotNull
public BigDecimal getCost() {
return cost;
}
/**
* Returns the count phone numbers in service.
*
* @return count phone numbers in service.
*/
public int getCountPhoneNumbers() {
return quant;
}
@Override
public String toString() {
return "SMSActivateRentService{" +
"cost=" + cost +
", quant=" + quant +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy