All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.xeiam.xchange.quoine.dto.account.QuoineAccountInfo Maven / Gradle / Ivy

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