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

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

There is a newer version: 4.2.3
Show newest version
package org.knowm.xchange.kraken.dto.account;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonProperty;

public class WithdrawInfo {
  /*
   * method = name of the withdrawal method that will be used limit = maximum net amount that can be withdrawn right now fee = amount of fees that
   * will be paid
   */

  private final String method;
  private final BigDecimal limit;
  private final String fee;

  public WithdrawInfo(@JsonProperty("method") String method, @JsonProperty("limit") BigDecimal limit, @JsonProperty("fee") String fee) {
    super();
    this.method = method;
    this.limit = limit;
    this.fee = fee;
  }

  public String getMethod() {
    return method;
  }

  public BigDecimal getLimit() {
    return limit;
  }

  public String getFee() {
    return fee;
  }

  @Override
  public String toString() {
    return "WithdrawInfo [method=" + method + ", limit=" + limit + ", fee=" + fee + "]";
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy