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

org.knowm.xchange.bitfinex.v1.dto.trade.BitfinexFee Maven / Gradle / Ivy

There is a newer version: 4.3.19.2
Show newest version
package org.knowm.xchange.bitfinex.v1.dto.trade;

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

public class BitfinexFee {
  private final String pairs;
  private final BigDecimal makerFees;
  private final BigDecimal takerFees;

  public BitfinexFee(
      @JsonProperty("pairs") String pairs,
      @JsonProperty("maker_fees") BigDecimal makerFees,
      @JsonProperty("taker_fees") BigDecimal takerFees) {
    this.pairs = pairs;
    this.makerFees = makerFees;
    this.takerFees = takerFees;
  }

  public String getPairs() {
    return pairs;
  }

  public BigDecimal getMakerFees() {
    return makerFees;
  }

  public BigDecimal getTakerFees() {
    return takerFees;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy