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

org.knowm.xchange.independentreserve.dto.trade.IndependentReserveSynchDigitalCurrencyDepositAddressWithBlockchainResponse Maven / Gradle / Ivy

There is a newer version: 5.2.1
Show newest version
package org.knowm.xchange.independentreserve.dto.trade;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Date;
import org.knowm.xchange.independentreserve.util.Util;

public class IndependentReserveSynchDigitalCurrencyDepositAddressWithBlockchainResponse {
  /** Digital currency deposit address to be updated */
  private final String depositAddress;
  /** UTC timestamp of when this address was last checked against Blockchain */
  private final Date lastChecked;
  /** UTC timestamp of when this address is scheduled to next be checked against Blockchain */
  private final Date nextUpdate;

  public IndependentReserveSynchDigitalCurrencyDepositAddressWithBlockchainResponse(
      @JsonProperty("DepositAddress") String depositAddress,
      @JsonProperty("LastCheckedTimestampUtc") String lastChecked,
      @JsonProperty("NextUpdateTimestampUtc") String nextUpdate)
      throws com.fasterxml.jackson.databind.exc.InvalidFormatException {
    this.depositAddress = depositAddress;
    this.lastChecked = Util.toDate(lastChecked);
    this.nextUpdate = Util.toDate(nextUpdate);
  }

  public String getDepositAddress() {
    return depositAddress;
  }

  public Date getLastChecked() {
    return lastChecked;
  }

  public Date getNextUpdate() {
    return nextUpdate;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy