org.knowm.xchange.okcoin.dto.account.OkCoinFunds Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-okcoin Show documentation
Show all versions of xchange-okcoin Show documentation
XChange implementation for OKCoin
package org.knowm.xchange.okcoin.dto.account;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.math.BigDecimal;
import java.util.Collections;
import java.util.Map;
public class OkCoinFunds {
private final Map free;
private final Map freezed;
private final Map borrow;
public OkCoinFunds(
@JsonProperty("free") final Map free,
@JsonProperty("freezed") final Map freezed,
@JsonProperty(value = "borrow", required = false) final Map borrow) {
this.free = free;
this.freezed = freezed;
this.borrow = borrow == null ? Collections.emptyMap() : borrow;
}
public Map getFree() {
return free;
}
public Map getFreezed() {
return freezed;
}
public Map getBorrow() {
return borrow;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy