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

ru.sms_activate.response.api_rent.extra.SMSActivateRentService Maven / Gradle / Ivy

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