com.xeiam.xchange.quoine.dto.account.QuoineAccountInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-quoine Show documentation
Show all versions of xchange-quoine Show documentation
XChange implementation for the Quoine Exchange
The newest version!
package com.xeiam.xchange.quoine.dto.account;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author timmolter
*/
public final class QuoineAccountInfo {
private final BitcoinAccount bitcoinAccount;
private final FiatAccount[] fiatAccounts;
/**
* Constructor
*
* @param bitcoinAccount
* @param fiatAccounts
*/
public QuoineAccountInfo(@JsonProperty("bitcoin_account") BitcoinAccount bitcoinAccount,
@JsonProperty("fiat_accounts") FiatAccount[] fiatAccounts) {
this.bitcoinAccount = bitcoinAccount;
this.fiatAccounts = fiatAccounts;
}
public BitcoinAccount getBitcoinAccount() {
return bitcoinAccount;
}
public FiatAccount[] getFiatAccounts() {
return fiatAccounts;
}
@Override
public String toString() {
return "QuoineAccountInfo [bitcoinAccount=" + bitcoinAccount + ", fiatAccounts=" + Arrays.toString(fiatAccounts) + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy