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

org.knowm.xchange.kraken.dto.account.KrakenDepositMethods 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 KrakenDepositMethods {
  /*
   * method = name of deposit method limit = maximum net amount that can be deposited right now fee = amount of fees that will be paid
   * address-setup-fee = whether or not method has an address setup fee (optional)
   */

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

  public KrakenDepositMethods(@JsonProperty("method") String method, @JsonProperty("limit") BigDecimal limit, @JsonProperty("fee") BigDecimal fee,
      @JsonProperty("address-setup-fee") BigDecimal addressSetupFee) {
    super();
    this.method = method;
    this.limit = limit;
    this.fee = fee;
    this.addressSetupFee = addressSetupFee;
  }

  public String getMethod() {
    return method;
  }

  public BigDecimal getLimit() {
    return limit;
  }

  public BigDecimal getFee() {
    return fee;
  }

  public BigDecimal getAddressSetupFee() {
    return addressSetupFee;
  }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy