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

org.knowm.xchange.livecoin.dto.account.LivecoinBalance Maven / Gradle / Ivy

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

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

/** @author walec51 */
public class LivecoinBalance {

  private final String type;
  private final String currency;
  private final BigDecimal value;

  public LivecoinBalance(
      @JsonProperty("type") String type,
      @JsonProperty("currency") String currency,
      @JsonProperty("value") BigDecimal value) {
    this.type = type;
    this.currency = currency;
    this.value = value;
  }

  public String getType() {
    return type;
  }

  public String getCurrency() {
    return currency;
  }

  public BigDecimal getValue() {
    return value;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy