com.xeiam.xchange.okcoin.dto.account.OkCoinUserInfo 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 com.xeiam.xchange.okcoin.dto.account;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.xeiam.xchange.okcoin.dto.trade.OkCoinErrorResult;
public class OkCoinUserInfo extends OkCoinErrorResult {
private final OkCoinInfo info;
public OkCoinUserInfo(@JsonProperty("result") final boolean result, @JsonProperty("error_code") final int errorCode,
@JsonProperty("info") OkCoinInfo info) {
super(result, errorCode);
this.info = info;
}
public OkCoinInfo getInfo() {
return info;
}
}