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

com.xeiam.xchange.campbx.dto.marketdata.CampBXOrderBook Maven / Gradle / Ivy

The newest version!
package com.xeiam.xchange.campbx.dto.marketdata;

import java.math.BigDecimal;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.xeiam.xchange.campbx.dto.CampBXResponse;

/**
 * @author Matija Mazi
 */
public final class CampBXOrderBook extends CampBXResponse {

  @JsonProperty("Bids")
  private List> bids;
  @JsonProperty("Asks")
  private List> asks;

  public List> getBids() {

    return bids;
  }

  public void setBids(List> bids) {

    this.bids = bids;
  }

  public List> getAsks() {

    return asks;
  }

  public void setAsks(List> asks) {

    this.asks = asks;
  }

  @Override
  public String toString() {

    return "CampBXOrderBook [bids=" + bids + ", asks=" + asks + ", getSuccess()=" + getSuccess() + ", getInfo()=" + getInfo() + ", getError()="
        + getError() + "]";
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy