
com.xeiam.xchange.ripple.dto.marketdata.RippleOrderBook 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.marketdata;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.xeiam.xchange.ripple.dto.RippleCommon;
public final class RippleOrderBook extends RippleCommon {
@JsonProperty("order_book")
private String orderBook;
@JsonProperty("bids")
private List bids = new ArrayList();
@JsonProperty("asks")
private List asks = new ArrayList();
public String getOrderBook() {
return orderBook;
}
public void setOrderBook(final String orderBook) {
this.orderBook = orderBook;
}
public List getBids() {
return bids;
}
public void setBids(final List bids) {
this.bids = bids;
}
public List getAsks() {
return asks;
}
public void setAsks(final List asks) {
this.asks = asks;
}
@Override
public String toString() {
return String.format("OrderBook [ledger=%s, validated=%b, success=%b, order_book=%s, bids=%s, asks=%s]", ledger, validated, success, orderBook,
bids, asks);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy