org.knowm.xchange.binance.dto.account.AssetDetail Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-binance Show documentation
Show all versions of xchange-binance Show documentation
XChange implementation for the Binance Exchange
package org.knowm.xchange.binance.dto.account;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.math.BigDecimal;
public class AssetDetail {
private final String minWithdrawAmount;
private final boolean depositStatus;
private final BigDecimal withdrawFee;
private final boolean withdrawStatus;
public AssetDetail(
@JsonProperty("minWithdrawAmount") String minWithdrawAmount,
@JsonProperty("depositStatus") boolean depositStatus,
@JsonProperty("withdrawFee") BigDecimal withdrawFee,
@JsonProperty("withdrawStatus") boolean withdrawStatus) {
this.minWithdrawAmount = minWithdrawAmount;
this.depositStatus = depositStatus;
this.withdrawFee = withdrawFee;
this.withdrawStatus = withdrawStatus;
}
public String getMinWithdrawAmount() {
return minWithdrawAmount;
}
public boolean isDepositStatus() {
return depositStatus;
}
public BigDecimal getWithdrawFee() {
return withdrawFee;
}
public boolean isWithdrawStatus() {
return withdrawStatus;
}
@Override
public String toString() {
return "AssetDetail{"
+ "minWithdrawAmount = '"
+ minWithdrawAmount
+ '\''
+ ",depositStatus = '"
+ depositStatus
+ '\''
+ ",withdrawFee = '"
+ withdrawFee
+ '\''
+ ",withdrawStatus = '"
+ withdrawStatus
+ '\''
+ "}";
}
}