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

com.xeiam.xchange.kraken.dto.account.KrakenTradeVolume Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
package com.xeiam.xchange.kraken.dto.account;

import java.math.BigDecimal;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonProperty;

public class KrakenTradeVolume {

  private final String currency;
  private final BigDecimal volume;
  private final Map fees;

  /**
   * Constructor
   * 
   * @param currency
   * @param volume
   * @param fees
   */
  public KrakenTradeVolume(@JsonProperty("currency") String currency, @JsonProperty("volume") BigDecimal volume,
      @JsonProperty("fees") Map fees) {

    this.currency = currency;
    this.volume = volume;
    this.fees = fees;
  }

  public String getCurrency() {

    return currency;
  }

  public BigDecimal getVolume() {

    return volume;
  }

  public Map getFees() {

    return fees;
  }

  @Override
  public String toString() {

    return "KrakenTradeVolume [currency=" + currency + ", volume=" + volume + ", fees=" + fees + "]";
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy