org.knowm.xchange.cryptonit2.dto.account.DepositTransaction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-cryptonit Show documentation
Show all versions of xchange-cryptonit Show documentation
XChange implementation for the Cryptonit Exchange
package org.knowm.xchange.cryptonit2.dto.account;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.math.BigDecimal;
public class DepositTransaction {
private BigDecimal amount;
private Integer confirmations;
private String address;
public DepositTransaction(
@JsonProperty("amount") BigDecimal amount,
@JsonProperty("confirmations") Integer confirmations,
@JsonProperty("address") String address) {
this.amount = amount;
this.confirmations = confirmations;
this.address = address;
}
public BigDecimal getAmount() {
return amount;
}
public Integer getConfirmations() {
return confirmations;
}
public String getAddress() {
return address;
}
@Override
public String toString() {
return String.format(
"DepositTransaction{amount=%s, confirmations=%d, address='%s'}",
amount, confirmations, address);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy