org.knowm.xchange.huobi.dto.account.HuobiBalanceSum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-huobi Show documentation
Show all versions of xchange-huobi Show documentation
Development fork. Not for general use.
package org.knowm.xchange.huobi.dto.account;
import java.math.BigDecimal;
public class HuobiBalanceSum {
private BigDecimal available;
private BigDecimal frozen;
public BigDecimal getAvailable() {
return available;
}
public BigDecimal getFrozen() {
return frozen;
}
public BigDecimal getTotal() {
return available.add(frozen);
}
public void setAvailable(BigDecimal available) {
this.available = available;
}
public void setFrozen(BigDecimal frozen) {
this.frozen = frozen;
}
}