![JAR search and dependency download from the Maven repository](/logo.png)
org.oxerr.peatio.rest.dto.Depth Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of peatio-client-rest Show documentation
Show all versions of peatio-client-rest Show documentation
Client for <a href="http://peat.io">Peatio</a> RESTful API.
The newest version!
package org.oxerr.peatio.rest.dto;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
public class Depth extends BaseObject {
private final Date timestamp;
private final BigDecimal[][] asks;
private final BigDecimal[][] bids;
public Depth(
@JsonProperty("timestamp")
@JsonDeserialize(using = UnixTimestampDeserializer.class) Date timestamp,
@JsonProperty("asks") BigDecimal[][] asks,
@JsonProperty("bids") BigDecimal[][] bids) {
this.timestamp = timestamp;
this.asks = asks;
this.bids = bids;
}
public Date getTimestamp() {
return timestamp;
}
public BigDecimal[][] getAsks() {
return asks;
}
public BigDecimal[][] getBids() {
return bids;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy