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

org.knowm.xchange.therock.dto.account.TheRockBalance Maven / Gradle / Ivy

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

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import java.math.BigDecimal;

@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class TheRockBalance {

  private String currency;

  private BigDecimal balance;

  private BigDecimal tradingBalance;

  public String getCurrency() {
    return currency;
  }

  public BigDecimal getBalance() {
    return balance;
  }

  public BigDecimal getTradingBalance() {
    return tradingBalance;
  }

  @Override
  public String toString() {
    return String.format(
        "TheRockBalance{currency='%s', balance=%s, trandingBalance=%s}",
        currency, balance, tradingBalance);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy