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

org.knowm.xchange.kraken.dto.account.KrakenTradeVolume Maven / Gradle / Ivy

package org.knowm.xchange.kraken.dto.account;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.math.BigDecimal;
import java.util.Map;

public class KrakenTradeVolume {

  private final String currency;
  private final BigDecimal volume;
  private final Map feesTaker;
  private final Map feesMaker;

  public KrakenTradeVolume(
      @JsonProperty("currency") String currency,
      @JsonProperty("volume") BigDecimal volume,
      @JsonProperty("fees") Map feesTaker,
      @JsonProperty("fees_maker") Map feesMaker) {

    this.currency = currency;
    this.volume = volume;
    this.feesTaker = feesTaker;
    this.feesMaker = feesMaker;
  }

  public String getCurrency() {

    return currency;
  }

  public BigDecimal getVolume() {

    return volume;
  }

  public Map getFees() {

    return feesTaker;
  }

  public Map getFeesMaker() {

    return feesMaker;
  }

  @Override
  public String toString() {

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy