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

org.knowm.xchange.gateio.dto.account.GateioDepositsWithdrawals Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import org.knowm.xchange.gateio.dto.GateioBaseResponse;

public class GateioDepositsWithdrawals extends GateioBaseResponse {

  private final List deposits;
  private final List withdraws;

  public GateioDepositsWithdrawals(
      @JsonProperty("result") boolean result,
      @JsonProperty("deposits") List deposits,
      @JsonProperty("withdraws") List withdraws,
      @JsonProperty("message") final String message) {
    super(result, message);
    this.deposits = deposits;
    this.withdraws = withdraws;
  }

  public List getDeposits() {
    return deposits;
  }

  public List getWithdraws() {
    return withdraws;
  }

  @Override
  public String toString() {
    return "GateioDepositsWithdrawals [deposits=" + deposits + ", withdraws=" + withdraws + "]";
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy