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

ru.sms_activate.response.qiwi.SMSActivateGetQiwiRequisitesResponse Maven / Gradle / Ivy

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