
com.xeiam.xchange.ripple.dto.account.RippleBalance Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-ripple Show documentation
Show all versions of xchange-ripple Show documentation
XChange implementation for the Ripple Network
The newest version!
package com.xeiam.xchange.ripple.dto.account;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonPropertyOrder({ "value", "currency", "counterparty" })
public final class RippleBalance {
@JsonProperty("value")
private BigDecimal value;
@JsonProperty("currency")
private String currency;
@JsonProperty("counterparty")
private String counterparty;
public BigDecimal getValue() {
return value;
}
public void setValue(final BigDecimal value) {
this.value = value;
}
public String getCurrency() {
return currency;
}
public void setCurrency(final String value) {
currency = value;
}
public String getCounterparty() {
return counterparty;
}
public void setCounterparty(final String value) {
counterparty = value;
}
@Override
public String toString() {
return String.format("%s [currency=%s, counterparty=%s, value=%s]", getClass().getSimpleName(), currency, counterparty, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy