package org.knowm.xchange.campbx.dto.trade;
import java.util.ArrayList;
import java.util.List;
import org.knowm.xchange.campbx.dto.CampBXOrder;
import org.knowm.xchange.campbx.dto.CampBXResponse;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author Matija Mazi
*/
public final class MyOpenOrders extends CampBXResponse {
@JsonProperty("Buy")
private List<CampBXOrder> buy = new ArrayList<CampBXOrder>();
@JsonProperty("Sell")
private List<CampBXOrder> sell = new ArrayList<CampBXOrder>();
public List<CampBXOrder> getBuy() {
return buy;
}
public void setBuy(List<CampBXOrder> Buy) {
this.buy = Buy;
}
public List<CampBXOrder> getSell() {
return sell;
}
public void setSell(List<CampBXOrder> Sell) {
this.sell = Sell;
}
@Override
public String toString() {
return "MyOpenOrders [buy=" + buy + ", sell=" + sell + ", getSuccess()=" + getSuccess() + ", getInfo()=" + getInfo() + ", getError()="
+ getError() + "]";
}
}