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

org.knowm.xchange.binance.dto.account.AssetDetail Maven / Gradle / Ivy

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

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

public class AssetDetail {

  private final String minWithdrawAmount;
  private final boolean depositStatus;
  private final BigDecimal withdrawFee;
  private final boolean withdrawStatus;

  public AssetDetail(
      @JsonProperty("minWithdrawAmount") String minWithdrawAmount,
      @JsonProperty("depositStatus") boolean depositStatus,
      @JsonProperty("withdrawFee") BigDecimal withdrawFee,
      @JsonProperty("withdrawStatus") boolean withdrawStatus) {
    this.minWithdrawAmount = minWithdrawAmount;
    this.depositStatus = depositStatus;
    this.withdrawFee = withdrawFee;
    this.withdrawStatus = withdrawStatus;
  }

  public String getMinWithdrawAmount() {
    return minWithdrawAmount;
  }

  public boolean isDepositStatus() {
    return depositStatus;
  }

  public BigDecimal getWithdrawFee() {
    return withdrawFee;
  }

  public boolean isWithdrawStatus() {
    return withdrawStatus;
  }

  @Override
  public String toString() {
    return "AssetDetail{"
        + "minWithdrawAmount = '"
        + minWithdrawAmount
        + '\''
        + ",depositStatus = '"
        + depositStatus
        + '\''
        + ",withdrawFee = '"
        + withdrawFee
        + '\''
        + ",withdrawStatus = '"
        + withdrawStatus
        + '\''
        + "}";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy