org.knowm.xchange.bitfinex.v1.dto.trade.BitfinexNewOrderMultiRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-bitfinex Show documentation
Show all versions of xchange-bitfinex Show documentation
Development fork. Not for general use.
package org.knowm.xchange.bitfinex.v1.dto.trade;
import com.fasterxml.jackson.annotation.JsonProperty;
public class BitfinexNewOrderMultiRequest {
@JsonProperty("request")
protected String request;
@JsonProperty("nonce")
protected String nonce;
@JsonProperty("orders")
protected BitfinexNewOrder[] orders;
public BitfinexNewOrderMultiRequest(String nonce, BitfinexNewOrder[] orders) {
this.request = "/v1/order/new/multi";
this.nonce = nonce;
this.orders = orders;
}
public String getRequest() {
return request;
}
public void setRequest(String request) {
this.request = request;
}
public String getNonce() {
return nonce;
}
public void setNonce(String nonce) {
this.nonce = nonce;
}
public BitfinexNewOrder[] getOrders() {
return orders;
}
public void setOrders(BitfinexNewOrder[] orders) {
this.orders = orders;
}
}